Skip to main content
Log in

Jointly stable matchings

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

Abstract

In the stable marriage problem, we are given a set of men, a set of women, and each person’s preference list. Our task is to find a stable matching, that is, a matching admitting no unmatched (man, woman)-pair each of which improves the situation by being matched together. It is known that any instance admits at least one stable matching. In this paper, we consider a natural extension where \(k (\ge 2)\) sets of preference lists \(L_{i}\) (\(1 \le i \le k\)) over the same set of people are given, and the aim is to find a jointly stable matching, a matching that is stable with respect to all \(L_{i}\). We show that the decision problem is NP-complete for the following two restricted cases; (1) \(k=2\) and each person’s preference list is of length at most four, and (2) \(k=4\), each man’s preference list is of length at most three, and each woman’s preference list is of length at most four. On the other hand, we show that it is solvable in linear time for any k if each man’s preference list is of length at most two (women’s lists can be of unbounded length). We also show that if each woman’s preference lists are same in all \(L_{i}\), then the problem can be solved in linear time.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

References

  • Aspvall B, Plass MF, Tarjan RE (1979) A linear-time algorithm for testing the truth of certain quantified Boolean formulas. Inf Process Lett 8(3):121–123

    Article  MathSciNet  MATH  Google Scholar 

  • Aziz H, Biro P, Gaspers S, de Haan R, Mattei N, Rastegari B (2016) Stable matching with uncertain linear preferences. In: Proceedings of SAGT 2016. Lecture notes in computer science, vol 9928, pp 195–206

  • Chen J, Niedermeier R, Skowron P (2018) Stable marriage with multi-modal preferences. In: Proceedings of EC, pp 269–286

  • Even S, Itai A, Shamir A (1976) On the complexity of the time table and multi-commodity flow problems. SIAM J Comput 5(4):691–703

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

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

    MATH  Google Scholar 

  • Irving RW (1994) Stable marriage and indifference. Discrete Appl Math 48:261–272

    Article  MathSciNet  MATH  Google Scholar 

  • Irving RW, Leather P (1986) The complexity of counting stable marriages. SIAM J Comput 15:655–667

    Article  MathSciNet  MATH  Google Scholar 

  • Karlin AR, Gharan SO, Weber R (2018) A simply exponential upper bound on the maximum number of stable matchings. In: Proceedings of STOC, pp 920–925

  • Manlove DF (1999) Stable marriage with ties and unacceptable partners. University of Glasgow, Computing Science Department Research Report, TR-1999-29

  • Manlove DF (2002) The structure of stable marriage with indifference. Discrete Appl Math 122(1–3):167–181

    Article  MathSciNet  MATH  Google Scholar 

  • Manlove DF (2013) Algorithmics of matching under preferences. World Scientific, Singapore

    Book  MATH  Google Scholar 

  • Sethuraman JV, Teo CP (2001) A polynomial-time algorithm for the bistable roommates problem. J Comput Syst Sci 63(3):486–497

    Article  MathSciNet  MATH  Google Scholar 

  • Spieker B (1995) The set of super-stable marriages forms a distributive lattice. Discrete Appl Math 58(1):79–84

    Article  MathSciNet  MATH  Google Scholar 

  • Thurber EG (2002) Concerning the maximum number of stable matchings in the stable marriage problem. Discrete Math 248(1–3):195–219

    Article  MathSciNet  MATH  Google Scholar 

  • Weems BP (1999) Bistable versions of the marriages and roommates problems. J Comput Syst Sci 59(3):504–520

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the reviewers for their constructive comments, which helped to improve the presentation of the paper considerably.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shuichi Miyazaki.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

An earlier version of this article appeared in Proceedings of 28th International Symposium on Algorithms and Computation (ISAAC 2017). This work was partially supported by JSPS KAKENHI Grant Numbers JP16K00017 and JP15K00466.

Appendix: Partial matchings \(M_{\ell }^{1}\), \(M_{\ell }^{2}\), and \(M_{\ell }^{3}\)

Appendix: Partial matchings \(M_{\ell }^{1}\), \(M_{\ell }^{2}\), and \(M_{\ell }^{3}\)

See Figs. 56 and 7.

Fig. 5
figure 5

Partial matching \(M_{\ell }^{1}\)

Fig. 6
figure 6

Partial matching \(M_{\ell }^{2}\)

Fig. 7
figure 7

Partial matching \(M_{\ell }^{3}\)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Miyazaki, S., Okamoto, K. Jointly stable matchings. J Comb Optim 38, 646–665 (2019). https://doi.org/10.1007/s10878-019-00402-4

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10878-019-00402-4

Keywords

Navigation