
TL;DR
This paper explores the existence of envy-free matchings in hospital-residents problems with lower quotas, providing efficient algorithms for some cases and proving NP-hardness in others.
Contribution
It introduces methods to decide envy-free matchings in HR-LQ instances and extends the analysis to the Classified Stable Matching model, identifying tractable and intractable cases.
Findings
Efficiently decide envy-free matchings in HR-LQ instances.
NP-hardness of envy-free matching existence in the Classified Stable Matching model.
Polynomial-time solutions when quotas are paramodular.
Abstract
While every instance of the Hospitals/Residents problem admits a stable matching, the problem with lower quotas (HR-LQ) has instances with no stable matching. For such an instance, we expect the existence of an envy-free matching, which is a relaxation of a stable matching preserving a kind of fairness property. In this paper, we investigate the existence of an envy-free matching in several settings, in which hospitals have lower quotas and not all doctor-hospital pairs are acceptable. We first show that, for an HR-LQ instance, we can efficiently decide the existence of an envy-free matching. Then, we consider envy-freeness in the Classified Stable Matching model due to Huang (2010), i.e., each hospital has lower and upper quotas on subsets of doctors. We show that, for this model, deciding the existence of an envy-free matching is NP-hard in general, but solvable in polynomial time if…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Envy-free Matchings with Lower Quotas
Yu Yokoi National Institute of Informatics, Tokyo 101-8430, Japan. E-mail: [email protected].
Abstract
While every instance of the Hospitals/Residents problem admits a stable matching, the problem with lower quotas (HR-LQ) has instances with no stable matching. For such an instance, we expect the existence of an envy-free matching, which is a relaxation of a stable matching preserving a kind of fairness property.
In this paper, we investigate the existence of an envy-free matching in several settings, in which hospitals have lower quotas and not all doctor-hospital pairs are acceptable. We first provide an algorithm that decides whether a given HR-LQ instance has an envy-free matching or not. Then, we consider envy-freeness in the Classified Stable Matching model due to Huang (2010), i.e., each hospital has lower and upper quotas on subsets of doctors. We show that, for this model, deciding the existence of an envy-free matching is NP-hard in general, but solvable in polynomial time if quotas are paramodular.
1 Introduction
Since the seminal work of Gale and Shapley [11], the Hospitals/Residents problem (HR, for short), or the College Admission problem, has been studied extensively [14, 21, 30]. They proposed an algorithm that finds a stable matching in linear time for every instance. In this problem, each hospital has an upper quota for the number of doctors assigned to it. In some applications, each hospital also has a lower quota for the number of doctors it receives. That is, we want to consider the Hospitals/Residents problem with lower quotas (HR-LQ, for short). Unfortunately, for HR-LQ, we cannot ensure the existence of a stable matching. However, it is easy to decide whether there is a stable matching or not for a given HR-LQ instance, because the number of doctors assigned to each hospital is identical for any stable matching (according to the well-known Rural Hospitals Theorem [12, 27, 28, 29]).
When a given HR-LQ instance has no stable matching, one natural approach is to weaken stability concept while preserving some kind of fairness. Envy-freeness [33] (also called fairness in the school choice literature [8, 13]) of matchings is a relaxation of stability obtained by giving up efficiency. Similarly to stability, envy-freeness forbids the existence of a doctor who has justified envy toward some other doctor, but it tolerates the existence of a doctor who claims a hospital’s vacant seat. The importance of envy-freeness and its variants has recently been recognized in the context of constrained matching [8, 13, 19, 20, 4], and structural properties of envy-free matchings were investigated in [33].
Envy-free matchings naturally arise when we find a matching in the following ad hoc manner. For an HR-LQ instance, suppose that we find a stable matching while disregarding the lower quotas, and that the obtained matching does not meet the lower quotas. Let us reduce the upper quotas of hospitals that receive many doctors, and again find a stable matching while disregarding the lower quotas, and repeat. If we find a stable matching that meets the lower quotas after repeating such adjustments, then the obtained matching is an envy-free matching of the original instance (see Proposition 2.4).
Because an envy-free matching is a relaxation of a stable matching, it is more likely to exist. Indeed, if all doctor-hospital pairs are acceptable and the sum of lower quotas of all hospitals does not exceed the number of doctors, then we can ensure the existence of an envy-free matching. (This follows from the results of Fragiadakis et al. [8]). However, if not all pairs are acceptable, then even an envy-free matching may fail to exist. Moreover, deciding the existence of an envy-free matching is not so simple because envy-free matchings have different sizes unlike stable matchings.
Our Contribution
In this paper, we study envy-free matchings for the HR-LQ model and its generalizations. In our models, not all doctor-hospital pairs are acceptable (i.e., preference lists are incomplete).
We first investigate envy-free matchings in the setting of HR-LQ. We provide the following characterization of the existence of an envy-free matching. Let be a given HR-LQ instance and let be an HR instance obtained from by removing lower quotas and replacing upper quotas with the original lower quotas. We prove that has an envy-free matching if and only if every hospital is full in a stable matching of (Theorem 2.6). Combined with the rural hospitals theorem, this characterization yields an efficient algorithm to decide the existence of an envy-free matching for an HR-LQ instance. That is, we can decide it by finding a stable matching for the HR instance whose upper quotas are the original lower quotas, and checking whether all hospitals are full or not.
Next, we move to a generalized model, in which each hospital imposes an upper and a lower quota on each subset of doctors. That is, we consider an envy-free matching version of Huang’s Classified Stable Matching [18] (CSM, for short). (See “Related Works” below for results on stable matchings of CSM and its generalizations.) In Huang’s original model, each hospital has a family of sets of doctors, called classes, and each class has an upper and a lower quota. We formulate this setting by letting each hospital have a pair of set functions defined on the set of acceptable doctors. These two functions respectively represent upper quotas and lower quotas. For this model, we show that it is NP-hard to decide the existence of an envy-free matching, even if the number of non-trivial quotas is linear (Theorem 2.6). The proof is by a reduction from the NP-complete problem (3,B2)-SAT [2].
Then, we provide a tractable special case of CSM. We show that if the pair of lower and upper quota functions of each hospital is paramodular [9] (see Section 4 for the definition), then we can decide the existence of an envy-free matching in polynomial time. This means that the problem is tractable if the family of acceptable doctor sets forms a generalized matroid for each hospital. A generalized matroid [31] (also called an M♮-convex family [24]) is a family of subsets satisfying a certain axiom called the exchange axiom. It is known that a paramodular function pair defines a generalized matroid and vice versa. Because constraints defined on a laminar (or hierarchical) family yield a generalized matroid, our tractable special case includes a case in which each hospital defines quotas on a laminar family of doctors.
Related Works
Recently, the study of matching models with lower quotas has developed substantially [1, 7, 13, 15, 16, 18, 21, 22]. The Hospitals/Residents problem with lower quotas (HR-LQ) was first studied by Hamada et al. [15, 16], who considered the minimization of the number of blocking pairs subject to upper and lower quotas. They showed the NP-hardness of the problem, gave an inapproximability result, and provided an exponential-time exact algorithm. Motivated by the matching scheme used in Hungary’s higher education sector, Biró et al. [3] considered a version of HR-LQ in which hospitals (i.e., colleges) are allowed to be closed, i.e., each hospital is assigned enough doctors or no doctor. They showed the NP-completeness to decide the existence of a stable matching.
The Classified Stable Matching problem (CSM), proposed by Huang [18], is a generalization of HR-LQ without hospital closures. In this model, each hospital (or institute, in Huang’s terminology) has a classification of doctors (i.e., applicants) based on their expertise and gives an upper and lower quota for each class. Huang showed that it is NP-complete in general to decide the existence of a stable matching, and proved that it is solvable in polynomial time if classes form a laminar family. For this tractable special case, Fleiner and Kamiyama [7] gave a concise explanation in terms of matroids, and their framework is generalized by Yokoi [34] to a framework with generalized matroids.
To cope with the nonexistence of a stable matching in constrained matching models (not only models with lower quotas but also with other types of constraints such as regional constraints), several relaxations of stability have been proposed. See, e.g., Kamada and Kojima [19, 20], Fragiadakis et al. [8], and Goto et al. [13]. Envy-freeness is one of them that places emphasis on fairness rather than efficiency. Fragiadakis et al. [8] provided a strategy-proof algorithm that always finds an envy-free matching (or fair matching, in their terminology) of HR-LQ under the assumption that all doctor-hospital pairs are acceptable. The outcome of their mechanism also fulfills a second-best efficiency (i.e., nonwastefulness) property. Their framework is generalized in Goto et al. [13] so that regional quotas can be handled.
Here we compare our models with the above models. Unlike the models of Goto et al. [13] and Kamada and Kojima [19, 20], our models cannot handle regional quotas. Instead, our CSM model (in Sections 3 and 4) allows each hospital to have quotas on classes of doctors, which are not dealt with in their models. The setting of a tractable special case of CSM described in Section 4 is equivalent to a many-to-one case of Yokoi’s model [34], which studied stable matchings. Neither [34] nor the study in this paper relies on the results of the other, while both of them utilize the matroid framework of Fleiner [5, 6].
The remainder of this paper is organized as follows. Section 2 investigates envy-free matchings in the Hospitals/Residents problem with lower quotas (HR-LQ). In Section 3, we define an envy-free matching in the classified stable matching (CSM) model, and show the NP-hardness of its existence test. As its tractable special case, Section 4 presents results on CSM with paramodular quota functions. Proofs for the theorems and corollary in Section 4 are provided in the Appendix.
2 Envy-freeness in HR with lower quotas
In this section, we investigate envy-free matchings in the Hospitals/Residents problem with lower quotas (HR-LQ).
There are two disjoint sets and , which represent doctors and hospitals, respectively. A set of acceptable doctor-hospital pairs is denoted by .
For each doctor , its acceptable hospital set is denoted by
[TABLE]
and has a preference list (strict order) on . Similarly, for each hospital ,
[TABLE]
and has a preference on . Each hospital has a lower quota and an upper quota with
[TABLE]
We call a tuple an HR-LQ instance, where is an abbreviated notation for the union of and . In particular, if for all , we call it an HR instance. An arbitrary subset of is called an assignment. For any assignment , we denote for each and for each . If , the notation is also used to refer its single element.
An assignment is called a matching (or, said to be feasible) if for each and for each . In a matching , a doctor is unassigned (resp., assigned) if (resp., ), and is undersubscribed (resp., full) if (resp., ).
Definition 2.1**.**
For a matching , an unassigned pair is a blocking pair if
(i) is unassigned or , and (ii) is undersubscribed or there is with . A matching is stable if there is no blocking pair.
For an HR instance, it is known that the algorithm of Gale and Shapley [11] always finds a stable matching. The set of stable matchings has the following property.
Proposition 2.2** (“Rural Hospitals” Theorem** [12, 27, 29]).
For a given HR instance, any two stable matchings satisfy for every . Moreover if is undersubscribed in or .
As mentioned in the Introduction, if hospitals have lower quotas, then we cannot guarantee the existence of a stable matching anymore. By Proposition 2.2, however, we can easily check the existence by finding a stable matching while disregarding lower quotas, and checking whether the obtained matching meets lower quotas.
For an instance that has no stable matching, we want to obtain some matching that still has a kind of fairness. As a relaxation of the concept of stability, envy-freeness (also called fairness) of matchings has been proposed [8, 33].
Definition 2.3**.**
For a matching , a doctor has justified envy toward with if (i) is unassigned or and (ii) . A matching is envy-free if no doctor has justified envy.
Note that, if has justified envy toward with , then it means that is a blocking pair. Thus, stability implies envy-freeness. The envy-freeness of a matching is also regarded as the stability with reduced upper quotas, as follows.
Proposition 2.4**.**
For , an assignment is an envy-free matching if and only if is a stable matching of for some with .
Proof.
The “if” part is clear because feasibility in implies that in , and stability implies envy-freeness. For the “only if” part, suppose that is envy-free in and set for each . Then, is feasible for and all hospitals are full, and hence there is no doctor who claims a hospital’s vacant seat. Because is envy-free, it is stable in . ∎
By Proposition 2.4, to check whether we can obtain a stable matching by reducing upper quotas, it suffices to check for the existence of an envy-free matching.
Under the assumption that all doctor-hospital pairs are acceptable and the sum of lower quotas does not exceed the number of doctors, Fragiadakis et al. [8] provided a strategy-proof mechanism that always finds an envy-free matching. As a corollary, we have the following.
Proposition 2.5**.**
For an instance such that and , there exists an envy-free matching.
However, if not all pairs are acceptable, then even an envy-free matching may not exist. Figure 1 shows an instance with , , , , and . For this instance, is the unique feasible matching, but it is not envy-free because has justified envy toward . Hence, there is no envy-free matching.
Note that an envy-free matching does exist if there is no lower quota, because empty matching is clearly envy-free. Therefore, the existence test of an envy-free matching is non-trivial when incomplete lists and lower quotas are introduced simultaneously. Here we provide a characterization.
Theorem 2.6**.**
* has an envy-free matching if and only if some stable matching of the HR instance satisfies for all .*
Proof.
For the “if” part, let be a stable matching of satisfying for all . Then, is feasible for and no doctor has justified envy because has no blocking pair. Thus, is an envy-free matching of .
For the “only if” part, assume that has an envy-free matching . Suppose, to the contrary, a stable matching of satisfies for some . Let us denote and . For every , because , we have . In particular, follows from .
Consider a bipartite graph , i.e., a graph between doctors and hospitals with edge set . Let be a connected component of including , and denote by and the sets of doctors and hospitals in , respectively. Because there is no edge connecting and the outside, and . As and for any , we obtain
[TABLE]
Then, there exists with , which implies and because and are subsets of matchings. As is a connected bipartite graph, there is a path with and . Also, as and for , this path alternately uses edges in and . Because and , we have
[TABLE]
The doctor is unassigned in and finds acceptable because . Hence, the stability of implies that prefers to . Then, the envy-freeness of implies that prefers to . In this way, we obtain
[TABLE]
Thus, . Because satisfies , then is a blocking pair in , which contradicts the stability of . ∎
Theorem 2.6 ensures that the following algorithm decides the existence of an envy-free matching of an HR-LQ instance .
Algorithm EF-HR-LQ
Step1.
Find a stable matching of .
Step2.
return if for all , and otherwise “there is no envy-free matching.”
Since the Gale-Shapley algorithm finds a stable matching of an HR instance in time, we obtain the following theorem.
Theorem 2.7**.**
For any HR-LQ instance , the algorithm EF-HR-LQ decides whether has an envy-free matching or not in time.
3 Envy-freeness in Classified Stable Matching
In this section, we consider the envy-freeness in a model in which each hospital has lower and upper quotas on subsets of doctors. This can be regarded as an envy-free matching version of the Classified Stable Matching, proposed by Huang [18]. Similarly to Section 2, we have doctors , hospitals , acceptable pairs , and preferences .
The only difference from HR-LQ is that, in the current model, each hospital has a pair of functions , instead of a pair of numbers . These functions define a lower and an upper quota for each subset of acceptable doctors. Throughout this paper, we assume that for any hospital , the functions and satisfy
[TABLE]
We call such a tuple a CSM instance. For each , the family of acceptable subsets of doctors is denoted by
[TABLE]
For any , we say that has a non-trivial lower (resp., upper) constraint if (resp., ). We denote the family of constrained subsets by
[TABLE]
Then, we see that is represented as
[TABLE]
For a CSM instance , is called a matching (or, said to be feasible) if for each and for each .
Definition 3.1**.**
For a matching , an unassigned pair is a blocking pair if (i) is unassigned or , and (ii) or for some with . A matching is stable if there is no blocking pair.
In Definition 3.1, the condition means that can add to the current assignment without violating any upper quota, and means that can replace with without violating any upper or lower quota. The Classified Stable Matching, introduced by Huang [18], is the problem to decide the existence of a stable matching for a given CSM instance111In his original model, each hospital has a classification and sets a lower and an upper quota for each member of . That is, we are provided and the values of , on it, rather than set functions , . Our formulation uses set functions to simplify the arguments in the next section.. Because this is a generalization of HR-LQ, there are instances that have no stable matching. Let us consider envy-freeness for a CSM instance.
Definition 3.2**.**
For a matching , a doctor has justified envy toward with if (i) is unassigned or and (ii) and . A matching is envy-free if no doctor has justified envy.
As in the case of HR-LQ, an envy-free matching can be regarded as a stable matching with reduced upper quotas as follows. For any and with , a function is called a -truncation of if and for every . Also, we simply say that is a truncation of if there is such .
Proposition 3.3**.**
For , an assignment is an envy-free matching if and only if is a stable matching of such that each is some truncation of .
Proof.
To show the “only if” part, let be an envy-free matching of . For each , let be the -truncation of . Then and for every . That is, is feasible for and there is no doctor who claims a hospital’s vacant seat. Therefore, if there is a blocking pair for , it follows that has a justified envy toward some with , which contradicts the envy-freeness of . Thus, is a stable matching of .
For the “if” part, let be a stable matching of . Clearly, is feasible for . Suppose, to the contrary, some doctor has justified envy toward with with respect to . Then is unassigned or . Also, we have and . Then, follows because . Hence, is a blocking pair in , a contradiction. ∎
We provide a hardness result for deciding the existence of an envy-free matching. Here, we assume that evaluation oracles of set functions and are available for each hospital .
Theorem 3.4**.**
It is NP-hard to decide whether a CSM instance has an envy-free matching or not. The problem is NP-complete even if the size of is at most 4 for each .
Proof.
We use reduction from the NP-complete problem (3, B2)-SAT [2], which is a restriction of SAT such that each clause contains exactly three literals and each variable occurs exactly twice as a positive literal and exactly twice as a negative literal. Let be an instance of (3, B2)-SAT with Boolean variables . Then, each clause is a disjunction of three literals, (e.g., ) and each of literals and appears in exactly two clauses. For each variable , denote by , the indices of two clauses that contain . Similarly, denote by , the indices of clauses that contain .
We now define a CSM instance corresponding to . We have a variable-hospital for each variable , and a clause-hospital for each clause . For each variable , we have four doctors . For each doctor , we have
[TABLE]
The set is defined as the set of all pairs such that . Then, for each variable-hospital and clause-hospital , we have
[TABLE]
Note that implies or . Also, each of and implies for some unique . Therefore, for each clause-hospital . For each variable-hospital , define and so that
[TABLE]
Then, we see that , where and . For each clause-hospital , define and so that
[TABLE]
We define preference lists of hospitals arbitrarily. Note that for every hospital. We show that this CSM instance has an envy-free matching if and only if is satisfiable.
The “only if” part: Suppose that there is an envy-free matching . Then, for every variable-hospital , is or . For each , set variable to FALSE if , and to TRUE if . This Boolean assignment satisfies every clause of as follows. Because , we have . Hence, some with is assigned to . Then, . There are two cases: (i) , (ii) . In the case (i), implies , and hence is set to TRUE. Also, and imply . Hence, clause is satisfied. Similarly, in the case (ii), we see that is set to FALSE and we have . Hence, clause is satisfied.
The “if” part: Suppose that there is a Boolean assignment satisfying . Define an assignment so that
- •
if is TRUE, and if is FALSE, and
- •
M(h_{j})=\set{d_{i,t}\in A(h_{j})}{d_{i,t}\in D^{+}_{i},~{}\text{v_{i} is {\sf TRUE}}}\cup\set{d_{i,t}\in A(h_{j})}{d_{i,t}\in D^{-}_{i},~{}\text{v_{i} is {\sf FALSE}}}.
We can observe that for every doctor , and for every variable-hospital . Also, because all clauses are satisfied, the above definition implies for every clause-hospital . Then, is feasible. We now show the envy-freeness of . Suppose, to the contrary, has justified envy toward . Because we have , , and , this justified envy implies conditions , and . As , then we have , which contradicts . ∎
4 Envy-freeness in CSM with Paramodular Quotas
In Section 3, we showed that it is NP-hard in general to decide whether a CSM instance has an envy-free matching or not. This section shows that the problem is solvable in polynomial time if the pair of quota functions is paramodular for each hospital. The proofs of the theorems and corollary in this section are provided in the Appendix. We first introduce the notion of paramodularity [9].
Let be a finite set and let . The pair is paramodular (or, called a strong pair [10]) if
- •
is supermodular, i.e., for every ,
- •
is submodular, i.e., for every , and
- •
the cross-inequality holds for every .
Here we provide examples of constraints that can be represented by paramodular pairs. (See Yokoi [34, Appendices A and B].)
Example 4.1** (Laminar Constraints).**
Let be a laminar (or hierarchical) classification (i.e., any satisfy or or ). Let be functions that define a lower and an upper quota for each class. Denote the acceptable set family by . If is nonempty, then for some paramodular pair .
Example 4.2** (Staffing Constraints).**
For a finite set (e.g., a set of sections of a hospital), let and be functions such that represents members acceptable to and represent a lower and an upper quota of each . Let be a family of subsets such that there exists a function satisfying and . If is nonempty, then for some paramodular pair .
For a set function , its complement is defined by
[TABLE]
Recall that a CSM instance is represented as a tuple , where it is assumed that for every and . Here is the main theorem of this section. We denote by a set function that is identically zero.
Theorem 4.3**.**
For a CSM instance , suppose that is paramodular for each . Then, an instance has at least one stable matching and the following three conditions are equivalent.
- (a)
* has an envy-free matching.* 2. (b)
Some stable matching of satisfies for all . 3. (c)
Every stable matching of satisfies for all .
Also, if (b) holds, then is an envy-free matching of .
As will be shown in Appendix A.4, the existence of a stable matching of and the equivalence between (b) and (c) follows from Fleiner’s results on the matroid framework [5, 6]. The most difficult part is showing the equivalence between conditions (a) and (b). To show that (a) implies (b), we construct a stable matching of from an envy-free matching of . This construction is achieved by using the fixed-point method of Fleiner [6]. The paramodularity of each (or a generalized matroid structure of each ) is essential to show the existence of a fixed-point satisfying a required condition (see Lemma A.16 in Appendix A.4 for the details).
By Theorem 4.3, when quota function pairs are paramodular, we can decide the existence of an envy-free matching of by the following algorithm.
Step1.
Find a stable matching of .
Step2.
If for every , then return . Otherwise, return “there is no envy-free matching.”
As will be shown in the Appendix, Step 1 (i.e., finding a stable matching of ) can be done efficiently by the generalized Gale-Shapley algorithm studied in [5, 6]. The detailed description of the algorithm is as follows. Here, for each , , and , we use the notation and .
In the Appendix, we show that the assignment obtained in the algorithm is indeed a stable matching of . Also, it will be shown that is monotone decreasing and is monotone increasing in the algorithm, and hence the “while loop” is iterated at most times. Thus, we obtain the following theorem. (See Appendix A.5 for the details.)
Theorem 4.4**.**
For a CSM instance such that each is paramodular, the algorithm EF-Paramodular-CSM decides whether has an envy-free matching or not in time, provided that evaluation oracles of are available.
As is shown in Examples 4.1 and 4.2, when the family of acceptable doctor sets of each hospital is defined by a laminar constraint or by a staffing constraint , then there is a paramodular pair such that . The following corollary states that, in such a case, we can decide the existence of an envy-free matching of even if evaluation oracles of are not provided.
Corollary 4.5**.**
Suppose that, for each , the family of acceptable doctor sets is defined in the form resp., \mathcal{J}_{h}:=\mathcal{J}(S_{h},\Gamma_{h},\hat{l}_{h},\hat{u}_{h})\neq\emptyset$$). Let be a paramodular pair such that . Then, given resp., S_{h},\Gamma_{h},\hat{l}_{h},\hat{u}_{h}$$) for each , one can decide whether has an envy-free matching or not in time polynomial in resp., in and \max_{h\in H}|S_{h}|$$).
Proof.
Since we have Theorem 4.4, it completes the proof to show that we can simulate an evaluation oracle of each in time polynomial in (resp., in and ). By Proposition A.1 in Appendix A.1, for each , the value of is obtained as . Consider a weight function on such that for every and for every . Then, is written as , which is a weight minimization problem on a generalized matroid. As explained in [34, Appendix C], when is given in the form above, this can be reduced to the minimum cost circulation problem, which can be solved in strongly polynomial time [32, 26]. (See [34] for the details of the reduction.) Thus, the proof is completed. ∎
Remark 4.6**.**
Theorems 4.3 and 4.4 generalize Theorems 2.6 and 2.7 as follows. For a pair of nonnegative integers with , define by
[TABLE]
Then, is paramodular and . Hence, envy-freeness for coincides with that for . Also, we can check .
5 Acknowledgments
I wish to thank the anonymous reviewers whose comments have benefited the paper greatly. This work was supported by JST CREST, Grant Number JPMJCR14D2, Japan.
Appendix A Proofs for Section 4
Here, we provide proofs of Theorems 4.3, 4.4. This section consists of five subsections, and the first three introduce notions and previous results needed for the proofs. More precisely, Sections A.1, A.2, and A.3 respectively introduce notions of generalized matroids, choice functions induced from matroids, and the lattice fixed-point method for stable matchings. Using them, the last two subsections provide the proofs of our results.
A.1 Generalized Matroids
For a finite set and a family , the pair is called a generalized matroid [31] (g-matroid, for short) if is nonempty and satisfies the following property called simultaneous (or symmetric) exchange property222This is not the original definition of generalized matroids by Tardos [31], but equivalent to it as shown by Murota and Shioura [25]. [25].
(B♮-EXC)**
For any and , we have
(i) , or
(ii) there exists some such that , .
The family of a g-matroid is also called an M♮-convex family** [23, 24]. (There are various characterizations for g-matroids. See, e.g., Tardos [31], Frank [9] and Murota [23] for more information on g-matroid and its extensions.)
For set functions , the pair is called g-matroidal if it is paramodular and satisfies for every . As its name indicates, there is a one-to-one correspondence between generalized matroids and g-matroidal pairs (see, e.g., [9, 10]).
Proposition A.1**.**
A pair is a g-matroid if and only if for some g-matroidal pair . Such a g-matroidal pair is uniquely defined by
[TABLE]
By Proposition A.1, the families and defined in Examples 4.1 and 4.2 are the independent set families of g-matroids. (See Yokoi [34, Appendices A and B] for examples and operations of g-matroids.)
A function is called a matroid rank function if it is submodular, monotone (i.e., implies ), and satisfies for every . The submodularity of is equivalent to the following diminishing returns property: for any and , we have
[TABLE]
In particular, a matroid rank function satisfies for any and .
A pair is called a matroid if it is a g-matroid and . In terms of quota functions, a pair is a matroid if there is a matroid rank function such that . Indeed, we can check that the pair is g-matroidal for any matroid rank function .
A.2 Choice Functions Induced from Matroid Rank Functions
Let be a matroid rank function on and be a linear order on . Let and define a function as follows. Let and, for , let be the -th best element of with respect to , i.e. . Let and for each . Then, define by
[TABLE]
We call the choice function induced from . Note that, for any and , the value of is or [math] by the monotonicity and submodularity of . Also, implies . Then, for any , we have
[TABLE]
Such a choice function was introduced by Fleiner [5, 6] and used in several works [3, 7, 34]. In these works, matroids are usually given by independent set families rather than matroid rank functions. The following propositions (Propositions A.2–A.6) are known facts, but we provide alternative proofs in terms of matroid rank functions.
Proposition A.2**.**
For any , we have .
Proof.
It suffices to show for any . By (1), we have . For any , since and , the diminishing returns property of implies
[TABLE]
Thus, , imply . Therefore,
[TABLE]
The monotonicity of implies , and the proof is completed. ∎
Proposition A.3**.**
For every and , we have . In particular, .
Proof.
By (1), . This implies . ∎
Proposition A.4**.**
* is substitutable, i.e., implies .*
Proof.
Suppose that for some . This implies by (2). By the diminishing returns property and , the value of is also [math], and hence by (2). ∎
Proposition A.5**.**
* is size-monotone, i.e., implies .*
Proof.
This immediately follows from Proposition A.3 and the monotonicity of . ∎
Proposition A.6**.**
For any , the set dominates every element in . That is, the following two hold.
- •
For every , we have .
- •
For every and , if , then .
Proof.
Let be the index such that , i.e., is the -th best element for . By Proposition A.3, we have . With and , this implies , and hence .
For the second claim, let be the index such that . Then, implies , and hence . This yields , which implies . ∎
A.3 Fixed-point Method for Stable Matchings on Matroids
Here we introduce the lattice fixed-point framework for stable matchings on matroids, studied by Fleiner [5, 6] (see also Hatfield and Milgrom [17]).
Let be a CSM instance such that is a matroid rank function for each . That is, each hospital has a matroidal upper quota function and no lower quota.
From , we define doctors’ joint choice function . For any set , let be the set of each doctor’s best choices among , i.e.,
[TABLE]
From , we define hospitals’ joint choice function . First, for each hospital , let be a choice function induced from as in Section A.2. Then, define by
[TABLE]
Define rejection functions by
[TABLE]
and a function by
[TABLE]
Proposition A.7** (Fleiner [5, 6]).**
For such that each is a matroid rank function, if is a fixed-point of , then holds and is a stable matching of .
Let be a partial order defined on as
[TABLE]
Recall that is substitutable for each , This implies the following property of .
Proposition A.8** (Fleiner [5, 6]).**
For such that each is a matroid rank function, the function is monotone with respect to . That is, implies .
The monotonicity of implies the existence of a stable matching as follows.
Proposition A.9** (Fleiner [5, 6]).**
Let be an instance such that each is a matroid rank function. One can find a stable matching in time, where is a time to compute and for any .
Proof.
Since is the maximum in with respect to , we have . As is monotone by Proposition A.8, then
[TABLE]
Since is a finite lattice whose longest chain is of length , we have for some . Then, is a fixed-point of and, by Proposition A.7, is a stable matching of . ∎
Fleiner also provided the following structural result on the set of stable matchings.
Proposition A.10** (Fleiner [5, 6]).**
Let be an instance such that each is a matroid rank function. For any two stable matchings of and any hospital , we have .
A.4 Proof of Theorem 4.3
We are now ready to show Theorem 4.3. Recall that and are defined as
[TABLE]
where is g-matroidal (i.e., is paramodular and satisfies ) for each . Here, is the complement of defined as . Observe the following basic fact of a g-matroidal pair.
Claim A.11**.**
* is a matroid rank function and for each .*
Proof.
Since is g-matroidal, is supermodular and for every . Then, for any , we have , i.e., is monotone. Then, is submodular, monotone, and for every , i.e., is a matroid rank function. Also, . ∎
By Claim A.11, Propositions A.9 and A.10 imply the following.
Lemma A.12**.**
* has a stable matching. Also, for any stable matchings , of and any hospital , we have .*
Lemma A.12 implies that has a stable matching and that conditions (b) and (c) in Theorem 4.3 are equivalent.
What is left is to show that the condition (a) is also equivalent. For this purpose, we prepare the following three claims. The first and second claims are basic facts of paramodular functions [9]. The third one utilizes the exchange property of g-matroids (M*♮*-convex families).
Claim A.13**.**
*For any and , suppose that holds. Then, we have if and only if . *
Proof.
We abbreviate , , to , , , respectively, and denote for .
To show the “if” part, suppose . Then for any . Since , then . Thus, .
To show the “only if” part, suppose . We show for any . By the cross-inequality , we have , which implies , and thus . Also, since , we have . Thus, . ∎
Since is a matroid rank function for each , we can define the choice function induced from as in Section A.3.
Claim A.14**.**
For any , let be the choice function induced from . For if there exists such that , then .
Proof.
We abbreviate , , , to , , , , respectively.
By Proposition A.2, , and hence . Also, Propositions A.3 and A.5 implies . Since , we have , and hence . Combining these yields , and hence . ∎
Claim A.15**.**
For any , let be the choice function induced from . Suppose that satisfy
- •
* and , and*
- •
for every and , if , then .
Then, .
Proof.
We abbreviate , , , to , , , , respectively.
By Claim A.14, and imply . Also, by Proposition A.2. Then, Claim A.13 implies . Thus, . Suppose, to the contrary, . Then there is some . By the symmetric exchange axiom (B♮-EXC)** for , , and , we have either (i) , or (ii) . Note that (i) cannot hold since follows from . Then, (ii) holds, i.e., there exists such that .
By and and the assumption on implies . On the other hand, by , Proposition A.13 and imply . As and , this implies by Proposition A.6, a contradiction. ∎
We now complete the proof of Theorem 4.3 by showing the following lemma, which states the equivalence between conditions (a) and (b) in Theorem 4.3.
Lemma A.16**.**
* has an envy-free matching if and only if some stable matching of satisfies for all .*
Proof.
The “if” part: Let be a stable matching of such that for all . We show that is also an envy-free matching of .
As is feasible for , we have for every and for every . By Claim A.13 and , then , and hence is also a matching in . Suppose, to the contrary, that there is a doctor who has justified envy toward with . Then, (i) is unassigned or and (ii) and . Note that . Then, Claim A.13 implies . This means that is a blocking pair for in , a contradiction.
The “only if” part: Suppose that has an envy-free matching . We now construct a stable matching of satisfying for all .
For , define as in Section A.3. That is, returns the set of each doctor’s best choices and is defined by combining , where is induced from . From and , we define as in Section A.3. Define two supersets of by
[TABLE]
Note that , and hence every satisfies , and hence . Since is an envy-free matching, then for every with we have , since otherwise has justified envy toward . Thus, we have
- •
and , and
- •
for every and , if , then .
Claim A.15 then implies for each , and hence .
[TABLE]
Also, by the definition of and , we have , which implies
[TABLE]
Recall the partial order defined on in Section A.3. By (3) and (4), we have
[TABLE]
Since is monotone by Proposition A.8, this implies
[TABLE]
and hence there is such that is a fixed-point of . Denote it by and define . By Proposition A.7, is a stable matching of .
What is left is to show for all . Since , we have , Then , and hence for each . By and Claim A.14, . ∎
Combining Lemmas A.12 and A.16 completes the proof of Theorem 4.3.
A.5 Proof of Theorem 4.4
We first show that the “while loop” of the algorithm EF-Paramodular-CSM computes a stable matching of . By the proof of Proposition A.9, it suffices to show that, each iteration updates to . That is, we show that the subsets and defined as
[TABLE]
coincide with and , respectively, where and are defined for as in Section A.3. By definition, can be checked easily. To show , recall the definition of in Section A.3.
[TABLE]
Here, each is a choice function induced from . By definitions of and , for any , we have
[TABLE]
By the monotonicity of (shown in the proof of Claim A.11), for any , we have . Then, for any , , and ,
[TABLE]
Thus, we have .
We now analyze the time complexity. As shown in the proof of Proposition A.9, a stable matching is found by computing at most times, i.e., the “while loop” is iterated times. Also, we see that each iteration can be done in time. Checking the condition is done in time. Thus, the algorithm runs in time.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] A. Arulselvan, Á. Cseh, M. Groß, D. F. Manlove, and J. Matuschke. Matchings with lower quotas: Algorithms and complexity. Algorithmica , pages 1–24, 2016.
- 2[2] P. Berman, M. Karpinski, and A. D. Scott. Approximation hardness of short symmetric instances of MAX-3SAT. Electronic Colloquium on Computational Complexity Report , (49), 2003.
- 3[3] P. Biró, T. Fleiner, R. W. Irving, and D. F. Manlove. The college admissions problem with lower and common quotas. Theoretical Computer Science , 411(34):3136–3153, 2010.
- 4[4] L. Ehlers, I. E. Hafalir, M. B. Yenmez, and M. A. Yildirim. School choice with controlled choice constraints: Hard bounds versus soft bounds. Journal of Economic Theory , 153:648 – 683, 2014.
- 5[5] T. Fleiner. A matroid generalization of the stable matching polytope. In Proc. Eighth IPCO, Lecture Notes in Computer Science 2081 , pages 105–114. Springer-Verlag, Berlin & Heidelberg, 2001.
- 6[6] T. Fleiner. A fixed-point approach to stable matchings and some applications. Mathematics of Operations Research , 28(1):103–126, 2003.
- 7[7] T. Fleiner and N. Kamiyama. A matroid approach to stable matchings with lower quotas. Mathematics of Operations Research , 41(2):734–744, 2016.
- 8[8] D. Fragiadakis, A. Iwasaki, P. Troyan, S. Ueda, and M. Yokoo. Strategyproof matching with minimum quotas. ACM Transactions on Economics and Computation , 4(1):6:1–6:40, 2015.
