Skip to main content
Log in

Unpopularity Factor in the Marriage and Roommates Problems

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

Given a set A of n people, with each person having a preference list that ranks a subset of A as his/her acceptable partners in order of preference, we consider the Roommates Problem (rp) and the Marriage Problem (mp) of matching people with their partners. In rp there is no further restriction, while in mp only people of opposite genders can be acceptable partners. For a pair of matchings X and Y, let ϕ(X,Y ) denote the number of people who prefer a person they get matched by X to a person they get matched by Y, and define an unpopularity factoru(M) of a matching M to be the maximum ratio \(\phi (M^{\prime },M) / \phi (M,M^{\prime })\) among all other possible matchings \(M^{\prime }\). In this paper, we develop an algorithm to compute the unpopularity factor of a given matching in \(O(m\sqrt {n}\log ^{2} n)\) time for rp and in \(O(m\sqrt {n}\log n)\) time for mp, where m is the total length of people’s preference lists. We also generalize the notion of unpopularity factor to a weighted setting where people are given different voting weights and show that our algorithm can be slightly modified to support that setting with the same running 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.

Similar content being viewed by others

References

  1. Abdulkadiroğlu, A., Pathak, P.A., Roth, A.E.: The New York City high school match. Amer. Econ. Rev. 95(2), 364–367 (2005)

    Article  Google Scholar 

  2. Abdulkadiroğlu, A., Pathak, P.A., Roth, A.E., Sönmez, T.: The Boston public school match. Amer. Econ. Rev. 95(2), 368–371 (2005)

    Article  Google Scholar 

  3. Abraham, D.J., Irving, R.W., Kavitha, T., Mehlhorn, K.: Popular matchings. In: Proceedings of the 16th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 424–432 (2005)

  4. Abraham, D.J., Kavitha, T.: Dynamic matching markets and voting paths. In: Proceedings of the 10th Scandinavian Workshop on Algorithm Theory (SWAT), pp. 65–76 (2006)

  5. Biró, P., Irving, R.W., Manlove, D.: Popular matchings in the marriage and roommates problems. In: Proceedings of the 7th International Conference on Algorithms and Complexity (CIAC), pp. 97–108 (2010)

  6. Cseh, Á. , Kavitha, T.: Popular matchings in complete graphs. In: Proceedings of the 38th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS), pp. 17:1–17:14 (2018)

  7. Duan, R., Pettie, S., Su, H.-H.: Scaling Algorithms for Weighted Matching in General Graphs. ACM Trans. Algorithm. 14(1), 8:1–8:35 (2018)

    Article  MathSciNet  Google Scholar 

  8. Faenza, Y., Kavitha, T., Powers, V., Zhang, X.: Popular matchings and limits to tractability. In: Proceedings of the 30th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 2790–2809 (2019)

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

    Article  MathSciNet  Google Scholar 

  10. Gärdenfors, P.: Match making: assignments based on bilateral preferences. Behav. Sci. 20, 166–173 (1975)

    Article  Google Scholar 

  11. Goldberg, A.V.: Scaling algorithms for the shortest paths problem. SIAM J. Comput. 24(3), 494–504 (1995)

    Article  MathSciNet  Google Scholar 

  12. Gupta, S., Misra, P., Saurabh, S., Zehavi, M.: Popular Matching in Roommates Setting is NP-hard. In: Proceedings of the 30th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 2810–2822 (2019)

  13. Gusfield, D., Irving, R.W.: The stable marriage problem: Structure and algorithms. MIT Press (1989)

  14. Huang, C.-C., Kavitha, T.: Near-Popular Matchings in the roommates problem. In: Proceedings of the 19th European Symposium on Algorithms (ESA), pp. 167–179 (2011)

  15. Huang, C.-C., Kavitha, T., Michail, D., Nasre, M.: Bounded unpopularity matchings. In: Proceedings of the 11th Scandinavian Workshop on Algorithm Theory (SWAT), pp. 127–137 (2008)

  16. Irving, R.W.: An efficient algorithm for the “stable roommates” problem. J. Algorithm. 6, 577–595 (1985)

    Article  MathSciNet  Google Scholar 

  17. Kavitha, T., Mestre, J., Nasre, M.: Popular mixed matchings. In: Proceedings of the 36th International Colloquium on Automata, Languages and Programming (ICALP), pp. 574–584 (2009)

  18. Mahdian, M.: Random popular matchings. In: Proceedings of the 7th ACM Conference on Electronic Commerce (EC), pp. 238–242 (2006)

  19. Manlove, D., Sng, C.T.S.: Popular matchings in the weighted capacitated house allocation problem. J Discret. Algorithm. 8(2), 102–116 (2010)

    Article  MathSciNet  Google Scholar 

  20. McCutchen, R.M.: The least-unpopularity-factor and least-unpopularity-margin criteria for matching problems with one-sided preferences. In: Proceedings of the 15th Latin American Symposium on Theoretical Informatics (LATIN), pp. 593–604 (2008)

  21. Mestre, J.: Weighted popular matchings. In: Proceedings of the 16th International Colloquium on Automata, Languages, and Programming (ICALP), pp. 715–726 (2006)

  22. 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 

  23. Roth, A.E., Sotomayor, M.A.O.: Two-sided matching: a study in game-theoretic modeling and analysis, volume 18 of Econometric Society Monographs. Cambridge University Press (1990)

  24. Ruangwises, S., Itoh, T.: Random Popular Matchings with Incomplete Preference Lists. J. Graph Algorithm. Appl. 23(5), 815–835 (2019)

    Article  MathSciNet  Google Scholar 

  25. Ruangwises, S., Itoh, T.: Unpopularity factor in the marriage and roommates problems. In: Proceedings of the 14th International Computer Science Symposium in Russia (CSR), pp. 337–348 (2019)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Suthee Ruangwises.

Additional information

Publisher’s Note

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

This article belongs to the Topical Collection: Special Issue on Computer Science Symposium in Russia (2019)

Guest Editor: Gregory Kucherov

A preliminary version of this paper [25] has appeared at CSR 2019.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ruangwises, S., Itoh, T. Unpopularity Factor in the Marriage and Roommates Problems. Theory Comput Syst 65, 579–592 (2021). https://doi.org/10.1007/s00224-020-09978-5

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-020-09978-5

Keywords

Navigation