Table of Contents
Fetching ...

Stable Matchings in Practice: A Constraint Programming Approach

Zhaohong Sun, Naoyuki Yamada, Yoshihiro Takenami, Daisuke Moriwaki, Makoto Yokoo

TL;DR

This paper tackles the waiting-child problem in Japan's daycare market, a two-sided matching setting augmented by transfers, siblings, and transferable quotas, formalized as $I=(C,F,D,\omega,\succ_F,\succ_C,\succ_D,G,Q)$. It introduces a constraint programming–based approach (CP-SAT via Google OR-Tools) to compute a stable, individually rational, and feasible matching that minimizes blocking coalitions and maximizes the number of children matched, using variables such as $x[f,p]$, $x[c,d]$, $\alpha[f,p]$, $\gamma[f,p,d,G_d]$, and $\beta[f,p]$, with $∑$-style objective formulations $∑_{f,p} β[f,p]$ and $∑_{c} ∑_{p} x[c,p]$. The authors establish NP-hardness results for stability-involving daycare matchings, provide a practical CP model, and demonstrate substantial empirical gains over current commercial methods on real municipal data (Shibuya, Tama, Koriyama), including improvements in both matches and stability, with data sizes ranging from 550 to 1589 children and 33 to 86 daycares. The work also highlights indifference handling, limited blocking coalitions, and transferable quotas as factors affecting outcomes, and discusses broader applicability to hospital-doctor and school-choice problems, along with public policy implications and open-source release.

Abstract

We study a practical two-sided matching problem of allocating children to daycare centers, which has significant social implications. We are cooperating with several municipalities in Japan and our goal is to devise a reliable and trustworthy clearing algorithm to deal with the problem. In this paper, we describe the design of our new algorithm that minimizes the number of unmatched children while ensuring stability. We evaluate our algorithm using real-life data sets, and experimental results demonstrate that our algorithm surpasses the commercial software that currently dominates the market in terms of both the number of matched children and the number of blocking coalitions (measuring stability). Our findings have been reported to local governments, and some are considering adopting our proposed algorithm in the near future, instead of the existing solution. Moreover, our model and algorithm have broader applicability to other important matching markets, such as hospital-doctor matching with couples and school choice with siblings.

Stable Matchings in Practice: A Constraint Programming Approach

TL;DR

This paper tackles the waiting-child problem in Japan's daycare market, a two-sided matching setting augmented by transfers, siblings, and transferable quotas, formalized as . It introduces a constraint programming–based approach (CP-SAT via Google OR-Tools) to compute a stable, individually rational, and feasible matching that minimizes blocking coalitions and maximizes the number of children matched, using variables such as , , , , and , with -style objective formulations and . The authors establish NP-hardness results for stability-involving daycare matchings, provide a practical CP model, and demonstrate substantial empirical gains over current commercial methods on real municipal data (Shibuya, Tama, Koriyama), including improvements in both matches and stability, with data sizes ranging from 550 to 1589 children and 33 to 86 daycares. The work also highlights indifference handling, limited blocking coalitions, and transferable quotas as factors affecting outcomes, and discusses broader applicability to hospital-doctor and school-choice problems, along with public policy implications and open-source release.

Abstract

We study a practical two-sided matching problem of allocating children to daycare centers, which has significant social implications. We are cooperating with several municipalities in Japan and our goal is to devise a reliable and trustworthy clearing algorithm to deal with the problem. In this paper, we describe the design of our new algorithm that minimizes the number of unmatched children while ensuring stability. We evaluate our algorithm using real-life data sets, and experimental results demonstrate that our algorithm surpasses the commercial software that currently dominates the market in terms of both the number of matched children and the number of blocking coalitions (measuring stability). Our findings have been reported to local governments, and some are considering adopting our proposed algorithm in the near future, instead of the existing solution. Moreover, our model and algorithm have broader applicability to other important matching markets, such as hospital-doctor matching with couples and school choice with siblings.
Paper Structure (11 sections, 3 theorems, 15 equations, 3 tables)

This paper contains 11 sections, 3 theorems, 15 equations, 3 tables.

Key Result

Theorem 1

It is NP-complete to check whether there exists a feasible and individually rational outcome that differs from the initial matching, even if i) each family has at most two children; ii) the length of each family's preference ordering is at most $2$.

Theorems & Definitions (15)

  • Example 1: Instance of Projected Preferences
  • Example 2: Transferable Quotas
  • Definition 1: Individual Rationality
  • Definition 2: Feasibility
  • Definition 3: Choice Function $Ch_d$
  • Example 3: Choice Function
  • Definition 4: Stability
  • Example 4: Stability
  • Definition 5: Decomposition of Blocking Coalition
  • Example 5: Decomposition of Blocking Coalition
  • ...and 5 more