Adapting stable matchings to forced and forbidden pairs

Niclas Boehmer, Klaus Heeger

Research output: Contribution to journalArticlepeer-review

Abstract

We introduce the problem of adapting a stable matching to forced and forbidden pairs. Given a stable matching M1, a set Q of forced pairs, and a set P of forbidden pairs, we want to find a stable matching that includes all pairs from Q, no pair from P, and is as close as possible to M1. We study this problem in four classic stable matching settings: STABLE ROOMMATES (WITH TIES) and STABLE MARRIAGE (WITH TIES). Our main contribution is a polynomial-time algorithm, based on the theory of rotations, for adapting STABLE ROOMMATES matchings to forced pairs. In contrast, we show that the same problem for forbidden pairs is NP-hard. However, our polynomial-time algorithm for forced pairs can be extended to a fixed-parameter tractable algorithm with respect to the number of forbidden pairs. Moreover, we study the setting where preferences contain ties: Some of our algorithmic results can be extended while other problems become intractable.

Original languageEnglish
Article number103579
JournalJournal of Computer and System Sciences
Volume147
DOIs
StatePublished - 1 Feb 2025
Externally publishedYes

Keywords

  • FPT
  • Forced and forbidden pairs
  • Incremental algorithms
  • NP-hardness
  • Polynomial-time algorithm
  • Rotations
  • Stable Marriage
  • Stable Roommates
  • W[1]-hardness

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science
  • Computer Networks and Communications
  • Computational Theory and Mathematics
  • Applied Mathematics

Fingerprint

Dive into the research topics of 'Adapting stable matchings to forced and forbidden pairs'. Together they form a unique fingerprint.

Cite this