Stability in the Hospitals / Residents problem with Couples and Ties: Mathematical models and computational studies

Abstract In the well-known Hospitals/Residents problem (HR), the objective is to find a stable matching of doctors (or residents) to hospitals based on their preference lists. In this paper, we study HRCT, the extension of HR in which doctors are allowed to apply in couples, and in which doctors and hospitals can include ties in their preference lists. We first review three stability definitions that have been proposed in the literature for HRC (the restriction of HRCT where ties are not allowed) and we extend them to HRCT. We show that such extensions may bring undesirable behaviour and we introduce a new stability definition specifically designed for HRCT. We then introduce unified Integer Linear Programming (ILP) models, where only minor changes are required to switch from one definition to the other. We propose three improvements to decrease the average solution time of each ILP model based on preprocessing, dummy variables, and valid inequalities. We show that our models can be solved more than a hundred times faster when these improvements are used. In addition, we also show that the stability definition chosen has a minor impact on the solution quality (average matching size) and time required to obtain the solution, but for a specific set of instances, stable matchings are significantly less likely to exist for one particular definition compared to the other definitions. We also provide insights relating to how certain parameters such as the tie density, the number of couples, and the difference between the number of positions available in the hospitals and the number of doctors, might affect the average matching size.

[1]  Eytan Ronn,et al.  NP-Complete Stable Matching Problems , 1990, J. Algorithms.

[2]  W IrvingRobert,et al.  Stable matching with couples , 2011 .

[3]  J. V. Vate Linear programming brings marital bliss , 1989 .

[4]  David Manlove,et al.  Mathematical models for stable matching problems with ties and incomplete lists , 2018, European Journal of Operational Research.

[5]  David Manlove,et al.  Finding large stable matchings , 2009, JEAL.

[6]  Itai Ashlagi,et al.  Stability in Large Matching Markets with Complementarities , 2014, Oper. Res..

[7]  Stephen G. Hartke,et al.  Stable Matchings in the Couples Problem , 2001 .

[8]  Bettina Klaus,et al.  Stable matchings and preferences of couples , 2005, J. Econ. Theory.

[9]  Brian Aldershof,et al.  Stable Marriage and Genetic Algorithms: A Fertile Union , 1999, J. Heuristics.

[10]  David Manlove,et al.  The Hospitals/Residents Problem with Ties , 2000, SWAT.

[11]  Iain McBride Complexity results and integer programming models for hospitals/residents problem variants , 2015 .

[12]  Parag A. Pathak,et al.  Matching with Couples: Stability and Incentives in Large Markets , 2010 .

[13]  Fahiem Bacchus,et al.  SAT Is an Effective and Complete Method for Solving Stable Matching Problems with Couples , 2015, IJCAI.

[14]  A. Roth,et al.  The Redesign of the Matching Market for American Physicians: Some Engineering Aspects of Economic Design , 1999, The American economic review.

[15]  Robert W. Irving,et al.  The Stable marriage problem - structure and algorithms , 1989, Foundations of computing series.

[16]  Flip Klijn,et al.  Matching with couples: a Multidisciplinary Survey , 2013, IGTR.

[17]  A. Roth The Evolution of the Labor Market for Medical Interns and Residents: A Case Study in Game Theory , 1984, Journal of Political Economy.

[18]  David Manlove,et al.  Algorithmics of Matching Under Preferences , 2013, Bull. EATCS.

[19]  David Manlove,et al.  The Hospitals / Residents Problem with Couples: Complexity and Integer Programming Models , 2013, SEA.

[20]  David Manlove,et al.  An Integer Programming Approach to the Hospitals/Residents Problem with Ties , 2013, OR.

[21]  David Manlove,et al.  Hard variants of stable marriage , 2002, Theor. Comput. Sci..

[22]  David Manlove,et al.  Strong Stability in the Hospitals/Residents Problem , 2003, STACS.

[23]  Robert W. Irving,et al.  Stable matching with couples: An empirical study , 2011, JEAL.

[24]  David Cantala Matching Markets: the Particular Case of Couples , 2004 .

[25]  Brian Aldershof,et al.  Stable Matchings with Couples , 1996, Discret. Appl. Math..

[26]  David F. Manlove,et al.  Stable Marriage with Ties and Unacceptable Partners , 1999 .

[27]  Robert W. Irving Stable Marriage and Indifference , 1994, Discret. Appl. Math..

[28]  David Manlove,et al.  “Almost-stable” matchings in the Hospitals / Residents problem with Couples , 2016, Constraints.

[29]  D. Manlove,et al.  Keeping partners together: algorithmic results for the hospitals/residents problem with couples , 2010, J. Comb. Optim..

[30]  L. S. Shapley,et al.  College Admissions and the Stability of Marriage , 2013, Am. Math. Mon..

[31]  Dániel Marx,et al.  Stable assignment with couples: Parameterized complexity and local search , 2009, Discret. Optim..

[32]  Bettina Klaus,et al.  Paths to stability for matching markets with couples , 2007, Games Econ. Behav..

[33]  David Manlove,et al.  Mathematical models for stable matching problems with ties and incomplete lists , 2018, Eur. J. Oper. Res..