Full text
Paths to Stability for Matching Markets with Couples∗ Bettina Klaus†Flip Klijn‡ May 2005 Abstract We study two-sided matching markets with couples and show that for a natural preference domain for couples, the domain of weakly responsive preferences, stable outcomes can always be reached by means of decentralized decision making. Starting from an arbitrary matching, we construct a path of matchings obtained from ‘satisfying’ blocking coalitions that yields a stable matching. Hence, we establish a generalization of Roth and Vande Vate’s (1990) result on path convergence to stability for decentralized singles markets. Furthermore, we show that when stable matchings exist, but preferences are not weakly responsive, for some initial matchings there may not exist any path obtained from ‘satisfying’ blocking coalitions that yields a stable matching. JEL classification: C62, C78, D70. Keywords: Matching, Couples, Stability, Random Paths, Responsiveness. 1 Introduction We consider entrance level labor markets that can be modeled as two-sided matching problems: one side consisting of students, graduates, or workers, the other side consisting of residencies, jobs, or firms. Since in the last couple of decades the number of couples with the same professional interests has been growing, we focus on labor markets in which both members of couples seek positions. A famous example of such an entrance level labor market with couples in the US is the market where each year thousands of medical school graduates seek their first employment as residents or interns. Since the 1950’s this labor market has been administered by the National Resident Matching Program (NRMP).1One of the reasons for centralizing this market, and later for reorganizing it,2was that market outcomes did not seem to be ‘stable’ as indicated by unraveling (pre NRMP) or a significant reduction of voluntary participation in the ∗We thank Eiichi Miyagawa, Howard Petith, and two referees for helpful comments and suggestions. B. Klaus’s and F. Klijn’s research was supported by Ram´on y Cajal contracts of the Spanish Ministerio de Ciencia y Tecnolog´ıa. The work of the authors was also partially supported by Research Grant BEC2002-02130 from the Spanish Ministerio de Ciencia y Tecnolog´ıa and by the Barcelona Economics Program of CREA. This paper is part of the Polarization and Conflict Project CIT-2-CT-2004-506084 funded by the European Commission-DG Research Sixth Framework Programme. This article reflects only the authors’ views and the Community is not liable for any use that may be made of the information contained therein. †Department of Economics, Maastricht University, P.O. Box 616, 6200 MD Maastricht, The Netherlands; e-mail: [email protected] ‡Corresponding author. Institut d’An`alisi Econ`omica (CSIC), Campus UAB, 08193 Bellaterra (Barcelona), Spain; Tel. (34) 93 580 6612; Fax. (34) 93 580 1452; e-mail: [email protected] 1See Roth (1984) and Roth and Sotomayor (1990). 2See Checker (1973), Roth and Peranson (1999), and Roth (2002). 1
NRMP (pre reorganized NRMP). For simplicity, from now on we refer to one side of the market as students and to the other side of the market as hospitals, even though we do not exclusively restrict our attention to centralized markets such as the NRMP. Loosely speaking, an outcome or matching is stable if there are no students/couples and hospitals that are not matched with each other, but in fact would prefer to be. Thus, it is easy to see that whenever contracts are not enforceable, stability is a minimal requirement for the persistence of an outcome for any market (centralized or decentralized). Gale and Shapley (1962), the ‘pioneers’ of two-sided matching theory, provided an algorithm, the famous deferred acceptance (DA) algorithm, that always finds a stable matching in markets with only single students. The algorithm first used by the NRMP in fact was a slight modification of the deferred acceptance algorithm, which was independently developed. Hence, a stable matching can be implemented for any centralized ‘singles market.’ Moreover, Roth and Vande Vate (1990) showed that a stable matching can also be reached by means of decentralized decision making. They demonstrated that, starting from an arbitrary matching, the process of allowing randomly chosen blocking coalitions to match will converge to a stable matching with probability one. Thus, as long as we restrict attention to singles markets, in these markets – centralized or not – stability is possible. Unfortunately, once couples emerge on one side of the market, stability is in danger: stable matchings may not exist (Roth, 1984) and it may be very difficult (i.e., NP-hard) to decide if stable matchings exist for a given ‘couples market’ (Ronn, 1990). Klaus and Klijn (2005) showed that for a special preference domain for couples, namely the domain of ‘(weakly) responsive’ preferences, stable matchings exist. A couple’s preferences are responsive if the unilateral improvement of one partner’s job is considered beneficial for the couple as well. If responsiveness only applies to acceptable positions, then preferences are weakly responsive. Hence, (weakly) responsive preferences may reflect situations where couples search for jobs in the same metropolitan area (if one partner switches to a job he/she prefers and the couple can still live together, then the couple is better off). In fact, when couples have weakly responsive preferences, one can derive associated individual preferences for all students that are members of a couple. Klaus and Klijn (2005) demonstrated that any stable matching of an associated singles market is also stable in the couples market. Klaus and Klijn (2005) also showed that under a restricted unemployment aversion condition, the domain of weakly responsive preferences is maximal for the existence of stable matchings. In view of this result, the class of weakly responsive preferences is a natural starting point for the study of decentralized decision making in couples markets. One may wonder whether there is a path of ‘satisfying’ blocking coalitions that leads to a stable matching. We answer this question in the affirmative. This implies in particular that starting from an arbitrary matching, the process of allowing randomly chosen blocking coalitions to match will converge to a stable matching with probability one. It also shows that to obtain a stable matching by decentralized means there is no need to first determine associated individual preferences of the members of the couples. Obviously, weakly responsive preferences are quite restrictive because they a) almost take us back to the model with only singles and b) do not capture important aspects such as a couple’s desire to live together (see also Remark 4.2). Thus, the next step in our analysis is to try to extend our result to more general preferences. Since then, stable matchings may not always exist, particularly if couples preferences are based on distance considerations (e.g., Klaus and Klijn, 2005, Example 3.8), we check for ‘conditional path convergence,’ that is, we only require the process of starting with an arbitrary matching and allowing randomly chosen blocking pairs to match to converge to a stable matching with probability one if a stable matching 2
exists. For one-sided matching problems, more precisely for roommate problems, Diamantoudi et al. (2004) obtained such a conditional path convergence result.3Unfortunately, in couples markets conditional convergence cannot be obtained. It turns out that for couples markets with non-responsive preferences, even in the presence of stable matchings, there may not exist a path induced by satisfying blocking coalitions that yields a stable matching. Hence, this ‘cycling’ is inherent in the underlying complementarities in the couples’ preferences, and not so much a problem related to our path construction. The paper is organized as follows. In Section 2, we introduce a couples market where the labor market modeled consists of a supply side of hospitals and a demand side of couples composed of medical students. In Section 3 we state and prove our result that, for weakly responsive preferences and starting from an arbitrary matching, a stable matching can always be obtained through at least one path of blocking coalitions, for instance, by using our deterministic path algorithm for weakly responsive couples markets (DPC-algorithm). Furthermore, we remark on some features of the DPC-algorithm and discuss differences between our and Roth and Vande Vate’s (1990) path construction. In Section 4 we provide a couples market with non-responsive preferences and a unique stable matching. We show that there are initial matchings starting from which the stable matching cannot be obtained by satisfying blocking coalitions. 2 Matching with Couples and Stability For convenience and without loss of generality, we describe a couples market where the labor market modeled consists of a supply side of hospitals and a demand side of couples composed of medical students; H={h1, h2, . . . , hm}and C={c1, c2, . . . , cn}={(s1, s2),(s3, s4), . . . , (s2n−1, s2n)} are the sets of hospitals and couples. We denote the set of students by S={s1, s2, . . . , s2n}. Each hospital has exactly one position to be filled. Our results can easily be adapted to more general situations that include single students (Remark 3.6) and hospitals with multiple positions.4Furthermore, our results (as well as the results derived in Klaus and Klijn, 2005) do not depend on the students being specifically paired in couples. All results would remain the same if the setting would be extended to triples or any other constellation of ordered tuples of students. Such an extension of the model could include mutual externalities between more than two individuals, for instance between members of a family or among friends or colleagues. Next, we describe preferences of hospitals and couples. Hospitals’ preferences: Each hospital h∈Hhas a strict, transitive, and complete preference relation ºhover the set of students Sand the prospect of having its position unfilled, denoted by ∅. Let s∈S. If sÂh∅, then student sis acceptable to hospital h; if ∅ Âhs, then student sis unacceptable to hospital h. Hospital h’s preferences can be represented by a strict ordering of the elements in S∪ {∅}; for instance, P(h) = s4, s2,∅, . . . indicates that hospital hprefers student s4to s2, and considers the other students to be unacceptable. Let PH={P(h)}h∈H. Couples’ preferences: Each couple c∈Chas a strict, transitive, and complete preference relation ºcover all possible combination of ordered pairs of (different) hospitals and the prospect of being unemployed. Couple c’s preferences can be represented by a strict ordering of the elements in H:= [(H∪ {u})×(H∪ {u})]\{(h, h) : h∈H}. To simplify notation, we denote a generic element of Hby (hp, hq), where hpand hqindicate a hospital or being unemployed. For 3See P´apai (2004) for a more general result on hedonic coalition formation. 4To be more precise, in order to straightforwardly derive all results for the case of hospitals with multiple positions, we would require that hospitals’ preferences are ‘responsive over sets of students’ (see Roth, 1985). 3
instance, P(c)=(h4, h2),(h3, h4),(h4, u),etc., indicates that couple c= (s1, s2) prefers s1and s2being matched to h4and h2, respectively, to being matched to h3and h4, respectively, and so on. Let PC={P(c)}c∈C. Whenever we use the strict part Âof a preference relation, we assume that we compare different elements in S∪ {u}or H. Note that as for many classical matching markets with singles the assumption that agents’ preferences are strict is also crucial for matching markets with couples (consider for instance Sotomayor and Roth, 1990, Section 2.5). Couples markets: A one-to-one matching market with couples, or a couples market for short, is denoted by (PH, P C). Matchings: Amatching µfor a couples market (PH, P C) is an assignment of students and hospitals such that each student is assigned to at most one hospital in Hor to u(which can be assigned to multiple students), each hospital in His assigned to at most one student or to ∅(which can be assigned to multiple hospitals), and a student is assigned to a hospital if and only if the hospital is assigned to the student. If µ(s) = u(µ(h) = ∅), then student s(hospital h) is called unmatched. If µ(s) = h, or equivalently µ(h) = s, then student sand hospital hare called mates. A matching µis completely described by the list µ(S) = (µ(s1), µ(s2), . . . , µ(s2n)) of hospitals or uassigned to students s1, s2, . . . , s2n. Thus, skis matched to µ(sk). Stability: Finally, we define stability for couples markets (see Roth and Sotomayor, 1990). First, if a hospital whose position is filled can be better off by unmatching,i.e., leaving its position unfilled, we would expect the hospital to act accordingly. Similarly, if one or both partners in a couple can improve the given matching for the couple by unmatching,i.e., voluntarily choosing unemployment, we would expect the couple to act accordingly. Formally, a hospital h∈His a one-sided blocking coalition for matching µif (o1) ∅Âhµ(h). A couple c= (sk, sl)∈Cis a one-sided blocking coalition for matching µif (o2) (µ(sk), u)Âc(µ(sk), µ(sl)), (u, µ(sl))Âc(µ(sk), µ(sl)), or (u, u)Âc(µ(sk), µ(sl)). We say that (c, (µ(sk), u)), (c, (u, µ(sl))), or (c, (u, u)) is a one-sided blocking coalition (depending on the condition in (o2) that is satisfied). Second, if one partner in a couple can improve the given matching for the couple by switching to another hospital such that this hospital is better off as well, then we would expect this mutually beneficial trade to be carried out, rendering the given matching unstable. A similar statement holds if both students in the couple can improve. For a given matching µ, [c= (sk, sl),(hp, hq)] is a two-sided blocking coalition if (hp, hq)6∈ {(µ(sk), u),(u, µ(sl)),(u, u)}and (t1) (hp, hq)Âc(µ(sk), µ(sl)); (t2) [hp∈Himplies skºhpµ(hp)] and [hq∈Himplies slºhqµ(hq)]. A matching is stable if there is no blocking coalition. (In)stability in couples markets: Roth (1984, Theorem 10) showed that stable matchings may not exist in the presence of couples. To make things worse, it can be very ‘hard’ to decide if a couples market has a stable matching: Ronn (1990) showed that determining if a couples market has a stable matching is an NP complete problem. Klaus and Klijn (2005) established the existence of a stable matching when couples have so-called weakly responsive preferences. In the 4
next section, we introduce this restricted preference domain and show that on this domain and starting from an arbitrary matching, a stable matching can always be obtained through at least one path of blocking coalitions. Clearly, one would be happy to establish similar results for other preference domains, e.g., if preferences capture that couples do want to live together. However, Klaus and Klijn (2005, Theorem 3.5 and Corollary 3.6) essentially demonstrate that none of these preference domains can even guarantee the existence of stable matchings. Furthermore, in Section 4, we show that on the general domain of couples’ preferences the existence of stable matchings does not guarantee the existence of any ‘path to stability’ through blocking coalitions. 3 Weak Responsiveness and Paths to Stability First, we introduce the domain of weakly responsive preferences (see Klaus and Klijn, 2005, for more details). A couple’s preferences are responsive if the unilateral improvement of one partner’s job is considered beneficial for the couple as well. If responsiveness only applies to acceptable positions, then preferences are weakly responsive. Weakly responsive preferences: Couple c= (sk, sl) has weakly responsive preferences if there exist preferences ºskand ºslsuch that (i) ºskand ºslare strict, transitive, and complete preference relations over the set of hospitals and the prospect of being unemployed u. (ii) for all h∈H, (u, h)Âc(u, u) if and only if hÂslu, (h, u)Âc(u, u) if and only if hÂsku, and (iii) for all hp, hq, hr∈H∪ {u}, [hpºsku,hqºslu, and hpÂskhrimply (hp, hq)Âc(hr, hq)] and [hpºslu,hqºsku, and hpÂslhrimply (hq, hp)Âc(hq, hr)]. A couples market (PH, P C) is weakly responsive if all couples have weakly responsive preferences. Remark 3.1 Weak responsiveness and associated individual preferences Let (PH, PC) be a weakly responsive couples market. Then, for all c= (sk, sl), the associated individual preferences ºskand ºslare only uniquely determined for acceptable positions. In other words, if both [ºskand ºsl] and [º0skand º0sl] satisfy the three weak responsiveness conditions, then for all hp, hq∈H∪ {u},hpÂskhqºskuimplies hpÂ0skhqº0sku, and hpÂslhqºslu implies hpÂ0slhqº0slu. Let (PH, PC) be a weakly responsive couples market. Then, from the couples’ weakly responsive preferences we can determine associated individual preferences for all students that are members of a couple. By (PH, PS(PC)) we denote an associated singles market5obtained by replacing couples and their preferences in (PH, PC) by individual students and their (possibly not uniquely determined) associated individual preferences PS(PC). It is easy to see that all associated singles markets have the same set of stable matchings (see Remark 3.1). The following existence theorem is due to Klaus and Klijn (2005, Theorem 3.3). 5Note that this associated singles market is a standard two-sided matching market; for an excellent introduction and overview see Roth and Sotomayor (1990). 5
Theorem 3.2 Stability for weakly responsive preferences (Klaus and Klijn, 2005) Let (PH, P C)be a weakly responsive couples market. Then, any matching that is stable for an associated singles market (PH, PS(PC)) is also stable for (PH, PC). In particular, there exists a stable matching for (PH, PC). However, not all stable matchings for (PH, PC) may be stable for (PH, P S(PC)). The intuition is that some matching that would be unstable in a singles market is now stable because a student may not want to block it by taking the position of his/her partner. Finally, Klaus and Klijn (2005, Theorem 3.5) showed that under a restricted unemployment aversion condition, the domain of weakly responsive preferences is maximal for the existence of stable matchings. In view of this result, the class of weakly responsive preferences is a natural starting point for the study of decentralized decision making in couples markets. Next, we show that for a weakly responsive couples market, starting from any matching, there always exists a path of blocking coalitions that ends in a stable matching. To describe this process of satisfying blocking coalitions, we use the following terminology. Satisfying blocking coalitions: If a hospital h∈His a one-sided blocking coalition for a matching µ, then we say that a new matching νis obtained from µby satisfying the blocking coalition if hand µ(h) are unmatched, and all other agents are matched to the same mates at νas they were at µ. Formally, matching νis obtained from matching µby satisfying blocking coalition h(for µ)if •ν(h) = ∅and ν(µ(h)) = u; •ν(s) = µ(s) for all s∈S\{µ(h)}; •ν(¯ h) = µ(¯ h) for all ¯ h∈H\{h}. Similarly, if [(sk, sl),(hp, hq)] is a blocking coalition for a matching µ, then we say that a new matching νis obtained from µby satisfying the blocking coalition if (sk, sl) and (hp, hq) are matched to one another at ν, their mates at µ(if any, and if not involved in the blocking coalition) are unmatched at ν, and all other agents are matched to the same mates at νas they were at µ. Formally, matching νis obtained from matching µby satisfying blocking coalition [(sk, sl),(hp, hq)] (for µ)if •[µ(sk) = h∈H\{hp, hq}implies ν(h) = ∅] and [µ(sl) = h∈H\{hp, hq}implies ν(h) = ∅]; •[µ(hp) = s∈S\{sk, sl}implies ν(s) = u] and [µ(hq) = s∈S\{sk, sl}implies ν(s) = u]; •ν(sk) = hp,ν(sl) = hq, [hp∈Himplies ν(hp) = sk], and [hq∈Himplies ν(hq) = sl]; •ν(s) = µ(s) for all s∈S\{µ(hp), µ(hq), sk, sl}; •ν(h) = µ(h) for all h∈H\{µ(sk), µ(sl), hp, hq}. We are now ready to state our main result. Theorem 3.3 Paths to stability for weakly responsive preferences Let (PH, P C)be a weakly responsive couples market. Let µbe an arbitrary matching for (PH, PC). Then there exists a finite sequence of matchings µ1, . . . , µksuch that µ1=µ,µk is stable, and for all i= 1, . . . , k −1, there is a blocking coalition for µisuch that µi+1 is obtained from µiby satisfying this blocking coalition. 6
Consider a random process that begins by selecting an arbitrary matching µand then proceeds to generate a sequence of matchings µ=µ1, µ2, . . . where each µi+1 is obtained from µi by satisfying a blocking coalition, chosen at random from the blocking coalitions for µi. Assume that the probability that any particular blocking coalition for µiwill be chosen to generate µi+1 is positive, and only depends on the matching µi(but not on the number i). Let R(µ) be the random sequence generated in this way from an initial matching µ. Corollary 3.4 Random paths to stability for weakly responsive preferences Let (PH, P C)be a weakly responsive couples market. For any initial matching µfor (PH, P C), the random sequence R(µ)converges with probability one to a stable matching. To prove Theorem 3.3, we construct an algorithm that, in a finite number of steps, yields a stable matching for any weakly responsive couples markets. Before describing our ‘deterministic path algorithm’ for weakly responsive couples markets, we present how it would look like in singles markets. The advantage of this approach is that a) the basic structure of the algorithm is easier to understand for singles markets and b) it is easier to see which additional steps have to be taken to accommodate the presence of couples in the market. In both algorithms that we present now, we will use a virtual room that agents enter and exit throughout the algorithm. This didactic visualization aid was first introduced by Ma (1996). A Modified Deterministic Roth and Vande Vate Path Algorithm to Stability for Singles Markets Let µbe an arbitrary matching for singles market (PH, P S). After satisfying one-sided blocking coalitions for µ(first stage) we start putting the students one by one in an initially empty room (second stage). Each student enters with his/her mate under µ,i.e., a student enters with a matched hospital or alone. Whenever a student enters the room with his/her mate, blocking coalitions within the room are satisfied and the hospitals that are ‘dumped’ (i.e., unmatched while blocking coalitions are satisfied) are put outside of the room. Thus, after this second stage we obtain a matching where all students are matched to hospitals in the room, and for which there are no blocking coalitions within the room. Finally, in the third stage, we let the hospitals outside of the room enter one by one. In each step possibly a blocking coalition within the room has to be satisfied before turning to the next step. A hospital that is dumped is put outside of the room. The blocking coalitions that are satisfied in this stage are ‘hospital-optimal,’ in the sense that for the hospital involved there is no other blocking coalition available within the room that would give it a better student. In each step the students are not worse off and the number of hospitals in the room does not decrease. Also, in each step there is a student that is strictly better off or the number of hospitals in the room increases strictly. Hence, after a finite number of steps all hospitals have joined the students in the room. Starting from µwe have obtained a stable matching for singles market (PH, P S) through the satisfaction of blocking coalitions. Note that in difference to Roth and Vande Vate’s (1990) original algorithm, in our modified version we use ‘dumping’ of hospitals instead of choosing optimal blocking coalitions to avoid cycles of blocking coalitions in the room in the second stage. Also, Roth and Vande Vate (1990) do not differentiate between a stage in which the focus lies on the entering students (second stage) and a stage in which the focus lies on the entering hospitals (third stage). For couples markets both steps will play an important role. Henceforth we refer to the modified Roth and Vande Vate algorithm presented above as MRV-algorithm. A Deterministic Path Algorithm to Stability for Weakly Responsive Couples Markets Let µbe an arbitrary matching for a weakly responsive couples market (PH, PC). After satisfying one-sided blocking coalitions for µ(first stage) we start putting the couples one by one in an 7
initially empty room (second stage). Each couple enters with their mates under µ. Whenever a couple enters the room with their mates, blocking coalitions within the room are satisfied and the hospitals that are ‘dumped’ are put outside of the room. Thus, after this second stage we obtain a matching where all couples are matched to hospitals in the room, and for which there are no blocking coalitions within the room. Finally, in the third stage, we let the hospitals outside of the room enter one by one. In each step possibly a blocking coalition within the room has to be satisfied before turning to the next step. The blocking coalitions that are satisfied in this stage are ‘hospital-optimal,’ in the sense that for the hospital involved there is no other blocking coalition available within the room that would give it a better student. We call the student that is in all the hospital optimal blocking coalitions associated with the entering hospital the best student. There may be several blocking coalitions that match the entering hospital with the best student. In order to assure the convergence of the algorithm we have to choose the blocking coalition carefully. First, if matching the hospital with the best student while keeping the partner’s match constant is improving the matching for the couple, then we satisfy the associated blocking coalition. However, it may be that the couple together with the hospital and the old match of the best student’s parter does not form a blocking coalition. In this case, we prove (see the Claim in the third stage of the DPC-algorithm and its proof in the Appendix) that the couple together with the hospital and the best student’s previous match forms a blocking coalition. We then match the hospital with its best student and the best student’s partner with the best student’s previous match. In each step the couples are not worse off and the number of hospitals in the room does not decrease. Also, in each step there is a couple that is strictly better off or the number of hospitals in the room increases strictly. Hence, after a finite number of steps all hospitals have joined the couples in the room. Starting from µwe have obtained a stable matching for couples market (PH, PC). Henceforth we refer to this deterministic path algorithm for weakly responsive couples markets as DPC-algorithm. Note that an additional complication in the DPC-algorithm compared to the MRV-algorithm is the specific choice of hospital optimal blocking coalitions in Stage 3. We now formalize the DPC-algorithm. Deterministic path algorithm to stability for weakly responsive couples markets or DPC-algorithm Input: A weakly responsive couples market (PH, PC) and a matching µfor (PH, P C). Initialization: Set A:= ∅. We call Athe room. First Stage: Satisfy all one-sided blocking coalitions (if any) and denote the matching obtained by µ. After Stage 1 we obtain a matching µ1:=µwithout one-sided blocking coalitions. Second Stage: If there exists c0= (s0 1, s0 2)∈C\A, then put the couple and its mates in the room, i.e., •Set A:= (A∪ {c0, µ(s0 1), µ(s0 2)})\{u}. 8
As long as there is a blocking coalition [c00 = (s00 1, s00 2),(h00 1, h00 2)] with {c00, h00 1, h00 2} ⊆ A∪ {u}do: Begin Loop: Satisfy [c00,(h00 1, h00 2)], and put hospitals that are dumped outside of the room: •For i= 1,2, [if µ(s00 i) = h∈H\{h00 1, h00 2}then define µ(h) := ∅and set A:= A\{h}]; •For i= 1,2 with h00 i∈H, [if µ(h00 i) = s∈S\{s00 1, s00 2}then µ(s) := u]; •Define µ(c00) := (h00 1, h00 2) and for i= 1,2, [if h00 i∈Hthen µ(h00 i) := s00 i]. End Loop. After Stage 2 we obtain a matching µ2:= µwhere all couples are in the room and no blocking coalitions exist in the room. Third Stage: As long as there exists h0∈H\Ado: Begin Loop: Set A:= A∪ {h0}. If there is no blocking coalition [c0,(h0 1, h0 2)] with h0∈ {h0 1, h0 2} ⊆ A∪ {u}, then GO BACK to the beginning of the Third Stage. If there are blocking coalitions [c0,(h0 1, h0 2)] with h0∈ {h0 1, h0 2} ⊆ A∪{u}, then let s0 1be h0’s most preferred mate among the ones it could get at these blocking coalitions. Let s0 2be the partner of s0 1. Without loss of generality, c0= (s0 1, s0 2)∈C. Claim: [c0,(h0, µ(s0 2))] or [c0,(h0, µ(s0 1))] is a blocking coalition. Case (a): If [c0,(h0, µ(s0 2))] is a blocking coalition, then satisfy it and if a hospital is dumped (at most one!), then put it outside of the room: •Let h∗:= µ(s0 1). If h∗∈H, then define µ(h∗) := ∅and set A:= A\{h∗}; •Define µ(c0) := (h0, µ(s0 2)). Case (b): Satisfy blocking coalition [c0,(h0, µ(s0 1))] (Claim) and if a hospital is dumped (at most one!), then put it outside of the room: •Let h∗:= µ(s0 2). If h∗∈H, then define µ(h∗) := ∅and set A:= A\{h∗}; •Define µ(c0) := (h0, µ(s0 1)). End Loop. After Stage 3 we obtain a matching µ3:= µwhere all couples and all hospitals are in the room and no blocking coalitions exist in the room. Output: A stable matching µfor (PH, P C). Note that throughout the DPC-algorithm every new matching is obtained by satisfying a blocking coalition. The proof that the DPC-algorithm is well-defined and produces a stable matching for any weakly responsive couples market in a finite number of steps is given in the Appendix. In the following example we visualize the DPC-algorithm, showing the process of satisfying blocking coalitions. 9
It remains to show that the third stage is indeed well-defined and that the final matching is stable. To this end it is sufficient to show that the matching at the beginning of each loop satisfies the following properties.7 (i) There is no one-sided blocking coalition; (ii) There is no blocking coalition [c0,(h0 1, h0 2)] with {h0 1, h0 2} ⊆ (A∪ {u})\{h0}; (iii) The Claim holds (which is conditional upon the existence of a blocking coalition [c0,(h0 1, h0 2)] with h0∈ {h0 1, h0 2} ⊆ A∪ {u}). Induction Basis: We prove that conditions (i)-(iii) hold when the algorithm enters the loop of the third stage for the first time. (i) and (ii): It follows from the properties of µ2that (i) and (ii) hold when the algorithm enters the loop of the third stage for the first time. (iii): We prove that (iii) holds when the algorithm enters the loop for the first time. Assume that hospital h0∈H\Aenters the first loop and that there is a blocking coalition [c0,(h0 1, h0 2)] with h0∈ {h0 1, h0 2} ⊆ A∪ {u}. Let s0 1be h0’s most preferred mate among the ones he would get at these blocking coalitions. Let s0 2be the partner of s0 1. Without loss of generality we assume that c0= (s0 1, s0 2)∈C. Given couple c0’s weakly responsive preferences ºc0, let ºs0 1and ºs0 2be associated individual preferences for students s0 1and s0 2. Suppose to the contrary that (iii) does not hold. Then [c0,(h0, µ(s0 1))] and [c0,(h0, µ(s0 2))] are not blocking coalitions. Hence, there is a blocking coalition [c0,(h0, h0 3)] with h0 3∈A∪ {u}\{µ(s0 1), µ(s0 2)}. Denote h∗ 1=µ(s0 1) and h∗ 2=µ(s0 2). If h0 3Âs0 2h∗ 2then [c0,(h∗ 1, h0 3)] would be a blocking coalition in (A∪ {u})\{h0}, contradicting (i) or (ii). So assume h∗ 2Âs0 2h0 3. It follows from (h0, h0 3)Âc0(h∗ 1, h∗ 2) and weak responsiveness that h0Âs0 1h∗ 1. Then, [c0,(h0, h∗ 2)] = [c0,(h0, µ(s0 2))] is also a blocking coalition. This contradicts the assumption that (iii) is false. Induction Assumption: Suppose that (i)-(iii) hold for loops 1 up to kof the third stage. Induction Step: Now consider loop k+ 1 (where k≥1) of the third stage. Since no agent is forced to accept an unacceptable agent in loop k, (i) is true. Using the arguments for (iii) of the first loop it is easy to check that (iii) is again true for loop k+ 1 if (ii) is also true for loop k+ 1. So it only remains to prove that (ii) holds for loop k+ 1. It is clear that (ii) holds for loop k+ 1 if in loop kthere is no blocking coalition [c0,(h0 1, h0 2)] with h0∈ {h0 1, h0 2} ⊆ A∪ {u}. Let µkand µk+1 be the matchings at the beginning of loops kand k+1, respectively. Assume that in loop kblocking coalition [c0,(h0, µk(s0 2))] or [c0,(h0, µk(s0 1))] with c0= (s0 1, s0 2) is satisfied. If a hospital h∗is dumped in the process of satisfying the blocking coalition in loop k, then at the beginning of loop k+ 1 the room is defined as A\{h∗}. To prove (ii) for loop k+ 1, we have to show that for µk+1 there is no blocking coalition [¯c, (ˆ h, ˜ h)] with {ˆ h, ˜ h} ⊆ (A\{h∗})∪ {u}. Suppose, by contradiction, there is such a blocking coalition. Note that all agents remaining in the room [i.e., all agents in (A\{h∗})∪ {u}] are (weakly) better off at µk+1 compared to µk. So, [¯c, (ˆ h, ˜ h)] also blocks µk. Hence, if h06∈ {ˆ h, ˜ h}, then we obtain a contradiction to induction assumption (i) or (ii) for loop k. So, without loss of generality, {ˆ h, ˜ h}={h0,˜ h}. 7In order to take care of the final outcome of the algorithm, one should also prove that the matching at the end of each loop satisfies the same properties. This has been taken care of by the induction argument we use. 16
If ¯c6=c0, then it follows immediately that in loop khospital h0did not choose its optimal blocking mate; a contradiction. Similarly, if the blocking coalition in question equals [c0,(˜ h, h0)], then s0 2Âh0s0 1and hospital h0did not choose its optimal blocking mate; a contradiction. Hence, the blocking coalition we consider is of the form [c0,(h0,˜ h)]. Case (a): Let [c0,(h0, µk(s0 2))] be the blocking coalition that is satisfied in loop k. Then, the room at the beginning of loop k+ 1 equals (A\{µk(s0 1)})∪ {u}. Since [c0,(h0,˜ h)] is a blocking coalition we have (h0,˜ h)Âc0(h0, µk(s0 2)). Weak responsiveness of c0’s preferences implies that ˜ hÂs0 2µk(s0 2). If ˜ h=u, this contradicts induction assumption (i) for loop k. If ˜ h∈H, then since the room at the beginning of loop k+ 1 equals (A\{µk(s0 1)})∪ {u}, ˜ h6=µk(s0 1). Then by weak responsiveness of c0’s preferences, (µk(s0 1),˜ h)Âc0(µk(s0 1), µk(s0 2)). So, [c0,(µk(s0 1),˜ h)] is a blocking coalition for µk, contradicting induction assumption (ii) for loop k. For Case (a) this finishes the proof of (ii) for loop k+ 1. Case (b): Let [c0,(h0, µk(s0 1))] be the blocking coalition that is satisfied in loop k. Then, the room at the beginning of loop k+ 1 equals (A\{µk(s0 2)})∪ {u}. Since we are in Case (b), [c0,(h0, µk(s0 2))] was not a blocking coalition. (In particular, µk(s0 2)6=µk(s0 1).) Thus, (µk(s0 1), µk(s0 2))Âc0(h0, µk(s0 2)). Hence, by weak responsiveness of c0’s preferences, µk(s0 1)Âs0 1h0. In order for [c0,(h0, µk(s0 1))] to be a blocking coalition, weak responsiveness of c0’s preferences requires that µk(s0 1)Âs0 2µk(s0 2). Since [c0,(h0,˜ h)] is a blocking coalition we have (h0,˜ h)Âc0(h0, µk(s0 1)). Weak responsiveness of c0’s preferences implies ˜ hÂs0 2µk(s0 1) and ˜ h6=µk(s0 1). Then transitivity and µk(s0 1)Âs0 2µk(s0 2) imply ˜ hÂs0 2µk(s0 2) and ˜ h6=µk(s0 2). Then by weak responsiveness of c0’s preferences, (µk(s0 1),˜ h)Âc0(µk(s0 1), µk(s0 2)). So, [c0,(µk(s0 1),˜ h)] is a blocking coalition for µk, contradicting induction assumption (ii) for loop k. For Case (b) this finishes the proof of (ii) for loop k+ 1. 2 17
References Checker, A. (1973) “The National Intern and Resident Matching Program, 1966-1972,” Journal of Medical Education,48, 107-109. Diamantoudi, E., Miyagawa, E., and Xue, L. (2004) “Random Paths to Stability in the Roommate Problem,” Games and Economic Behavior,48, 18-28. Gale, D. and Shapley, L.S. (1962) “College Admissions and the Stability of Marriage,” American Mathematical Monthly,69, 9-15. Klaus, B. and Klijn, F. (2005) “Stable Matchings and Preferences of Couples,” Journal of Economic Theory,121, 75-106. Ma, J. (1996) “On Randomized Matching Mechanisms,” Economic Theory,8, 377-381. P´apai, S. (2004) “Random Paths to Stability in Hedonic Coalition Formation,” Working Paper, June 2004, Department of Finance and Business Economics, University of Notre Dame, USA. Ronn, E. (1990) “NP-Complete Stable Matching Problems,” Journal of Algorithms,11, 285- 304. Roth, A.E. (1984) “The Evolution of the Labor Market for Medical Interns and Residents: a Case Study in Game Theory,” Journal of Political Economy,92, 991-1016. Roth, A.E. (1985) “The College Admissions Problem is not Equivalent to the Marriage Problem,” Journal of Economic Theory,36, 277-288. Roth, A.E. (2002) “The Economist as Engineer: Game Theory, Experimentation, and Computation as Tools for Design Economics,” Econometrica,70, 1341-1378. Roth, A.E. and Peranson, E. (1999) “The Redesign of the Matching Market for American Physicians: Some Engineering Aspects of Economic Design,” American Economic Review, 89, 748-780. Roth, A.E. and Sotomayor, M.A.O. (1990) Two-Sided Matching: A Study in Game-Theoretic Modeling and Analysis. Econometric Society Monograph Series. New York: Cambridge University Press. Roth, A.E. and Vande Vate, J.H. (1990) “Random Paths to Stability in Two-Sided Matching,” Econometrica,58, 1475-1480. 18