Paper ID: 9354
DCS Tech Report Number: TR-2010-319
Stable matching with couples -- an empirical study
Tech Report (internal)
DCS Technical Report Series
Page Numbers : 25
Publisher: Dept of Computing Science, University of Glasgow
In practical applications, algorithms for the classical version of the Hospitals Residents problem (the many-one version of the Stable Marriage problem) may have to be extended to accommodate the needs of couples who wish to be allocated to (geographically) compatible places. Such an extension has been in operation in the NRMP matching scheme in the US for a number of years. In this setting, a stable matching need not exist, and it is an NP-complete problem to decide if one does. However, the only previous empirical study in this context (focused on the NRMP algorithm), together with information from NRMP, suggest that, in practice, stable matchings do exist and that an appropriate heuristic can be used to find such a matching.
The study presented here was motivated by the recent decision to accommodate couples in the Scottish Foundation Allocation Scheme (SFAS), the Scottish equivalent of the NRMP. Here, the problem is a special case, since hospital preferences are derived from a `master list' of resident scores, but we show that the existence problem remains NP-complete in this case. We describe the algorithm used in SFAS, and contrast it with a version of the algorithm that forms the basis of the NRMP approach. We present an empirical study of the performance of a number of variants of these algorithms, and of a third simpler algorithm based on satisfying blocking pairs, using a range of data sets. The results indicate that, not surprisingly, increasing the ratio of couples to single applicants typically makes it harder to find a stable matching (and, by inference, less likely that a stable matching exists). However, the likelihood of the algorithm finding a stable matching is very high for realistic values of this ratio, and especially so for particular variants of the algorithms.