Skip to main content

Morphing Between Stable Matching Problems

  • Conference paper
  • First Online:
Principles and Practice of Constraint Programming (CP 2016)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 9892))

  • 2160 Accesses

Abstract

In the stable roommates (SR) problem we have n agents, where each agent ranks all other agents in strict order of preference. The problem is then to match agents into pairs such that no two agents prefer each other to their matched partners, and this is a stable matching. The stable marriage (SM) problem is a special case of SR, where we have two equal sized sets of agents, men and women, where men rank only women and women rank only men. Every instance of SM admits at least one stable matching, whereas for SR as the number of agents increases the number of instances with stable matchings decreases. So, what will happen if in SM we allow men to rank men and women to rank women, i.e. we relax gender separation? Will stability abruptly disappear? And what happens in a stable roommates scenario if agents do not rank all other agents? Again, is stability uncommon? And finally, what happens if there are an odd number of agents? We present empirical evidence to answer these questions.

C. McCreesh—Supported by the Engineering and Physical Sciences Research Council [grant number EP/K503058/1].

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    We assume that every agent ranks himself in last position and can potentially be self-matched.

  2. 2.

    To permute an array of n elements, vary i from n down to 2, randomly select j in the range i to 1 inclusive, then swap the \(i^{th}\) and \(j^{th}\) array elements.

  3. 3.

    We leave any social interpretation of these observations to others.

  4. 4.

    The x axis is cut short due to small sample size for odd n and large p.

  5. 5.

    We thank David Manlove for this explanation.

References

  1. Batagelj, V., Brandes, U.: Efficient generation of large random networks. Phys. Rev. E 71, 036113 (2005)

    Article  Google Scholar 

  2. Durstenfeld, R.: Algorithm 235: random permutation. CACM 7, 420 (1964)

    Article  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  5. Gent, I.P., Hoos, H.H., Prosser, P., Walsh, T.: Morphing: combining structure and randomness. In: Proceedings of the Sixteenth National Conference on Artificial Intelligence, pp. 654–660 (1999)

    Google Scholar 

  6. Gusfield, D., Irving, R.W.: The Stable Marriage Problem: Structure and Algorithms. The MIT Press, Cambridge (1989)

    MATH  Google Scholar 

  7. Irving, W.R.: An efficient algorithm for the stable roommates problem. J. Algorithms 6(4), 577–595 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  8. Watts, D.J., Strogatz, S.H.: Collective dynamics of small-world networks. Nature 393, 440–442 (1998)

    Article  Google Scholar 

  9. Manlove, D.: Algorithmics of Matching under Preferences. Theoretical Computer Science, vol. 2. World Scientific, Singapore (2013)

    MATH  Google Scholar 

  10. Mertens, S.: Random stable matchings. J. Stat. Mech. Theory Exp. (10), P10008 (2005)

    Google Scholar 

  11. Mertens, S.: Small random instances of the stable roommates problem. J. Stat. Mech. Theory Exp. 2015(6), P06034 (2015)

    Article  MathSciNet  Google Scholar 

  12. Mertens, S.: Stable roommates problem with random preferences. J. Stat. Mech. Theory Exp. 2015(1), P01020 (2015)

    Article  MathSciNet  Google Scholar 

  13. Ng, C., Hirschberg, D.S.: Lower bounds for the stable marriage problem and its variants. SIAM J. Comput. 19, 71–77 (1990)

    Article  MathSciNet  MATH  Google Scholar 

  14. Pittel, B., Irving, R.W.: An upper bound for the solvability of a random stable roommates instance. Random Struct. Algorithms 5(3), 465–487 (1994)

    Article  MathSciNet  MATH  Google Scholar 

  15. Prosser, P.: Stable roommates and constraint programming. In: Simonis, H. (ed.) CPAIOR 2014. LNCS, vol. 8451, pp. 15–28. Springer, Heidelberg (2014)

    Chapter  Google Scholar 

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

    Article  Google Scholar 

  17. Roth, A.E., Sotomayor, M.A.O.: Two-Sided Matching: A Study in Game-Theoretic Modeling and Analysis. Econometric Society Monographs, vol. 18. Cambridge University Press, Cambridge (1990)

    Book  MATH  Google Scholar 

Download references

Acknowledgements

We would like to thank David Manlove, Augustine Kwanashie, Rob Irving, Ian Gent and Craig Reilly.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Patrick Prosser .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

McCreesh, C., Prosser, P., Trimble, J. (2016). Morphing Between Stable Matching Problems. In: Rueher, M. (eds) Principles and Practice of Constraint Programming. CP 2016. Lecture Notes in Computer Science(), vol 9892. Springer, Cham. https://doi.org/10.1007/978-3-319-44953-1_52

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-44953-1_52

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-44952-4

  • Online ISBN: 978-3-319-44953-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics