Theory of Computing Systems

, Volume 59, Issue 4, pp 683–699 | Cite as

Stable Marriage with General Preferences

  • Linda Farczadi
  • Konstantinos Georgiou
  • Jochen Könemann


We propose a generalization of the classical stable marriage problem. In our model, the preferences on one side of the partition are given in terms of arbitrary binary relations, which need not be transitive nor acyclic. This generalization is practically well-motivated, and as we show, encompasses the well studied hard variant of stable marriage where preferences are allowed to have ties and to be incomplete. As a result, we prove that deciding the existence of a stable matching in our model is NP-complete. Complementing this negative result we present a polynomial-time algorithm for the above decision problem in a significant class of instances where the preferences are asymmetric. We also present a linear programming formulation whose feasibility fully characterizes the existence of stable matchings in this special case. Finally, we use our model to study a long standing open problem regarding the existence of cyclic 3D stable matchings. In particular, we prove that the problem of deciding whether a fixed 2D perfect matching can be extended to a 3D stable matching is NP-complete, showing this way that a natural attempt to resolve the existence (or not) of 3D stable matchings is bound to fail.


Stable marriage Cyclic stable marriage Matching NP-completeness 


  1. 1.
    Abraham, D.: Algorithmics of Two-Sided Matching Problems. M.Sc. Thesis, University of Glasgow (2003)Google Scholar
  2. 2.
    Birnbaum, M., Schmidt, U.: An experimental investigation of violations of transitivity in choice under uncertainty. J Risk Uncertain 37(1), 77–91 (2008)CrossRefMATHGoogle Scholar
  3. 3.
    Biró, P., McDermid, E.: Three-sided stable matchings with cyclic preferences. Algorithmica 58(1), 5–18 (2010)MathSciNetCrossRefMATHGoogle Scholar
  4. 4.
    Brams, S.J., Gehrlein, W.V., Roberts, F.S.: The mathematics of preference. Choice and Order. Springer (2009)Google Scholar
  5. 5.
    Eriksson, K., Sjöstrand, J., Strimling, P.: Three-dimensional stable matching with cyclic preferences. Math. Soc. Sci. 52(1), 77–87 (2006)MathSciNetCrossRefMATHGoogle Scholar
  6. 6.
    Farczadi, L., Georgiou, K., Könemann, J.: Stable marriage with general preferences. In: Algorithmic Game Theory, pp 25–36. Springer (2014)Google Scholar
  7. 7.
    Farooq, R., Fleiner, T., Tamura, A.: Matching with partially ordered contracts. Japan Journal of industrial and applied mathematics, pp 401–417. Springer (2012)Google Scholar
  8. 8.
    Fishburn, P.C.: Nontransitive preferences in decision theory. J Risk Uncertain 4(2), 113–134 (1991)CrossRefMATHGoogle Scholar
  9. 9.
    Fishburn, P.C.: Preference structures and their numerical representations. Theor. Comput. Sci. 217(2), 359–383 (1999)MathSciNetCrossRefMATHGoogle Scholar
  10. 10.
    Gale, D., Shapley, L.S.: College admissions and the stability of marriage. Amer. Math. Mon., 9–15 (1962)Google Scholar
  11. 11.
    Gale, D., Sotomayor, M.: Some remarks on the stable matching problem. Discret. Appl. Math. 11(3), 223–232 (1985)MathSciNetCrossRefMATHGoogle Scholar
  12. 12.
    Gusfield, D., Irving, R.W.: The stable marriage problem: structure and algorithms, vol. 54. MIT Press (1989)Google Scholar
  13. 13.
    Halldórsson, M.M., Iwama, K., Miyazaki, S., Yanagisawa, H.: Improved approximation results for the stable marriage problem. TALG 3(3), 30 (2007)MathSciNetCrossRefMATHGoogle Scholar
  14. 14.
    Huang, C.C.: Circular stable matching and 3-way kidney transplant. Algorithmica 58(1), 137–150 (2010)MathSciNetCrossRefMATHGoogle Scholar
  15. 15.
    Irving, R.W.: Stable marriage and indifference. Discret. Appl. Math. 48(3), 261–272 (1994)MathSciNetCrossRefMATHGoogle Scholar
  16. 16.
    Irving, R.W., Manlove, D.F., Scott, S.: Strong stability in the hospitals/residents problem. In: STACS 2003, pp 439–450. Springer (2003)Google Scholar
  17. 17.
    Iwama, K., Miyazaki, S., Yanagisawa, H.: A 25/17-approximation algorithm for the stable marriage problem with one-sided ties. Algorithmica 68(3), 758–775 (2014)MathSciNetCrossRefMATHGoogle Scholar
  18. 18.
    Knuth, D.: Stable marriage and its relation to other combinatorial problems: An introduction to the mathematical analysis of algorithms. American Mathematics Society (1997)Google Scholar
  19. 19.
    Manlove, D.F.: The structure of stable marriage with indifference. Discret. Appl. Math. 122(1), 167–181 (2002)MathSciNetCrossRefMATHGoogle Scholar
  20. 20.
    Manlove, D.F.: Algorithmics of matching under preferences. World Science Publishing (2013)Google Scholar
  21. 21.
    Manlove, D.F., Irving, R.W., Iwama, K., Miyazaki, S., Morita, Y.: Hard variants of stable marriage. Theor. Comput. Sci. 276(1), 261–279 (2002)MathSciNetCrossRefMATHGoogle Scholar
  22. 22.
    May, K.O.: Intransitivity, utility, and the aggregation of preference patterns. Econom. J. Econom. Soc., 1–13 (1954)Google Scholar
  23. 23.
    McDermid, E.: A 3/2-Approximation algorithm for general stable marriage. In: Automata, Languages and Programming, pp 689–700. Springer (2009)Google Scholar
  24. 24.
    Roth, A.E., Sotomayor, M.: Two-sided matching: A study in game- theoretic modeling and analysis. No. 18 Cambridge University Press (1992)Google Scholar
  25. 25.
    Roth, A.E., Sotomayor, M.: Two-sided matching: A study in game- theoretic modeling and analysis. No. 18 Cambridge University Press (1992)Google Scholar
  26. 26.
    Vande Vate, J.H.: Linear programming brings marital bliss. Oper. Res. Lett. 8(3), 147–153 (1989)MathSciNetCrossRefMATHGoogle Scholar
  27. 27.
    Yanagisawa, H.: Approximation Algorithms for Stable Marriage Problems. Ph.D. Thesis. Citeseer (2007)Google Scholar

Copyright information

© Springer Science+Business Media New York 2016

Authors and Affiliations

  • Linda Farczadi
    • 1
  • Konstantinos Georgiou
    • 2
  • Jochen Könemann
    • 3
  1. 1.École Polytechnique Fédérale de LausanneLausanneSwitzerland
  2. 2.Ryerson UniversityTorontoCanada
  3. 3.University of WaterlooWaterlooCanada

Personalised recommendations