Gergely Csáji, David Manlove, Iain McBride, James Trimble
{"title":"Couples can be Tractable: New Algorithms and Hardness Results for the Hospitals/Residents Problem with Couples","authors":"Gergely Csáji, David Manlove, Iain McBride, James Trimble","doi":"10.1007/s00453-026-01405-4","DOIUrl":null,"url":null,"abstract":"<div><p>We study the <span>Hospitals/Residents problem with Couples</span> (<span>hrc</span>), where a solution is a stable matching or a report that none exists. We present a novel polynomial-time algorithm that can find a near-feasible stable matching, where hospitals’ capacities are adjusted by at most 1, in an <span>hrc</span> instance where the couples’ preferences are sub-responsive (i.e., if one member switches to a better hospital, then the couple also improves) and sub-complete (i.e., each pair of hospitals that are individually acceptable to both members are jointly acceptable for the couple) by reducing it to an instance of the <span>Stable Fixtures</span> problem. We further present a polynomial-time algorithm for <span>hrc</span> in a sub-responsive, sub-complete instance that is a Dual Market, or where all couples are one of several possible types. We show that our algorithm also implies the polynomial-time solvability of a stable b-matching problem, where the underlying graph is a multigraph with loops. We complement our algorithms with several hardness results. We show that <span>hrc</span> with sub-responsive and sub-complete couples is NP-hard, even with other strong restrictions. We further show that <span>hrc</span> with a Dual Market is NP-hard under several simultaneous restrictions. Finally, we show that the problem of finding a matching with the minimum number of blocking pairs in <span>hrc</span> is not approximable within <span>\\(m^{1-\\varepsilon }\\)</span>, for any <span>\\(\\varepsilon >0\\)</span>, where <i>m</i> is the total length of the hospitals’ preference lists, unless P=NP, even if each couple applies to only one pair of hospitals. Our polynomial-time solvability results greatly expand the class of known tractable instances of <span>hrc</span> and provide a useful tool for designing better and more efficient mechanisms in the future.\n</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"88 5","pages":""},"PeriodicalIF":1.0000,"publicationDate":"2026-09-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13574906/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Algorithmica","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s00453-026-01405-4","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
We study the Hospitals/Residents problem with Couples (hrc), where a solution is a stable matching or a report that none exists. We present a novel polynomial-time algorithm that can find a near-feasible stable matching, where hospitals’ capacities are adjusted by at most 1, in an hrc instance where the couples’ preferences are sub-responsive (i.e., if one member switches to a better hospital, then the couple also improves) and sub-complete (i.e., each pair of hospitals that are individually acceptable to both members are jointly acceptable for the couple) by reducing it to an instance of the Stable Fixtures problem. We further present a polynomial-time algorithm for hrc in a sub-responsive, sub-complete instance that is a Dual Market, or where all couples are one of several possible types. We show that our algorithm also implies the polynomial-time solvability of a stable b-matching problem, where the underlying graph is a multigraph with loops. We complement our algorithms with several hardness results. We show that hrc with sub-responsive and sub-complete couples is NP-hard, even with other strong restrictions. We further show that hrc with a Dual Market is NP-hard under several simultaneous restrictions. Finally, we show that the problem of finding a matching with the minimum number of blocking pairs in hrc is not approximable within \(m^{1-\varepsilon }\), for any \(\varepsilon >0\), where m is the total length of the hospitals’ preference lists, unless P=NP, even if each couple applies to only one pair of hospitals. Our polynomial-time solvability results greatly expand the class of known tractable instances of hrc and provide a useful tool for designing better and more efficient mechanisms in the future.
期刊介绍:
Algorithmica is an international journal which publishes theoretical papers on algorithms that address problems arising in practical areas, and experimental papers of general appeal for practical importance or techniques. The development of algorithms is an integral part of computer science. The increasing complexity and scope of computer applications makes the design of efficient algorithms essential.
Algorithmica covers algorithms in applied areas such as: VLSI, distributed computing, parallel processing, automated design, robotics, graphics, data base design, software tools, as well as algorithms in fundamental areas such as sorting, searching, data structures, computational geometry, and linear programming.
In addition, the journal features two special sections: Application Experience, presenting findings obtained from applications of theoretical results to practical situations, and Problems, offering short papers presenting problems on selected topics of computer science.