Skip to main content
Log in

Keeping partners together: algorithmic results for the hospitals/residents problem with couples

  • Published:
Journal of Combinatorial Optimization Aims and scope Submit manuscript

Abstract

The Hospitals/Residents problem with Couples (HRC) is a generalisation of the classical Hospitals/Residents problem (HR) that is important in practical applications because it models the case where couples submit joint preference lists over pairs of hospitals (h i ,h j ). We consider a natural restriction of HRC in which the members of a couple have individual preference lists over hospitals, and the joint preference list of the couple is consistent with these individual lists in a precise sense. We give an appropriate stability definition and show that, in this context, the problem of deciding whether a stable matching exists is NP-complete, even if each resident’s preference list has length at most 3 and each hospital has capacity at most 2. However, with respect to classical (Gale-Shapley) stability, we give a linear-time algorithm to find a stable matching or report that none exists, regardless of the preference list lengths or the hospital capacities. Finally, for an alternative formulation of our restriction of HRC, which we call the Hospitals/Residents problem with Sizes (HRS), we give a linear-time algorithm that always finds a stable matching for the case that hospital preference lists are of length at most 2, and where hospital capacities can be arbitrary.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • Berman P, Karpinski M, Scott AD (2003) Approximation hardness of short symmetric instances of MAX-3SAT. Electronic Colloquium on Computational Complexity Report, number 49

  • Cantala D (2004) Matching markets: the particular case of couples. Econ Bull 3(45):1–11

    MathSciNet  Google Scholar 

  • Cheng C, McDermid E, Suzuki I (2008) A unified approach to finding good stable matchings in the hospitals/residents setting. Theor Comput Sci 400(1–3):84–99

    Article  MATH  MathSciNet  Google Scholar 

  • Dean BC, Goemans MX, Immorlica N (2006) The unsplittable stable marriage problem. In: Proceedings of IFIP TCS 2006: the fourth IFIP international conference on theoretical computer science. IFIP international federation for information processing, vol 209. Springer, Berlin, pp 65–75

    Chapter  Google Scholar 

  • Dutta B, Massó J (1997) Stability of matchings when individuals have preferences over colleagues. J Econ Theory 75:464–475

    Article  MATH  Google Scholar 

  • Gale D, Shapley LS (1962) College admissions and the stability of marriage. Am Math Mon 69:9–15

    Article  MATH  MathSciNet  Google Scholar 

  • Gale D, Sotomayor M (1985) Some remarks on the stable matching problem. Discrete Appl Math 11:223–232

    Article  MATH  MathSciNet  Google Scholar 

  • Gusfield D (1987) Three fast algorithms for four problems in stable marriage. SIAM J Comput 16(1):111–128

    Article  MATH  MathSciNet  Google Scholar 

  • Gusfield D, Irving RW (1989) The stable marriage problem: structure and algorithms. MIT Press, Cambridge

    MATH  Google Scholar 

  • Irving RW (1998) Matching medical students to pairs of hospitals: a new variation on a well-known theme. In: Proceedings of ESA ’98: the sixth European symposium on algorithms. Lecture notes in computer science, vol 1461. Springer, Berlin, pp 381–392

    Google Scholar 

  • Irving RW, Manlove DF, O’Malley G (2009) Stable marriage with ties and bounded length preference lists. J Discrete Algorithms 7(2):213–219

    Article  MATH  MathSciNet  Google Scholar 

  • Klaus B, Klijn F (2005) Stable matchings and preferences of couples. J Econ Theory 121:75–106

    Article  MATH  MathSciNet  Google Scholar 

  • Klaus B, Klijn F (2007) Paths to stability for matching markets with couples. Games Econ Behav 58:154–171

    Article  MATH  MathSciNet  Google Scholar 

  • Klaus B, Klijn F, Nakamura T (2009) Corrigendum: stable matchings and preferences of couples. J Econ Theory. doi:10.1016/j.jet.2009.06.001

    Google Scholar 

  • Knuth DE (1976) Mariages stables. Les Presses de L’Université de Montréal, Montreal

    MATH  Google Scholar 

  • McVitie D, Wilson LB (1971) The stable marriage problem. Commun ACM 14:486–490

    Article  MathSciNet  Google Scholar 

  • Ronn E (1990) NP-complete stable matching problems. J Algorithms 11:285–304

    Article  MATH  MathSciNet  Google Scholar 

  • Roth AE (1984) The evolution of the labor market for medical interns and residents: a case study in game theory. J Polit Econ 92(6):991–1016

    Article  Google Scholar 

  • Roth AE (1986) On the allocation of residents to rural hospitals: a general property of two-sided matching markets. Econometrica 54:425–427

    Article  MathSciNet  Google Scholar 

  • Roth AE, Sotomayor MAO (1990) Two-sided matching: a study in game-theoretic modeling and analysis. Econometric society monographs, vol 18. Cambridge University Press, Cambridge

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Eric J. McDermid.

Additional information

Supported by Engineering and Physical Sciences Research Council grant EP/E011993/1.

Rights and permissions

Reprints and permissions

About this article

Cite this article

McDermid, E.J., Manlove, D.F. Keeping partners together: algorithmic results for the hospitals/residents problem with couples. J Comb Optim 19, 279–303 (2010). https://doi.org/10.1007/s10878-009-9257-2

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10878-009-9257-2

Keywords

Navigation