The Generalized Median Stable Matchings: finding them is not that easy

Size: px
Start display at page:

Download "The Generalized Median Stable Matchings: finding them is not that easy"

Transcription

1 The Generalized Median Stable Matchings: finding them is not that easy Christine T. Cheng Department of Computer Science University of Wisconsin Milwaukee, Milwaukee, WI 53211, USA. Abstract. Let I be a stable matching instance with N stable matchings. For each man m, order his N stable partners from his most preferred to his least preferred. Denote the ith woman in his sorted list as p i(m). Let α i consist of the man-woman pairs where each man m is matched to p i(m). Teo and Sethuraman proved this surprising result: for i = 1 to N, not only is α i a matching, it is also stable. The α i s are called the generalized median stable matchings of I. In this paper, we present a new characterization of these stable matchings that is solely based on I s rotation poset. We then prove the following: when i = O(log n), where n is the number of men, α i can be found efficiently; but when i is a constant fraction of N, finding α i is NPhard. We also consider what it means to approximate the median stable matching of I, and present results for this problem. 1 Introduction In the stable marriage problem (SM), there are n men and n women, each of whom has a list that ranks all individuals of the opposite sex. A matching is a set of man-woman pairs where each individual appears in at most one pair. The objective of the problem is to find a matching µ that has n pairs and has no blocking pairs i.e., a man and a woman who prefer each other over their partners in µ. The rationale behind the stability condition is that if a blocking pair exists, then the man and the woman will likely leave their partners and thereby compromise the integrity of the matching µ. A celebrated result by Gale and Shapley states that every instance of SM has a stable matching that can be found in O(n 2 ) time [5]. Today, centralized stable matching algorithms match medical residents to hospitals [14], students to schools [1, 2], etc. To find a stable matching for an arbitrary instance, Gale and Shapley presented the deferred-acceptance (DA) algorithm, where the men ask and the women accept or reject offers. The result is the man-optimal/woman-pessimal stable matching every man is matched to the woman he prefers the most among all his partners in a stable matching and every woman is matched to the man she prefers the least among all her partners in a stable matching. On the other hand, when the men and women switch roles, the result is the womanoptimal/man-pessimal stable matching and is defined accordingly. Thus, while

2 the DA algorithm produces a stable matching, one may not want to use the matching because it is biased towards one side of the matching. This motivates the problem of finding fair stable matchings. Different notions of fair stable matchings have been considered in the past. Suppose a person s happiness in a stable matching is based on his/her partner s rank in his/her preference list. Selkow [12] and, later, Gusfield [6] studied the minimum-regret stable matching, which maximizes the happiness of the unhappiest person in the matching. Irving et al. [9], on the other hand, considered the egalitarian stable matching, which maximizes the sum of the happiness of all the participants. In both cases, the proposed stable matchings can be found in polynomial time. However, by using global measures, these types of stable matchings may sacrifice the happiness of some individuals as they aim for the greater good. In another direction, Klaus and Klijn [11] suggested designing probabilistic matching mechanisms that are procedurally fair. That is, a stable matching is considered fair if the procedure used to arrive at the outcome is equitable to all the participants. They studied three different random mechanisms and the probability distributions they induce on the stable matchings of an instance. Yet another notion of fair stable matchings is due to Teo and Sethuraman [15]. Let I be a stable matching instance, M(I) its set of stable matchings, and N = M(I). Let p µ (a) denote the partner of a in stable matching µ. For each man m, sort the multiset of women {p µ (m), µ M(I)} from m s most preferred to least preferred woman. Let p i (m) denote the ith woman in this sorted list for i = 1,..., N. Do the same for each woman w. By applying linear programming tools, they showed that the following family of stable matchings exists: Lemma 1. [Teo and Sethuraman] Let α i consist of man-woman pairs where each man m is matched to p i (m). Similarly, let β i consist of all man-woman pairs where each woman w is matched to p i (w). For i = 1,..., N, α i and β i are stable matchings; moreover, α i = β N i+1. The most remarkable of these stable matchings are the ones in the middle α (N+1)/2 when N is odd, and α N/2 and α (N+2)/2 when N is even called the median stable matching of I. 1 It matches every participant to his/her (lower or upper) median stable partner and, thus, is fair at the individual level in a very strong sense. The stable matchings α i and β N i+1 are called the ith generalized median stable matching of I, for i = 1,..., N. Since Teo et al. s work [15], two other sets of authors [10, 4] have proven the existence of these matchings using different tools. No one, however, has addressed the complexity of finding an instance s median stable matching. Simply using the definition can be inefficient because there are instances whose number of stable matchings is exponential in the input size. Our goal is to fill this gap. To find an instance s median stable matching, we take a combinatorial approach and use its rotation poset. Algorithmically, the rotation poset is a very 1 Throughout the paper, we shall refer to an instance s median stable matching in singular form even though there can be two such matchings.

3 useful structure because it encodes all the stable matchings of the instance and, yet, is polynomial in the input size. Our main results are as follows: First, we present a new characterization of the generalized median stable matchings that is solely based on rotation posets. It implies that to find an instance s median stable matching, enumerating all of its stable matchings can be avoided; instead, the task can be accomplished by counting certain subsets of its rotation poset. Additionally, the characterization also provides interesting insights into the generalized median stable matchings that are not evident from their definitions. We prove that finding α i and α N i+1 can be done efficiently when i = O(log n), but that it is NP-hard when i is a constant fraction of N. Hence, finding an instance s median stable matching is NP-hard. Finally, we consider what it means to approximate the median stable matching of an instance, and present results for this problem. The outline for the rest of the paper is as follows: in Section 2, we define rotation posets and describe their properties. We present the new characterization for the generalized median stable matchings in Section 3, and prove the easy cases and the hardness result for finding α i in Section 4. We consider the problem of approximating the median stable matching in Section 5. 2 Some background: distributive lattices and rotation posets Let I be a stable matching instance, and µ and µ be two of its stable matchings. An individual a prefers µ to µ if a prefers his/her partner in µ over his/her partner in µ ; otherwise, a prefers µ to µ or is indifferent between them if a has the same partner in both matchings. The stable matching µ dominates µ, denoted as µ µ, if every man prefers µ to µ or is indifferent between them. It turns out that the dominance relation induces a nice structure on M(I). Theorem 1. [12] (M(I), ) is a distributive lattice. The top and bottom elements of M(I) 2 are the man-optimal stable matching µ M and the woman-optimal stable matching µ W of I, respectively since µ M dominates every stable matching of I which, in turn, dominates µ W. Associated with the distributive lattice M(I) is the rotation poset of I. Rotations are the incremental changes that need to be made so that a stable matching µ can be transformed into another stable matching µ that it dominates. We define them formally next; we refer readers to [7] for a thorough discussion of the subject. When µ µ W, there is a man m so that p µ (m) p µw (m). For each such man m, define his successor woman, s µ (m), as the first woman on his preference 2 We sometimes use M(I) to refer to the set as well as the distributive lattice. The context will indicate which one we are referring to.

4 list that follows p µ (m), and prefers him over her current partner in µ. For example, p µw (m) is a possible candidate for s µ (m) but there may be other eligible women ahead of her in m s preference list. A rotation ρ exposed in µ is a cyclic sequence of man-woman pairs ρ = ((m 0, w 0 ), (m 1, w 1 ),..., (m r 1, w r 1 )) such that (m i, w i ) µ and s µ (m i ) = w i+1 for all i where the addition in the subscript is modulo r. To eliminate ρ from µ, each man m i in ρ is matched to w i+1 while the rest of the pairs not in ρ are kept the same. The result is another stable matching denoted as µ/ρ which µ dominates. Let I be an SM instance of size n (i.e., it has n men and n women), and let R(I) denote the set of all rotations that are exposed in the stable matchings of I. We note the following properties of rotations. First, a man-woman pair can be part of at most one rotation of I. Thus, R(I) n 2 /2 because every rotation consists of at least two pairs, and the rotations in R(I) together contain at most n 2 pairs. Second, if ρ and ρ are two rotations exposed in µ, ρ and ρ do not have any pairs in common. This implies that ρ remains exposed in µ/ρ. Third, whenever µ µ W, there will always be at least one rotation ρ exposed in µ. Furthermore, there is no stable matching µ such that µ µ µ/ρ. Thus, in the Hasse diagram of M(I), every edge between two stable matchings can be labeled by the rotation whose elimination from the dominant stable matching results in the dominated stable matching. A rotation ρ precedes rotation ρ, ρ ρ, if in order to obtain a stable matching in which ρ is exposed, ρ must be eliminated first. The pair (R(I), ) is called the rotation poset of I. Gusfield has shown that R(I) can be constructed in an efficient manner [6]; more precisely, a rotation digraph G(I) whose vertices correspond to the rotations of R(I) and whose transitive closure contains all the precedence relations of R(I) can be built in O(n 2 ) time. A subset S of R(I) is closed if whenever a rotation is in S, all rotations that precede it are also in S. There is a very nice correspondence between the stable matchings of I and the closed subsets of its rotation poset: Theorem 2. [8] There is a one-to-one correspondence between the elements of M(I) and the closed subsets of R(I). In particular, if µ M(I) corresponds to the closed subset S of R(I), then µ can be obtained by starting at µ M and eliminating all the rotations in S. For example, the empty subset of R(I) corresponds to µ M while R(I) itself corresponds to µ W. Given R(I) and one of its closed subsets S, finding the stable matching that corresponds to S takes O(n 2 ) time since constructing µ M takes O(n 2 ) time, and the total number of pairs in the rotations of S cannot exceed n 2. Conversely, finding the closed subset of R(I) that corresponds to a stable matching µ of I also takes O(n 2 ) time. This can be done by starting at µ M, and then eliminating rotations until the partner of every man m is p µ (m). The set containing all the eliminated rotations corresponds to µ. When P is a poset, let c(p ) denote the number of closed subsets of P. According to Theorem 2, c(r(i)) = M(I). Later, we will use the fact that c(p ) is also equal to the number of antichains of P. The correspondence is as

5 µ µ 1 ρ1 µ 2 ρ2 ρ3 3 µ 4 ρ ρ 3 2 µ 5 ρ 4 µ 6 ρ ρ ρ 1 ρ Fig. 1. The Hasse diagrams for the lattice of stable matchings and rotation poset of the example in Section 2. follows: if A is an antichain, let S A be the closed subset that contains A and all the elements that precede a for each a A; if S is a closed subset, let A S be the antichain that contains all the bottom elements of S. Interestingly, the rotation posets of SM instances do not have any special structure in the following sense Blair showed that for every poset P, there is an SM instance I(P ) whose rotation poset is isomorphic to P [3]. In [8], Irving and Leather presented an algorithm that given P will construct I(P ) whose size and construction time is O( P 2 ). Moreover, defining the isomorphism between the elements of P and the rotations of I(P ) is straightforward. Before we end this section, we present an example to illustrate the distributive lattice and rotation poset of the following SM instance I: m 1 : w 1 w 2 w 3 w 4 w 5 w 6 m 2 : w 2 w 3 w 4 w 1 w 5 w 6 m 3 : w 3 w 1 w 5 w 2 w 4 w 6 m 4 : w 4 w 3 w 1 w 2 w 5 w 6 m 5 : w 5 w 1 w 6 w 2 w 3 w 4 m 6 : w 6 w 3 w 1 w 2 w 4 w 5 w 1 : m 4 m 5 m 3 m 1 m 2 m 4 w 2 : m 1 m 2 m 3 m 4 m 5 m 6 w 3 : m 6 m 4 m 2 m 3 m 1 m 5 w 4 : m 2 m 4 m 1 m 3 m 5 m 6 w 5 : m 3 m 5 m 1 m 2 m 4 m 6 w 6 : m 5 m 6 m 1 m 2 m 3 m 4 It has six stable matchings, where µ 1 is the man-optimal stable matching and µ 6 is the woman-optimal stable matching: µ 1 : {(m 1, w 1 ), (m 2, w 2 ), (m 3, w 3 ), (m 4, w 4 ), (m 5, w 5 ), (m 6, w 6 )} µ 2 : {(m 1, w 2 ), (m 2, w 3 ), (m 3, w 1 ), (m 4, w 4 ), (m 5, w 5 ), (m 6, w 6 )} µ 3 : {(m 1, w 2 ), (m 2, w 4 ), (m 3, w 1 ), (m 4, w 3 ), (m 5, w 5 ), (m 6, w 6 )} µ 4 : {(m 1, w 2 ), (m 2, w 3 ), (m 3, w 5 ), (m 4, w 4 ), (m 5, w 1 ), (m 6, w 6 )} µ 5 : {(m 1, w 2 ), (m 2, w 4 ), (m 3, w 5 ), (m 4, w 3 ), (m 5, w 1 ), (m 6, w 6 )} µ 6 : {(m 1, w 2 ), (m 2, w 4 ), (m 3, w 5 ), (m 4, w 1 ), (m 5, w 6 ), (m 6, w 3 )} It has four rotations: ρ 1 : ((m 1, w 1 ), (m 2, w 2 ), (m 3, w 3 )), ρ 2 : ((m 2, w 3 ), (m 4, w 4 )), ρ 3 : ((m 3, w 1 ), (m 5, w 5 )) ρ 4 : ((m 4, w 3 ), (m 5, w 1 ), (m 6, w 6 )). Figure 1 shows the Hasse diagrams of (M(I), ) and (R(I), ). The correspondence between the stable matchings of I and the closed subsets of R(I) are: µ 1 and, µ 2 and {ρ 1 }, µ 3 and {ρ 1, ρ 2 }, µ 4 and {ρ 1, ρ 3 }, µ 5 and {ρ 1, ρ 2, ρ 3 }, µ 6 and {ρ 1, ρ 2, ρ 3, ρ 4 }.

6 3 A new characterization In this section, we present a characterization of the generalized median stable matchings by describing the closed subsets of R(I) they correspond to. Not only does the characterization provide an alternate way to compute the matchings, it also leads to some interesting insights that are not evident from their definitons. Theorem 3. For each ρ R(I), let n ρ denote the number of closed subsets of R(I) that do not contain ρ. For i = 1,..., N, S(i) = {ρ : n ρ < i} is a closed subset of R(I), and α i is the stable matching obtained by starting at µ M and eliminating all the rotations in S(i). Proof. By the definition of closed subsets, the function n ρ is an increasing function; i.e., if ρ precedes ρ in R(I), n ρ < n ρ. Therefore, if ρ S(i), every rotation that precedes ρ also belongs to S(i). For i = 1 to N, let S(α i ) denote the closed subset of R(I) that corresponds to α i. The second part of the theorem states that S(α i ) = S(i). To prove it, we shall show that each man m satisfies the following condition: the set of rotations in S(α i ) that m appears in is exactly the set of rotations in S(i) that m appears in. This is sufficent because if S(α i ) S(i), there is a rotation ρ (S(α i ) S(i)) (S(α i ) S(i)), and every man that appears in ρ will not satisfy the condition. When m does not appear in any rotations in R(I) (i.e., m s partner in µ M is never replaced in any of the stable matchings of I), the above condition is clearly satisfied. So suppose m does appear in some rotations in R(I): ρ 1, ρ 2,..., ρ k where m appears with w j in ρ j. Additionally, suppose m prefers w 1 the most, followed by w 2, then w 3, etc. This means that ρ 1, ρ 2,..., ρ k form a chain in the rotation poset because ρ i must be eliminated before m can be matched to w i+1 for i = 1,..., k 1. Let x j denote the number of stable matchings that match m to w j. By applying the definition of α i, m s partner in α i is w j where j is the index that satisfies the inequality: x 1 + x x j 1 < i x 1 + x x j 1 + x j. (1) In order for m to be matched to w j, rotations ρ 1,..., ρ j 1 have to be eliminated but ρ j, ρ j +1,..., ρ k are not; i.e., of the k rotations that m appears in, the first j 1 are the only ones that lie in S(α i ). Next, notice that if a stable matching corresponds to a closed subset of R(I) that does not contain ρ j, m must be matched to one of the following women: w 1, w 2,..., w j. This implies that n ρj = x 1 + x x j. Applying inequality (1), n ρj < i if and only if j < j. Thus, ρ 1,..., ρ j 1 belong to S(i) but ρ j, ρ j +1,..., ρ k do not. We have now shown that, for every man m, the rotations that m appears in in S(α i ) are exactly the same ones in S(i). Thus, α i is the stable matching obtained by eliminating the rotations in S(i). In the example in Section 2, n ρ1 = 1, n ρ2 = n ρ3 = 3, and n ρ4 = 5. Since N = 6, the median stable matching will consist of two stable matchings the

7 two that correspond to S(3) = {ρ 1 } and S(4) = {ρ 1, ρ 2, ρ 3 }, which are µ 2 and µ 5 respectively. Next, we note some unexpected observations about the generalized median stable matchings. 1. Location of the median stable matching. Does an instance s median stable matching lie in the middle of its lattice of stable matchings or can it be somewhere else? Consider an instance I whose rotation poset consists of k rotations which are pairwise incomparable; i.e., R(I) is an antichain of size k. Every subset of R(I) is a closed subset so I has 2 k stable matchings. Moreover, for each rotation ρ, n ρ = 2 k 1. Thus, for 1 i 2 k 1, S(i) =, and for 2 k i 2 k, S(i) = R(I). In other words, the lower median stable matching of I is the man-optimal stable matching, which is the top element of M(I), while the upper median stable matching of I is the woman-optimal stable matching, which is the bottom element of M(I) exactly the two stable matchings we least expected for the median stable matching! Indeed, it is not difficult to construct examples that show that the median stable matching can lie anywhere in the distributive lattice of stable matchings. 2. Number of distinct generalized median stable matchings. Teo and Sethuraman [15] had already observed that an instance s generalized median stable matchings need not be all distinct. In our example above, the instance has 2 k different stable matchings and, yet, its generalized median stable matchings consisted of only two types. In general, how many could there be? By Theorem 3, it is equal to the number of distinct S(i) sets. But this number is simply one more than the number of distinct n ρ values; the additional one accounts for the fact that none of the rotations belong to S(1). Thus, if I has size n, it can have at most n 2 /2 + 1 distinct types of generalized median stable matchings. 3. Instances with isomorphic rotation posets. Finally, Theorem 3 also implies that an instance s generalized median stable matchings are completely dependent on the structure of its rotation poset. To see this, consider two instances I and I whose rotation posets are isomorphic. Let f be an isomorphism from R(I) to R(I ). For each ρ R(I), n ρ = n f(ρ). Thus, if S(i) is the closed subset of R(I) that corresponds to the ith generalized median stable matching of I, then f(s(i)) = {f(ρ) : ρ S(i)} is the closed subset of R(I ) that corresponds to the ith generalized median stable matching of I. Interestingly, the median stable matching is the only fair stable matching we know of that has this property. 4 Finding the generalized median stable matchings Suppose we find the ith generalized median stable matching of I using its definition, which we call the direct method. It requires (i) enumerating all the stable matchings of I to construct the multiset of stable partners for each man, (ii) sorting each man s multiset of stable partners from his most preferred to his

8 least preferred woman, and (iii) matching each man to the ith woman in his sorted multiset of stable partners. Clearly, the bottleneck is in steps (i) and (ii); these steps take O(n 2 + nn) time by using the enumeration algorithm in [6] for step (i) and bucket sort for step (ii). Lemma 2. Let I be a stable matching instance of size n with N stable matchings. When N is polynomial in n, the direct method for finding α i runs in time polynomial in n, for i = 1,..., N. Thus, when N is no longer polynomial in n, can α i still be computed efficiently? We shall show next that there are indeed some easy cases but that, in general, the the answer is no unless P=NP. Theorem 3 will play a key role in the derivation of our results. Theorem 4. Let I be an SM instance of size n with N stable matchings. When i = O(log n), computing α i and α N i+1 can be done in polynomial time. Proof. Let ρ R(I). Let R(I) ρ denote the poset obtained from R(I) by deleting ρ and every rotation it precedes. Notice that n ρ = c(r(i) ρ ), the number of closed subsets of R(I) ρ. Moreover, (i) when R(I) ρ has at least i 1 elements, ρ S(i) because c(r(i) ρ ) i, and (ii) when R(I) ρ has at most i 2 elements, we can simply check which subsets of R(I) ρ are closed subsets to determine the exact value of c(r(i) ρ ). Using these observations, it is not difficult to show that determining S(i) exactly and then eliminating all its rotations from µ M to construct α i can be done in O(i2 i n 4 ) time. Thus, if i = O(log n), finding α i can be done in polynomial time. Since α N i+1 = β i, the same result also holds for finding α N i The hardness result Suppose P and Q are posets on disjoint sets. Their ordinal sum is the poset P + O Q on the set P Q such that x y in P + O Q if (i) x, y P and x y, or (ii) x, y Q and x y, or (iii) x P and y Q. The following is easy to establish: Lemma 3. Let P and Q be posets on disjoint sets and c( ) be a function that counts the number of closed subsets of a poset. Then c(p + O Q) = c(p )+c(q) 1. Here is a technical lemma we need for our hardness result. Lemma 4. Let M be a positive integer. There is a poset Q M so that Q M = O(log 2 M), the number of edges in its Hasse diagram is O(log 3 M), and c(q M ) = M. Proof. Consider the binary representation of M: b b b k 2 k. Let A i and C i denote an antichain of size i and a chain of size i, respectively. When b 0 = 0 (i.e., M is even), let Q M = A b1 1 + O A b2 2 + O... + O A bk k + O C nz 1 where nz is the number of non-zero bits in the binary representation of M. Thus,

9 Q M k + k = O(k 2 ), which is O(log 2 M); the number of edges in Q M s Hasse diagram is at most (k 1) k + k + k 1 = O(k 3 ), which is O(log 3 M). From Lemma 3, it is straightforward to check that c(a b1 1 + O A b2 2 + O... + O A bk k) = M (nz 1) and c(c nz 1 ) = nz, so c(q M ) = M (nz 1) + nz 1 = M. When b 0 = 1 (i.e., M is odd), let Q M = Q M 1 + O C 1. By applying the same analysis when b 0 = 0, Q M satisfies the three properties in the lemma as well. Theorem 5. Let I be an SM instance with N stable matchings. Suppose p and q are positive integers such that p < q. When i = pn/q, computing α i and α N i+1 is NP-hard. Proof. Since α N i+1 = β i, it is sufficient to prove the theorem for α i. Let us first consider the case when p = 1. Let ComputeMedian-q be an algorithm whose input is an SM instance I and whose output is I s M(I) /q -generalized median stable matching and its corresponding closed subset. Its runtime is f( I ), where I denotes the size of I. Let P be a poset. Recall that c(p ) denotes the number of closed subsets of P. The main idea behind our proof is that ComputeMedian-q can be used to answer queries of the form Is c(p ) m?. We describe how this can be done next. Query(P, m) 1. Construct the poset P 0 = qp + O x + O Q q(q 1)m+q 1 where qp denotes the ordinal sum of q copies of P, x is the singleton poset containing x and Q i is the poset described in Lemma 4. Note that c(p 0 ) = qc(p ) q(q 1)m + q 1 (q 1) 2 = qc(p ) + q(q 1)m. 2. Construct an SM instance I(P 0 ) whose rotation poset is isomorphic to P 0. Find the rotation ρ x in R(I(P 0 )) that corresponds to x in P Use ComputeMedian-q to find I(P 0 ) s M(I(P 0 )) /q -generalized median stable matching and its corresponding closed subset S. 4. If ρ x S return yes ; else, return no. By the construction of P 0, n x = qc(p ) (q 1). Since n ρx = n x and S = S(c(P ) + (q 1)m), ρ x S implies that c(p ) < m + 1 or c(p ) m because c(p ) is an integer. Similarly, when ρ x S, c(p ) m + 1. The correctness of Query follows. It is straightforward to verify that since q is a constant, the sizes of P 0, I(P 0 ), and R(I(P 0 )) are all polynomial in P and log m. Thus, the runtime of Query is polynomial in P, log m and f( P + log m). Now, c(p ) 2 P. To determine c(p ), we simply do a binary search over the range [1, 2 P ] using Query as a subroutine. Clearly, O( P ) queries are sufficient where the value of m in each query is at most 2 P. If Compute-Median-q also runs in time polynomial in its input size, the algorithm we have just described computes c(p ) in time polynomial in P. In [13], it was shown, however, that computing the number of antichains of a poset is #P-complete. Since there is a one-to-one correspondence between the antichains of a poset and its closed subsets, computing c(p ) is also #P-complete. It follows that finding the M(I) /q -generalized median stable matching of an instance I is NP-hard.

10 Let us now prove that the theorem is also true when p > 1. Without loss of generality, assume that p and q are relatively prime. Suppose ComputeMedian-(p, q) is an algorithm like ComputeMedian-q except that it computes the p M(I) /q generalized median stable matching of I and its corresponding closed subset in g( I ) time. This time we shall use ComputeMedian-(p, q) to find the M(I) /q generalized median stable matching of I. ConstructMedian-q(I) 1. Construct R(I). Find positive integers k and r so that pk = qr + 1. (Since p and q are relatively prime, these integers exist. Also, 1 k q and 1 r p.) 2. Create the poset P 0 = R(I) + O x + O R(I) + O x + O R(I) + O... + O x + O R(I) so that there are k copies of R(I) and k 1 copies of x in P 0. For each ρ R(I), mark as ρ (j) the element that corresponds to ρ in the jth copy of R(I). Similarly, mark as x (j) the jth copy of x. Construct an SM instance I(P 0 ) whose rotation poset is isomorphic to P Use ComputeMedian-(p, q) to find the p M(I(P 0 )) /q -generalized median stable matching of I(P 0 ) and its corresponding closed subset S. 4. Let S consist of the rotations in P 0 that have corresponding rotations in S. (Find these rotations using the isomorphism from P 0 to the rotation poset of I(P 0 ).) Let S = {ρ : ρ (r+1) S }. 5. Find the man-optimal matching of I, µ M. Create the M(I) /q -generalized median stable matching of I by eliminating S from µ M and return the stable matching. It is straightforward to verify the following: c(p 0 ) = k c(r(i)), n x (j) = j c(r(i)) for 1 j k 1, and n ρ (j) = (j 1)c(R(I))+n ρ for each ρ R(I), 1 j k 1. By our choice of k and r, we know that pk/q = r +1/q. Thus, in step 3, p M(I(P 0 )) /q = pk c(r(i))/q = r c(r(i))+ c(r(i))/q. Consequently, in step 4, S = r j=1 {ρ(j) : ρ R(I)} {ρ (r+1) : n ρ < c(r(i))/q } {x (j) : j r}. Thus, S = {ρ : n ρ < c(r(i))/q }. Since S is the closed subset that corresponds to the M(I) /q -generalized stable matching of I, step 5 outputs the correct stable matching. Since p and q are constants, P 0 = O( R(I) ). Also, I(P 0 ) = O( R(I) 2 ) so I(P 0 ) = O( I 4 ). It is easy to verify that steps 1, 2, 4 and 5 can be accomplished in time polynomial in I. If ComputeMedian-(p, q) runs in time polynomial in its input size, step 4 will also run in time that is polynomial in I ; i.e., ConstructMedian-q is an efficient algorithm. But we just showed that finding the M(I) /q -generalized stable matching of I is an NP-hard problem. It follows that computing p M(I) /q -generalized stable matching of I when p > 1 is also NP-hard. 5 Approximating the Median Stable Matching While the median stable matching is arguably the most fair stable matching that has been proposed in the literature so far, our result in the previous section

11 shows that finding it is computationally hard unless P=NP. A natural direction to take is to find a stable matching that is close to the median stable matching. When N is an even number, the median stable matching of I consists of α N/2 and α (N+2)/2. Notice though that I may have stable matchings the lie between α N/2 and α (N+2)/2 in M(I). (Recall our example in Section 3.) These stable matchings have the property that at least one (but not all) men are matched to their upper median stable partners and at least one (but not all) women are matched to their lower median stable partners. If we say that α N/2 and α (N+2)/2 are fair because every individual is matched to his/her median stable partner, surely stable matchings that lie between these two matchings must also be fair. By the same reasoning, if we say that α i and α i are good approximations of the median stable matching where i < N/2 < i, every stable matching that lies between the two matchings must also be a good approximation of the median stable matching. This leads us to the following definition: Definition 1. Let I be an SM instance with N stable matchings. Let µ be one of its stable matchings and S µ be its corresponding closed subset in R(I). We say that µ is an ɛ-approximation of the median stable matching of I if µ lies between α N/2 ɛ and α N/2 +ɛ in the lattice of stable matchings of I. That is, S( N/2 ɛ) S µ S( N/2 + ɛ). Since an SM instance of size n can have at most 2 n2 /2 stable matchings, Theorem 4 implies that finding an (N/2 O(log log N))-approximation to the median stable matching of an SM instance can be found efficiently. In the next theorem, we present a slight improvement over this result. Theorem 6. Let I be an SM instance of size n with N stable matchings. Finding a stable matching µ of I such that µ lies between α log N/2 and α N log N/2 can be done in O(n 2 ) time. That is, finding an (N/2 O(log N))-approximation to the median stable matching of an SM instance can be found efficiently. Proof. Suppose R(I) has m rotations. Let ρ 1, ρ 2,..., ρ m be a topological ordering of its rotations. Let J r = {ρ 1, ρ 2,..., ρ r 1 } for r = 1,..., m + 1. Claim: For r = 1,..., m+1, J r is a closed subset, and S(r) J r S(N m+r). Proof of Claim: Since the rotations are ordered topologically, when ρ J r, every rotation that precedes ρ also belongs to J r. That is, J r is a closed subset. Suppose ρ does not belong to J r. Then n ρ r because J 1, J 2,..., J r are all closed subsets that do not contain ρ. Hence, ρ S(r). In other words, S(r) J r. On the other hand, when ρ J r, there are at least m r + 1 closed subsets that contain ρ: J i+1 for i = r,..., m. Thus, N n ρ m r +1 or N m+r 1 n ρ, so ρ S(N m + r). When r = m/2, S( m/2 ) J m/2 S(N m/2 ). But because R(I) has m rotations, m+1 N 2 m. Hence, m log N so S( log N/2 ) J m/2 S(N log N/2 ). Thus, the stable matching of I that corresponds to the closed subset J m/2 lies between α log N/2 and α N log N/2.

12 Now, constructing R(I) and its accompanying digraph G(I) takes O(n 2 ) time. Topologically sorting its rotations also take O(n 2 ) time. Finding µ M, and then eliminating all rotations of J m/2 from µ M also takes O(n 2 ) time. Thus, finding the stable matching in the theorem takes O(n 2 ) time. In contrast, we have the next result whose proof is like that of Theorem 5. Theorem 7. Let ɛ be a constant. Let I be an SM instance with N stable matchings. Finding a stable matching µ of I such that µ lies between α N/2 ɛ and α N/2 +ɛ is NP-hard. That is, finding an O(1)-approximation to the median stable matching of an SM instance is NP-hard. Interestingly, this leaves us with the following problem: Open Problem: Is there an efficient algorithm for finding an ɛ-approximation to the median stable matching of an SM instance where ɛ is ω(1) but at most N/2 Ω(log N)? References 1. A. Abdulkadiroglu, P. Pathak, and A. Roth. The New York City high school match. American Economic Review, Papers and Proceedings, 95: , A. Abdulkadiroglu, P. Pathak, A. Roth, and T. Sönmez. The Boston public school match. American Economic Review, Papers and Proceedings, 95: , C. Blair. Every finite distributive lattice is a set of stable matchings. Journal of Combinatorial Theory A, 37: , T. Fleiner. A fixed-point approach to stable matchings and some applications. Mathematics of Operations Research, 28: , D. Gale and L. Shapley. College admissions and the stability of marriage. American Mathematical Monthly, 69:9 15, D. Gusfield. Three fast algorithms for four problems in stable marriage. SIAM Journal on Computing, 16: , D. Gusfield and R. Irving. The Stable Marriage Problem: Structure and Algorithms. The MIT Press, R. Irving and P. Leather. The complexity of counting stable marriages. SIAM Journal on Computing, 15: , R. Irving, P. Leather, and D. Gusfield. An efficient algorithm for the optimal stable marriage. Journal of the ACM, 34: , B. Klaus and F. Klijn. Median stable matchings for college admissions. International Journal of Game Theory, 34:1 11, B. Klaus and F. Klijn. Procedurally fair and stable matching. Economic Theory, 27: , D. Knuth. Mariages Stables. Les Presses de l Université de Montréal, J. Provan and M. Ball. The complexity of counting cuts and of computing the probability that a graph is connected. SIAM Journal on Computing, 12: , A. Roth and E. Peranson. The redesign of the matching market of American physicians: Some engineering aspects of economic design. American Economic Review, 89: , C.-P. Teo and J. Sethuraman. The geometry of fractional stable matchings and its applications. Mathematics of Operations Research, 23: , 1998.

The Man-Exchange Stable Marriage Problem

The Man-Exchange Stable Marriage Problem The Man-Exchange Stable Marriage Problem Robert W. Irving Department of Computing Science, University of Glasgow, Glasgow G12 8QQ, UK. Email: {rwi}@dcs.gla.ac.uk. Abstract. We study a variant of the classical

More information

Stable Matching Problems with Exchange Restrictions

Stable Matching Problems with Exchange Restrictions Stable Matching Problems with Exchange Restrictions Robert W. Irving Department of Computing Science, University of Glasgow, Glasgow G12 8QQ, UK. email: rwi@dcs.gla.ac.uk telephone: 44-141-330-4478 fax:

More information

SEQUENTIAL ENTRY IN ONE-TO-ONE MATCHING MARKETS

SEQUENTIAL ENTRY IN ONE-TO-ONE MATCHING MARKETS REVISTA DE LA UNIÓN MATEMÁTICA ARGENTINA Vol. 54, No. 2, 2013, Pages 1 14 Published online: December 21, 2013 SEQUENTIAL ENTRY IN ONE-TO-ONE MATCHING MARKETS BEATRIZ MILLÁN Abstract. We study in one-to-one

More information

Stable Marriage with Ties and Bounded Length Preference Lists

Stable Marriage with Ties and Bounded Length Preference Lists Stable Marriage with Ties and Bounded Length Preference Lists Robert W. Irving, David F. Manlove, and Gregg O Malley Department of Computing Science, University of Glasgow, Glasgow G12 8QQ, UK. Email:

More information

Input. A set of men M, and a set of women W.

Input. A set of men M, and a set of women W. Input. A set of men M, and a set of women W. Input. A set of men M, and a set of women W. Every agent has a set of acceptable partners. Input. A set of men M, and a set of women W. Every agent has a set

More information

Weights in stable marriage problems increase manipulation opportunities

Weights in stable marriage problems increase manipulation opportunities Weights in stable marriage problems increase manipulation opportunities Maria Silvia Pini 1, Francesca Rossi 1, Kristen Brent Venable 1, Toby Walsh 2 1 : Department of Pure and Applied Mathematics, University

More information

Three-dimensional Stable Matching Problems. Cheng Ng and Daniel S. Hirschberg. Department of Information and Computer Science

Three-dimensional Stable Matching Problems. Cheng Ng and Daniel S. Hirschberg. Department of Information and Computer Science Three-dimensional Stable Matching Problems Cheng Ng and Daniel S Hirschberg Department of Information and Computer Science University of California, Irvine Irvine, CA 92717 Abstract The stable marriage

More information

Cheating to Get Better Roommates in a Random Stable Matching

Cheating to Get Better Roommates in a Random Stable Matching Cheating to Get Better Roommates in a Random Stable Matching Chien-Chung Huang Technical Report 2006-582 Dartmouth College Sudikoff Lab 6211 for Computer Science Hanover, NH 03755, USA villars@cs.dartmouth.edu

More information

Bipartite Matchings and Stable Marriage

Bipartite Matchings and Stable Marriage Bipartite Matchings and Stable Marriage Meghana Nasre Department of Computer Science and Engineering Indian Institute of Technology, Madras Faculty Development Program SSN College of Engineering, Chennai

More information

Lecture 5: The Principle of Deferred Decisions. Chernoff Bounds

Lecture 5: The Principle of Deferred Decisions. Chernoff Bounds Randomized Algorithms Lecture 5: The Principle of Deferred Decisions. Chernoff Bounds Sotiris Nikoletseas Associate Professor CEID - ETY Course 2013-2014 Sotiris Nikoletseas, Associate Professor Randomized

More information

Strategic Behavior and Manipulation in Gender- Neutral Matching Algorithms

Strategic Behavior and Manipulation in Gender- Neutral Matching Algorithms Rochester Institute of Technology RIT Scholar Works Theses Thesis/Dissertation Collections 12-2018 Strategic Behavior and Manipulation in Gender- Neutral Matching Algorithms Sanjay Varma Rudraraju sr2567@rit.edu

More information

On rank-profiles of stable matchings a

On rank-profiles of stable matchings a R u t c o r Research R e p o r t On rank-profiles of stable matchings a Endre Boros b Liliya Fedzhora d Vladimir Gurvich c Steven Jaslar e RRR 16-01, March, 01 RUTCOR Rutgers Center for Operations Research

More information

Marriage Matching: A Conjecture of Donald Knuth

Marriage Matching: A Conjecture of Donald Knuth University of Connecticut DigitalCommons@UConn Economics Working Papers Department of Economics May 007 Marriage Matching: A Conjecture of Donald Knuth Vicki Knoblauch University of Connecticut Follow

More information

An Efficient Algorithm for Batch Stability Testing

An Efficient Algorithm for Batch Stability Testing n fficient lgorithm for atch Stability Testing John abney School of omputing lemson University jdabney@cs.clemson.edu rian. ean School of omputing lemson University bcdean@cs.clemson.edu pril 25, 2009

More information

Published: Social Choice and Welfare, 33(1), June 2009, pp doi: /s SEQUENTIAL ENTRY IN MANY-TO-ONE MATCHING MARKETS

Published: Social Choice and Welfare, 33(1), June 2009, pp doi: /s SEQUENTIAL ENTRY IN MANY-TO-ONE MATCHING MARKETS Published: Social Choice and Welfare, 33(1), June 2009, pp 87-99 doi:10.1007/s00355-008-0347-3 SEQUENTIAL ENTRY IN MANY-TO-ONE MATCHING MARKETS ELETTE BOYLE AND FEDERICO ECHENIQUE Abstract. We study sequential

More information

Modelling and Solving the Stable Marriage Problem Using Constraint Programming

Modelling and Solving the Stable Marriage Problem Using Constraint Programming Modelling and Solving the Stable Marriage Problem Using Constraint Programming David F. Manlove, and Gregg O Malley Department of Computing Science, University of Glasgow, Glasgow G12 8QQ, UK. Email: {davidm,gregg}@dcs.gla.ac.uk.

More information

1. REPRESENTATIVE PROBLEMS

1. REPRESENTATIVE PROBLEMS 1. REPRESENTATIVE PROBLEMS stable matching five representative problems Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley Copyright 2013 Kevin Wayne http://www.cs.princeton.edu/~wayne/kleinberg-tardos

More information

Matching Theory and the Allocation of Kidney Transplantations

Matching Theory and the Allocation of Kidney Transplantations University of Utrecht Bachelor Thesis Matching Theory and the Allocation of Kidney Transplantations Kim de Bakker Supervised by Dr. M. Ruijgrok 14 June 2016 Introduction Matching Theory has been around

More information

Glasgow eprints Service

Glasgow eprints Service Halldorsson, M. and Irving, R.W. and Iwama, K. and Manlove, D. F. and Miyazaki, S. and Morita, Y. and Scott, S. (2003) Approximability results for stable marriage problems with ties. Theoretical Computer

More information

An improved approximation algorithm for the stable marriage problem with one-sided ties

An improved approximation algorithm for the stable marriage problem with one-sided ties Noname manuscript No. (will be inserted by the editor) An improved approximation algorithm for the stable marriage problem with one-sided ties Chien-Chung Huang Telikepalli Kavitha Received: date / Accepted:

More information

Matching Theory. Mihai Manea. Based on slides by Fuhito Kojima. MIT

Matching Theory. Mihai Manea. Based on slides by Fuhito Kojima. MIT Matching Theory Mihai Manea MIT Based on slides by Fuhito Kojima. Market Design Traditional economics focuses mostly on decentralized markets. Recently, economists are helping to design economic institutions

More information

Weights in Stable Marriage Problems Increase Manipulation Opportunities

Weights in Stable Marriage Problems Increase Manipulation Opportunities Weights in Stable Marriage Problems Increase Manipulation Opportunities Maria Silvia Pini mpini@math.unipd.it Francesca Rossi frossi@math.unipd.it Toby Walsh NICTA and UNSW Sydney, Australia toby.walsh@nicta.com.au

More information

STABLE MARRIAGE PROBLEM WITH TIES AND INCOMPLETE BOUNDED LENGTH PREFERENCE LIST UNDER SOCIAL STABILITY

STABLE MARRIAGE PROBLEM WITH TIES AND INCOMPLETE BOUNDED LENGTH PREFERENCE LIST UNDER SOCIAL STABILITY STABLE MARRIAGE PROBLEM WITH TIES AND INCOMPLETE BOUNDED LENGTH PREFERENCE LIST UNDER SOCIAL STABILITY Ashish Shrivastava and C. Pandu Rangan Department of Computer Science and Engineering, Indian Institute

More information

Improving Man-Optimal Stable Matchings by Minimum Change of Preference Lists

Improving Man-Optimal Stable Matchings by Minimum Change of Preference Lists Algorithms 2013, 6, 371-382; doi:10.3390/a6020371 Article OPEN ACCESS algorithms ISSN 1999-4893 www.mdpi.com/journal/algorithms Improving Man-Optimal Stable Matchings by Minimum Change of Preference Lists

More information

1 Definitions and Things You Know

1 Definitions and Things You Know We will discuss an algorithm for finding stable matchings (not the one you re probably familiar with). The Instability Chaining Algorithm is the most similar algorithm in the literature to the one actually

More information

Two s Company, Three s a Crowd: Stable Family and Threesome Roommates Problems

Two s Company, Three s a Crowd: Stable Family and Threesome Roommates Problems Two s Company, Three s a Crowd: Stable Family and Threesome Roommates Problems Chien-Chung Huang Dartmouth College villars@cs.dartmouth.edu Abstract. We investigate Knuth s eleventh open question on stable

More information

Coalition Manipulation of the Gale-Shapley Algorithm

Coalition Manipulation of the Gale-Shapley Algorithm Coalition Manipulation of the Gale-Shapley Algorithm Weiran Shen and Pingzhong Tang Institute for Interdisciplinary Information Sciences Tsinghua University Beijing, China {emersonswr,kenshinping}@gmail.com

More information

Incentives in Large Random Two-Sided Markets

Incentives in Large Random Two-Sided Markets Incentives in Large Random Two-Sided Markets Nicole Immorlica Mohammad Mahdian November 17, 2008 Abstract Many centralized two-sided markets form a matching between participants by running a stable matching

More information

A (ln 4)-Approximation Algorithm for Maximum Stable Matching with One-Sided Ties and Incomplete Lists

A (ln 4)-Approximation Algorithm for Maximum Stable Matching with One-Sided Ties and Incomplete Lists A ln 4)-Approximation Algorithm for Maximum Stable Matching with One-Sided Ties and Incomplete Lists Chi-Kit Lam C. Gregory Plaxton April 2018 Abstract We study the problem of finding large weakly stable

More information

Stable matching. Carlos Hurtado. July 5th, Department of Economics University of Illinois at Urbana-Champaign

Stable matching. Carlos Hurtado. July 5th, Department of Economics University of Illinois at Urbana-Champaign Stable matching Carlos Hurtado Department of Economics University of Illinois at Urbana-Champaign hrtdmrt2@illinois.edu July 5th, 2017 C. Hurtado (UIUC - Economics) Game Theory On the Agenda 1 Introduction

More information

Matchings in Graphs. Definition 3 A matching N in G is said to be stable if it does not contain a blocking pair.

Matchings in Graphs. Definition 3 A matching N in G is said to be stable if it does not contain a blocking pair. Matchings in Graphs Lecturer: Scribe: Prajakta Jose Mathew Meeting: 6 11th February 2010 We will be considering finite bipartite graphs. Think of one part of the vertex partition as representing men M,

More information

Two-sided Matching Theory

Two-sided Matching Theory Treball nal de grau GRAU DE MATEMÀTIQUES Facultat de Matemàtiques Universitat de Barcelona Two-sided Matching Theory Autor: Helena Fàbregas Vàzquez Director: Dra. Marina Núnez Oliva Realitzat a: Departament

More information

We set up the basic model of two-sided, one-to-one matching

We set up the basic model of two-sided, one-to-one matching Econ 805 Advanced Micro Theory I Dan Quint Fall 2009 Lecture 18 To recap Tuesday: We set up the basic model of two-sided, one-to-one matching Two finite populations, call them Men and Women, who want to

More information

Ma/CS 6b Class 3: Stable Matchings

Ma/CS 6b Class 3: Stable Matchings Ma/CS 6b Class 3: Stable Matchings α p 5 p 12 p 15 q 1 q 7 q 12 β By Adam Sheffer Neighbor Sets Let G = V 1 V 2, E be a bipartite graph. For any vertex a V 1, we define the neighbor set of a as N a = u

More information

Matching: The Theory. Muriel Niederle Stanford and NBER. September 26, 2011

Matching: The Theory. Muriel Niederle Stanford and NBER. September 26, 2011 Matching: The Theory Muriel Niederle Stanford and NBER September 26, 2011 Studying and doing Market Economics In Jonathan Strange and Mr. Norrel, Susanna Clarke describes an England around 1800, with magic

More information

Ma/CS 6b Class 3: Stable Matchings

Ma/CS 6b Class 3: Stable Matchings Ma/CS 6b Class 3: Stable Matchings α p 5 p 12 p 15 q 1 q 7 q 12 By Adam Sheffer Reminder: Alternating Paths Let G = V 1 V 2, E be a bipartite graph, and let M be a matching of G. A path is alternating

More information

Approximation Algorithms for Stable Marriage Problems

Approximation Algorithms for Stable Marriage Problems Approximation Algorithms for Stable Marriage Problems A Dissertation Presented to the Graduate School of Informatics Kyoto University in Candidacy for the Degree of Doctor of Philosophy by Hiroki Yanagisawa

More information

The key is that there are two disjoint populations, and everyone in the market is on either one side or the other

The key is that there are two disjoint populations, and everyone in the market is on either one side or the other Econ 805 Advanced Micro Theory I Dan Quint Fall 2009 Lecture 17 So... two-sided matching markets. First off, sources. I ve updated the syllabus for the next few lectures. As always, most of the papers

More information

ONLINE APPENDIX TO HOW TO CONTROL CONTROLLED SCHOOL CHOICE (NOT FOR PUBLICATION)

ONLINE APPENDIX TO HOW TO CONTROL CONTROLLED SCHOOL CHOICE (NOT FOR PUBLICATION) ONLINE APPENDIX TO HOW TO CONTROL CONTROLLED SCHOOL CHOICE (NOT FOR PUBLICATION) FEDERICO ECHENIQUE AND M. BUMIN YENMEZ Appendix B. Proofs of Theorems 1-6 The following rationality axiom simply says that

More information

THREE ESSAYS ON GAME THEORY. Demet Yilmazkuday. Dissertation. Submitted to the Faculty of the. Graduate School of Vanderbilt University

THREE ESSAYS ON GAME THEORY. Demet Yilmazkuday. Dissertation. Submitted to the Faculty of the. Graduate School of Vanderbilt University THREE ESSAYS ON GAME THEORY By Demet Yilmazkuday Dissertation Submitted to the Faculty of the Graduate School of Vanderbilt University in partial ful llment of the requirements for the degree of DOCTOR

More information

CSC2556. Lecture 5. Matching - Stable Matching - Kidney Exchange [Slides : Ariel D. Procaccia]

CSC2556. Lecture 5. Matching - Stable Matching - Kidney Exchange [Slides : Ariel D. Procaccia] CSC2556 Lecture 5 Matching - Stable Matching - Kidney Exchange [Slides : Ariel D. Procaccia] CSC2556 - Nisarg Shah 1 Announcements The assignment is up! It is complete, and no more questions will be added.

More information

Finding Stable Matchings that are Robust to Errors in the Input

Finding Stable Matchings that are Robust to Errors in the Input Finding Stable Matchings that are Robust to Errors in the Input Tung Mai 1 and Vijay V. Vazirani 1 arxiv:1804.00553v4 [cs.ds] 14 Dec 2018 1 University of California, Irvine Abstract We study the problem

More information

Local Search Approaches in Stable Matching Problems

Local Search Approaches in Stable Matching Problems Algorithms 23, 6, 59-67; doi:.339/a6459 Article OPEN ACCESS algorithms ISSN 999-4893 www.mdpi.com/journal/algorithms Local Search Approaches in Stable Matching Problems Mirco Gelain, Maria Silvia Pini,

More information

An Equivalence result in School Choice

An Equivalence result in School Choice An Equivalence result in School Choice Jay Sethuraman May 2009 Abstract The main result of the paper is a proof of the equivalence of single and multiple lottery mechanisms for the problem of allocating

More information

DISTRIBUTIVE LATTICES, STABLE MATCHINGS, AND ROBUST SOLUTIONS. A Dissertation Presented to The Academic Faculty. Tung Mai

DISTRIBUTIVE LATTICES, STABLE MATCHINGS, AND ROBUST SOLUTIONS. A Dissertation Presented to The Academic Faculty. Tung Mai DISTRIBUTIVE LATTICES, STABLE MATCHINGS, AND ROBUST SOLUTIONS A Dissertation Presented to The Academic Faculty By Tung Mai In Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy

More information

Advanced Algorithms. Lecture Notes for April 5, 2016 Dynamic programming, continued (HMMs); Iterative improvement Bernard Moret

Advanced Algorithms. Lecture Notes for April 5, 2016 Dynamic programming, continued (HMMs); Iterative improvement Bernard Moret Advanced Algorithms Lecture Notes for April 5, 2016 Dynamic programming, continued (HMMs); Iterative improvement Bernard Moret Dynamic Programming (continued) Finite Markov models A finite Markov model

More information

Glasgow eprints Service

Glasgow eprints Service Gent, I. P. and Irving, R. W. and Manlove, D. F. and Prosser, P. and Smith, B. M. (2001) A constraint programming approach to the stable marriage problem. In, Walsh, T., Eds. Proceedings of CP '01: the

More information

Analysis of Algorithms Fall Some Representative Problems Stable Matching

Analysis of Algorithms Fall Some Representative Problems Stable Matching Analysis of Algorithms Fall 2017 Some Representative Problems Stable Matching Mohammad Ashiqur Rahman Department of Computer Science College of Engineering Tennessee Tech University Matching Med-school

More information

Two Sided Matching: An Algorithm with both sides making proposals

Two Sided Matching: An Algorithm with both sides making proposals Two Sided Matching: An Algorithm with both sides making proposals Aditya V Kuvalekar Abstract The most commonly used algorithm in a classical two-sided marriage market is the one due to Gale-Shapley. ([3]).

More information

1. REPRESENTATIVE PROBLEMS

1. REPRESENTATIVE PROBLEMS 1. REPRESENTATIVE PROBLEMS stable matching five representative problems Special thanks to Kevin Wayne for sharing the slides Copyright 2005 Pearson-Addison Wesley Last updated on 15/9/12 下午 10:33 1. REPRESENTATIVE

More information

Stable Matching with Uncertain Linear Preferences

Stable Matching with Uncertain Linear Preferences Stable Matching with Uncertain Linear Preferences Haris Aziz 12, Péter Biró 3, Serge Gaspers 21, Ronald de Haan 4, Nicholas Mattei 12, and Baharak Rastegari 5 1 Data61/CSIRO, Sydney, Australia. haris.aziz@data61.csiro.au,

More information

Subramanian s stable matching algorithm

Subramanian s stable matching algorithm Subramanian s stable matching algorithm Yuval Filmus November 2011 Abstract Gale and Shapley introduced the well-known stable matching problem in 1962, giving an algorithm for the problem. Subramanian

More information

What do you do when you can t use money to solve your problems?

What do you do when you can t use money to solve your problems? Markets without money What do you do when you can t use money to solve your problems? Matching: heterosexual men and women marrying in a small town, students matching to universities, workers to jobs where

More information

Petty Envy When Assigning Objects

Petty Envy When Assigning Objects Petty Envy When Assigning Objects THAYER MORRILL June, 2016 Abstract Envy of another person s assignment is justified if you deserve the object and it is possible to assign you to the object. Currently,

More information

This is the author s final accepted version.

This is the author s final accepted version. Cseh, A., Manlove, D. and Irving, R. W. (06) The Stable Roommates Problem with Short Lists. In: 9th International Symposium on Algorithmic Game Theory (SAGT), Liverpool, UK, 9- Sept 06, pp. 07-9. ISBN

More information

Stable Matching Existence, Computation, Convergence Correlated Preferences. Stable Matching. Algorithmic Game Theory.

Stable Matching Existence, Computation, Convergence Correlated Preferences. Stable Matching. Algorithmic Game Theory. Existence, Computation, Convergence Correlated Preferences Existence, Computation, Convergence Correlated Preferences Stable Marriage Set of Women Y Set of Men X Existence, Computation, Convergence Correlated

More information

The Complexity of the Comparator Circuit Value Problem

The Complexity of the Comparator Circuit Value Problem The Complexity of the Comparator Circuit Value Problem Stephen Cook Joint work with Yuval Filmus and Dai Tri Man Lê Department of Computer Science University of Toronto Canada Banff 2013 1 / 28 Outline

More information

14.1 Finding frequent elements in stream

14.1 Finding frequent elements in stream Chapter 14 Streaming Data Model 14.1 Finding frequent elements in stream A very useful statistics for many applications is to keep track of elements that occur more frequently. It can come in many flavours

More information

Game Theory: Lecture #5

Game Theory: Lecture #5 Game Theory: Lecture #5 Outline: Stable Matchings The Gale-Shapley Algorithm Optimality Uniqueness Stable Matchings Example: The Roommate Problem Potential Roommates: {A, B, C, D} Goal: Divide into two

More information

Algorithmics of Two-Sided Matching Problems

Algorithmics of Two-Sided Matching Problems Algorithmics of Two-Sided Matching Problems David J. Abraham Submitted for the degree of Master of Science, Department of Computing Science, University of Glasgow, October, 2003 c 2003 David J. Abraham

More information

The stable marriage problem with restricted pairs

The stable marriage problem with restricted pairs Theoretical Computer Science 306 (2003) 391 405 www.elsevier.com/locate/tcs The stable marriage problem with restricted pairs Vânia M.F. Dias a, Guilherme D. da Fonseca b, Celina M.H. de Figueiredo c;,

More information

TWO-SIDED MATCHING WITH EXTERNALITIES: A SURVEY

TWO-SIDED MATCHING WITH EXTERNALITIES: A SURVEY Journal of the Operations Research Society of Japan Vol. 59, No. 1, January 2016, pp. 35 71 c The Operations Research Society of Japan TWO-SIDED MATCHING WITH EXTERNALITIES: A SURVEY Keisuke Bando Ryo

More information

Deposited on: 30 September 2010

Deposited on: 30 September 2010 Biro, P., Fleiner, T., Irving, R.W. and Manlove, D.F. (2010) The College Admissions problem with lower and common quotas. Theoretical Computer Science, 411 (34-36). pp. 3136-3153. ISSN 0304-3975 http://eprints.gla.ac.uk/38576/

More information

Two-Sided Matching. Terence Johnson. December 1, University of Notre Dame. Terence Johnson (ND) Two-Sided Matching December 1, / 47

Two-Sided Matching. Terence Johnson. December 1, University of Notre Dame. Terence Johnson (ND) Two-Sided Matching December 1, / 47 Two-Sided Matching Terence Johnson University of Notre Dame December 1, 2017 Terence Johnson (ND) Two-Sided Matching December 1, 2017 1 / 47 Markets without money What do you do when you can t use money

More information

The Importance of Irrelevance of Rejected Contracts in Matching under Weakened Substitutes Conditions

The Importance of Irrelevance of Rejected Contracts in Matching under Weakened Substitutes Conditions The Importance of Irrelevance of Rejected Contracts in Matching under Weakened Substitutes Conditions Orhan Aygün and Tayfun Sönmez June 2012 Abstract We show that Hatfield and Kojima 2010) inherits a

More information

AN IMPOSSIBILITY THEOREM IN MATCHING PROBLEMS

AN IMPOSSIBILITY THEOREM IN MATCHING PROBLEMS Discussion aper No 677 AN IMOSSIBILITY THEOREM IN MATCHING ROBLEMS Shohei Takagi and Shigehiro Serizawa December 006 The Institute of Social and Economic Research Osaka University 6-1 Mihogaoka, Ibaraki,

More information

Disjoint paths in unions of tournaments

Disjoint paths in unions of tournaments Disjoint paths in unions of tournaments Maria Chudnovsky 1 Princeton University, Princeton, NJ 08544, USA Alex Scott Mathematical Institute, University of Oxford, Oxford OX2 6GG, UK Paul Seymour 2 Princeton

More information

Random paths to stability in the roommate problem

Random paths to stability in the roommate problem Games and Economic Behavior 48 (2004) 18 28 www.elsevier.com/locate/geb Random paths to stability in the roommate problem Effrosyni Diamantoudi, a Eiichi Miyagawa, b, and Licun Xue c a Concordia University,

More information

1. STABLE MATCHING. stable matching problem Gale Shapley algorithm hospital optimality context

1. STABLE MATCHING. stable matching problem Gale Shapley algorithm hospital optimality context 1. STABLE MATCHING stable matching problem Gale Shapley algorithm hospital optimality context Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley http://www.cs.princeton.edu/~wayne/kleinberg-tardos

More information

Hannu Salonen and Mikko A.A. Salonen Mutually Best Matches. Aboa Centre for Economics

Hannu Salonen and Mikko A.A. Salonen Mutually Best Matches. Aboa Centre for Economics Hannu Salonen and Mikko A.A. Salonen Mutually Best Matches Aboa Centre for Economics Discussion paper No. 109 Turku 2016 The Aboa Centre for Economics is a joint initiative of the economics departments

More information

Approximation and Randomized Algorithms (ARA) Lecture 1, September 3, 2012

Approximation and Randomized Algorithms (ARA) Lecture 1, September 3, 2012 Approximation and Randomized Algorithms (ARA) Lecture 1, September 3, 2012 Practicalities Code: 456314.0 intermediate and optional course Previous knowledge 456305.0 Datastrukturer II (Algoritmer) Period

More information

Matching with Couples: Semi-Stability and Algorithm

Matching with Couples: Semi-Stability and Algorithm Matching with Couples: Semi-Stability and Algorithm Zhishan Jiang School of Economics Shanghai University of Finance and Economics Shanghai 200433, China Guoqiang Tian Department of Economics Texas A&M

More information

arxiv: v1 [math.co] 13 Dec 2014

arxiv: v1 [math.co] 13 Dec 2014 SEARCHING FOR KNIGHTS AND SPIES: A MAJORITY/MINORITY GAME MARK WILDON arxiv:1412.4247v1 [math.co] 13 Dec 2014 Abstract. There are n people, each of whom is either a knight or a spy. It is known that at

More information

Efficient Algorithms for Bipartite Matching Problems with Preferences

Efficient Algorithms for Bipartite Matching Problems with Preferences Efficient Algorithms for Bipartite Matching Problems with Preferences by Colin Thiam Soon Sng A thesis submitted to the Faculty of Information and Mathematical Sciences at the University of Glasgow for

More information

Matching Markets with Couples Revisited

Matching Markets with Couples Revisited Matching Markets with Couples Revisited Itai Ashlagi Mark Braverman Avinatan Hassidim October 2010 Abstract It is well known that a stable matching in a two-sided matching market with couples need not

More information

Matching Problems. Roberto Lucchetti. Politecnico di Milano

Matching Problems. Roberto Lucchetti. Politecnico di Milano Politecnico di Milano Background setting Problems introduced in 1962 by Gale and Shapley for the study of two sided markets: 1) workers & employers; 2) interns & hospitals; 3) students & universities;

More information

Matching. Terence Johnson. April 17, University of Notre Dame. Terence Johnson (ND) Matching April 17, / 41

Matching. Terence Johnson. April 17, University of Notre Dame. Terence Johnson (ND) Matching April 17, / 41 Matching Terence Johnson University of Notre Dame April 17, 2018 Terence Johnson (ND) Matching April 17, 2018 1 / 41 Markets without money What do you do when you can t use money to solve your problems?

More information

What Matchings Can be Stable? Refutability in Matching Theory

What Matchings Can be Stable? Refutability in Matching Theory allis/thomson Conference What Matchings Can be Stable? Refutability in Matching Theory Federico Echenique California Institute of Technology April 21-22, 2006 Motivation Wallis/Thomson Conference Standard

More information

arxiv: v1 [cs.gt] 11 Jul 2016

arxiv: v1 [cs.gt] 11 Jul 2016 Stable Matching with Uncertain Linear Preferences Haris Aziz 12, Péter Biró 3, Serge Gaspers 21, Ronald de Haan 4, Nicholas Mattei 12, and Baharak Rastegari 5 arxiv:1607.02917v1 [cs.gt] 11 Jul 2016 1 Data61

More information

MA 524 Final Fall 2015 Solutions

MA 524 Final Fall 2015 Solutions MA 54 Final Fall 05 Solutions Name: Question Points Score 0 0 3 5 4 0 5 5 6 5 7 0 8 5 Total: 60 MA 54 Solutions Final, Page of 8. Let L be a finite lattice. (a) (5 points) Show that p ( (p r)) (p ) (p

More information

Manipulability in matching markets: conflict and coincidence of interests

Manipulability in matching markets: conflict and coincidence of interests Soc Choice Welf (2012) 39:23 33 DOI 10.1007/s00355-011-0549-y ORIGINAL PAPER Manipulability in matching markets: conflict and coincidence of interests Itai Ashlagi Flip Klijn Received: 16 June 2010 / Accepted:

More information

Online Appendix for Incentives in Landing Slot Problems

Online Appendix for Incentives in Landing Slot Problems Online Appendix for Incentives in Landing Slot Problems James Schummer Azar Abizada April 14, 2017 This document contains supplementary results and proofs for Incentives in Landing Slot Problems, published

More information

Efficiency and Stability of Probabilistic Assignments in Marriage Problems

Efficiency and Stability of Probabilistic Assignments in Marriage Problems Efficiency and Stability of Probabilistic Assignments in Marriage Problems Battal Doğan Kemal Yıldız March 23, 205 Abstract We study marriage problems where two groups of agents, men and women, match each

More information

Random Matching under Priorities: Stability and No Envy Concepts

Random Matching under Priorities: Stability and No Envy Concepts Random Matching under Priorities: Stability and No Envy Concepts Haris Aziz Bettina Klaus June 29, 2017 Abstract We consider stability concepts for random matchings where agents have preferences over objects

More information

Recent Advances in Generalized Matching Theory

Recent Advances in Generalized Matching Theory Recent Advances in Generalized Matching Theory John William Hatfield Stanford Graduate School of Business Scott Duke Kominers Becker Friedman Institute, University of Chicago Matching Problems: Economics

More information

COOPERATIVE GAME THEORY: CORE AND SHAPLEY VALUE

COOPERATIVE GAME THEORY: CORE AND SHAPLEY VALUE 1 / 54 COOPERATIVE GAME THEORY: CORE AND SHAPLEY VALUE Heinrich H. Nax hnax@ethz.ch & Bary S. R. Pradelski bpradelski@ethz.ch February 26, 2018: Lecture 2 2 / 54 What you did last week... There appear

More information

APPROXIMATION ALGORITHMS FOR THE STABLE MATCHING PROBLEM

APPROXIMATION ALGORITHMS FOR THE STABLE MATCHING PROBLEM APPROXIMATION ALGORITHMS FOR THE STABLE MATCHING PROBLEM by András Radnai Advisor: Zoltán Király Department of Computer Science Eötvös Loránd University Contents 1 Introduction 3 1.1 Notions and concepts..............................

More information

Dynamic Matching with a Fall-back Option

Dynamic Matching with a Fall-back Option Dynamic Matching with a Fall-back Option Sujit Gujar 1 and David C Parkes 2 Abstract We study dynamic matching without money when one side of the market is dynamic with arrivals and departures and the

More information

The Blocking Lemma and Strategy-Proofness in Many-to-Many Matchings

The Blocking Lemma and Strategy-Proofness in Many-to-Many Matchings The Blocking Lemma and Strategy-Proofness in Many-to-Many Matchings Zhenhua Jiao Institute for Advanced Research and School of Economics Shanghai University of Finance and Economics Shanghai, 200433, China

More information

Pareto Optimality in Coalition Formation

Pareto Optimality in Coalition Formation Pareto Optimality in Coalition Formation Haris Aziz Felix Brandt Paul Harrenstein Department of Informatics Technische Universität München 85748 Garching bei München, Germany {aziz,brandtf,harrenst}@in.tum.de

More information

What Matchings Can Be Stable? The Testable Implications of Matching Theory 1

What Matchings Can Be Stable? The Testable Implications of Matching Theory 1 What Matchings Can Be Stable? The Testable Implications of Matching Theory 1 Federico Echenique 2 October 22, 2007 1 I thank the Area Editor, Eilon Solan, and two anonymous referees, for their detailed

More information

Socially stable matchings in the Hospitals/Residents problem

Socially stable matchings in the Hospitals/Residents problem Socially stable matchings in the Hospitals/Residents problem Georgios Askalidis 1, Nicole Immorlica 1,2, Augustine Kwanashie 3, David F. Manlove 3 and Emmanouil Pountourakis 1 1 Dept. of Electrical Engineering

More information

Matching with Myopic and Farsighted Players

Matching with Myopic and Farsighted Players Matching with Myopic and Farsighted Players P. Jean-Jacques Herings Ana Mauleon Vincent Vannetelbosch June 14, 2017 Abstract We study stable sets for marriage problems under the assumption that players

More information

1. REPRESENTATIVE PROBLEMS

1. REPRESENTATIVE PROBLEMS 1. REPRESENTATIVE PROBLEMS stable matching five representative problems Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley http://www.cs.princeton.edu/~wayne/kleinberg-tardos Last updated

More information

Matching with Couples: Semi-Stability and Algorithm

Matching with Couples: Semi-Stability and Algorithm Matching with Couples: Semi-Stability and Algorithm Zhishan Jiang School of Economics Shanghai University of Finance and Economics Shanghai 200433, China Guoqiang Tian Department of Economics Texas A&M

More information

Sisterhood in the Gale-Shapley Matching Algorithm

Sisterhood in the Gale-Shapley Matching Algorithm Sisterhood in the Gale-Shapley Matching Algorithm Yannai A. Gonczarowski Einstein Institute of Mathematics and Center for the Study of Rationality Hebrew University, Jerusalem, Israel yannai@gonch.name

More information

The Complexity of Computing the Random Priority Allocation Matrix

The Complexity of Computing the Random Priority Allocation Matrix The Complexity of Computing the Random Priority Allocation Matrix Daniela Saban and Jay Sethuraman January 2014; revised August 2014 Abstract The Random Priority (RP) mechanism is a popular way to allocate

More information

Math 301: Matchings in Graphs

Math 301: Matchings in Graphs Math 301: Matchings in Graphs Mary Radcliffe 1 Definitions and Basics We begin by first recalling some basic definitions about matchings. A matching in a graph G is a set M = {e 1, e 2,..., e k } of edges

More information

Competition and Resource Sensitivity in Marriage and Roommate Markets

Competition and Resource Sensitivity in Marriage and Roommate Markets Competition and Resource Sensitivity in Marriage and Roommate Markets Bettina Klaus This Version: April 2010 Previous Versions: November 2007 and December 2008 Abstract We consider one-to-one matching

More information

Stability and the Core of Probabilistic Marriage Problems

Stability and the Core of Probabilistic Marriage Problems Stability and the Core of Probabilistic Marriage Problems Vikram Manjunath First draft: June 3, 2010 This version: July 29, 2017 Abstract We study the marriage problem where a probability distribution

More information