Abstract
The stable marriage theorem of Gale and Shapley states that for n men and n women there always exists a stable marriage scheme, that is, a set of marriages such that no man and woman mutually prefer one another to their partners. The stable marriage theorem was generalized in two directions: the stable roommates problem is the “one-sided” version, where any two agents on the market can form a partnership. The generalization by Kelso and Crawford is in the “two-sided” model, but on one side of the market agents have a so-called substitutable choice function, and stability is interpreted in a natural way. It turned out that even if both sides of the market have substitutable choice functions, there still exists a stable assignment. The latter version contains the “many-to-many” model where up to a personal quota, polygamy is allowed for both men and women in the two-sided market.
The goal of this work is to solve the stable partnership problem, a generalization of the one-sided model with substitutable choice functions. We do not quite reach that: besides substitutability, we also need for the result the so called increasing property (or, in other terminology, the law of aggregate demand). Luckily, choice functions in well-known stable matching theorems comply with this property. The main result is a generalization of Irving’s algorithm, the first efficient method to solve the stable roommates problem. We deduce from the algorithm a generalization of Tan’s result on characterizing the existence of a stable matching and prove a generalization of the rural hospital theorem and the so-called splitting property of many-to-many stable matchings. We show that our algorithm is linear-time in some sense and indicate that for general (i.e. not necessarily increasing) substitutable choice functions the stable partnership problem is NP-complete.
Similar content being viewed by others
References
Aharoni, R., Fleiner, T.: On a lemma of Scarf. J. Comb. Theory Ser. B 87(1), 72–80 (2003)
Alkan, A., Gal, D.: Stable schedule matching under revealed preference. J. Econ. Theory 112(2), 289–306 (2003)
Biró, P.: Stable b-matchings on graphs. Master’s thesis, Budapest university of Technology and Economics (2003)
Cechlárová, K., Fleiner, T.: On a generalization of the stable roommates problem. ACM Trans. Algorithms 1(1), 143–156 (2005)
Crawford, V.P., Knoer, E.M.: Job matching with heterogeneous firms and workers. Econometrica 49, 437–450 (1981)
Feder, T.: A new fixed point approach for stable networks and stable marriages. J. Comput. Syst. Sci. 45(2), 233–284 (1992). Twenty-first Symposium on the Theory of Computing, Seattle, WA (1989)
Fleiner, T.: Stable and crossing structures. PhD dissertation. http://www.renyi.hu/~fleiner (2000)
Fleiner, T.: A fixed-point approach to stable matchings and some applications. Math. Oper. Res. 28(1), 103–126 (2003)
Fleiner, T.: On the stable b-matching polytope. Math. Soc. Sci. 46(2), 149–158 (2003)
Gale, D., Shapley, L.S.: College admissions and stability of marriage. Am. Math. Mon. 69(1), 9–15 (1962)
Gusfield, D., Irving, R.W.: The Stable Marriage Problem: Structure and Algorithms. MIT Press, Cambridge (1989)
Hatfield, J., Milgrom, P.: Matching with contracts. Am. Econ. Rev. 95(4), 913–935 (2005)
Irving, R.W.: An efficient algorithm for the “stable roommates” problem. J. Algorithms 6(4), 577–595 (1985)
Kelso, A.S., Jr., Crawford, V.P.: Job matching, coalition formation, and gross substitutes. Econometrica 50, 1483–1504 (1982)
Roth, A.E., Oliveira Sotomayor, M.A.: Two-sided Matching. Cambridge University Press, Cambridge (1990)
Scarf, H.E.: The core of an N person game. Econometrica 35, 50–69 (1967)
Sethuraman, J., Teo, C.-P., Qian, L.: Many-to-one stable matching: geometry and fairness. Math. Oper. Res. 31(3), 581–596 (2006)
Subramanian, A.: A new approach to stable matching problems. SIAM J. Comput. 23(4), 671–700 (1994)
Tan, J.J.M.: A necessary and sufficient condition for the existence of a complete stable matching. J. Algorithms 12(1), 154–178 (1991)
Tan, J.J.M., Hsueh, Y.C.: A generalization of the stable matching problem. Discrete Appl. Math. 59(1), 87–102 (1995)
Tarski, A.: A lattice-theoretical fixpoint theorem and its applications. Pac. J. Math. 5, 285–310 (1955)
Author information
Authors and Affiliations
Corresponding author
Additional information
Research is supported by OTKA grants K69027 and K60802, the MTA-ELTE Egerváry Research Group (EGRES) and the János Bolyai research fellowship of the Hungarian Academy of Sciences.
Rights and permissions
About this article
Cite this article
Fleiner, T. The Stable Roommates Problem with Choice Functions. Algorithmica 58, 82–101 (2010). https://doi.org/10.1007/s00453-009-9314-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-009-9314-3