English

Adapting Stable Matchings to Forced and Forbidden Pairs

Computer Science and Game Theory 2022-11-23 v2 Discrete Mathematics Data Structures and Algorithms

Abstract

We introduce the problem of adapting a stable matching to forced and forbidden pairs. Specifically, given a stable matching M1M_1, a set QQ of forced pairs, and a set PP of forbidden pairs, we want to find a stable matching that includes all pairs from QQ, no pair from PP, and that is as close as possible to M1M_1. We study this problem in four classical stable matching settings: Stable Roommates (with Ties) and Stable Marriage (with Ties). As our main contribution, we employ the theory of rotations for Stable Roommates to develop a polynomial-time algorithm for adapting Stable Roommates matchings to forced pairs. In contrast to this, we show that the same problem for forbidden pairs is NP-hard. However, our polynomial-time algorithm for the case of only forced pairs can be extended to a fixed-parameter tractable algorithm with respect to the number of forbidden pairs when both forced and forbidden pairs are present. Moreover, we also study the setting where preferences contain ties. Here, depending on the chosen stability criterion, we show either that our algorithmic results can be extended or that formerly tractable problems become intractable.

Keywords

Cite

@article{arxiv.2204.10040,
  title  = {Adapting Stable Matchings to Forced and Forbidden Pairs},
  author = {Niclas Boehmer and Klaus Heeger},
  journal= {arXiv preprint arXiv:2204.10040},
  year   = {2022}
}