Abstract
We consider the two-sided stable matching setting in which there may be uncertainty about the agents’ preferences due to limited information or communication. We consider three models of uncertainty: (1) lottery model—for each agent, there is a probability distribution over linear preferences, (2) compact indifference model—for each agent, a weak preference order is specified and each linear order compatible with the weak order is equally likely and (3) joint probability model—there is a lottery over preference profiles. For each of the models, we study the computational complexity of computing the stability probability of a given matching as well as finding a matching with the highest probability of being stable. We also examine more restricted problems such as deciding whether a certainly stable matching exists. We find a rich complexity landscape for these problems, indicating that the form uncertainty takes is significant.
Keywords: Stable matchings, Stable marriage problem, Uncertain preferences, NP-hard problems, Polynomial-time algorithms
Introduction
We consider a Stable Marriage problem (SM) in which there is a set of men and a set of women. Each man has a linear order over the women, and each woman has a linear order over the men. For the purpose of this paper we assume that the preference lists are complete, i.e., each agent finds each member of the opposite side acceptable.1 In the stable marriage problem, the goal is to compute a stable matching; a matching where no two agents prefer to be matched to each other rather than to be matched to their current partners. Unlike most of the literature on stable matching problems [13, 19, 27], we assume that men and women may have uncertainty in their preferences which can be captured by various probabilistic uncertainty models. We focus on linear models in which each possible deterministic preference profile is a set of linear orders.
Uncertainty in preferences could arise for a number of reasons, both practical or epistemological. For example, an agent could express a weak order because the agent did not invest enough time or effort to differentiate between potential matches and therefore one could assume that each linear extension of the weak order is equally likely; this maps to our compact indifference model. In many real applications, the ties are broken randomly with lotteries, e.g., in the school choice programs in New York and Boston as well as in centralized college admissions in Ireland. However, a central planner may also choose a matching that is optimal in some sense, without breaking the ties in the preference list. For instance, in Scotland they used to compute the maximum size (weakly) stable matching to allocate residents to hospitals [19]. Alternatively, there may be a cost associated with eliciting preferences from the agents, so a central planner may want to only obtain and provide a recommendation based on a subset of the complete orders [9, 24]. Another cause of uncertainty could be that agents are certain about preferences over other agents according to specific criteria but there may be a probability distribution corresponding to the weight placed on different criteria. This motivates our lottery and joint probability models. In the lottery model, the agents have independent probabilities over possible linear orders, i.e., each linear order may correspond to a different criterion. In the joint probability model, the probability distribution is over possible preference profiles.
Uncertainty in preferences has already been studied in voting [15] and for cooperative games [18]. Ehlers and Massó [10] considers many-to-one matching markets under a Bayesian setting. Similarly, in auction theory, it is standard to examine Bayesian settings in which there is a probability distribution over the types of agents. In the two-sided matching setting, when preferences are uncertain, a natural solution is finding a matching which has the highest probability of being stable. We consider this fundamental computational problem and its related variants for the three uncertainty models discussed above.
To illustrate the problem, we describe a simple example with four agents. We write to say that agent a prefers b to c and assume the lottery model.
Example 1
We have two men and and two women and . Each agent assigns a probability to each strict preference ordering as follows. (i) and (ii) and (iii) and (iv) and .
This setting admits two matchings that are stable with positive probability: and . Notice that if each agent submits the preference list that s/he finds most likely to be true, then the setting admits a unique stable matching that is . The probability of being stable, however, is 0.48 whereas the probability of being stable is 0.52 (Tables 1, 2).
Table 1.
Pairwise probabilities for the agents in Example 1
| Men | Women |
|---|---|
Table 2.
Stability probability for each matching in Example 1
| Matching | Stability probability | |
|---|---|---|
| 0.52 | ||
Uncertainty Models
In this article, we consider three different uncertainty models which assume that agents have linear preferences. In related work we have explored similar computational questions when agents define their uncertainty over pairwise preferences [3].
Lottery Model For each agent, we are given a probability distribution over strict preference lists.
Compact Indifference Model Each agent reports a single weak preference list that allows for ties. Each complete linear order extension of this weak order is assumed to be equally likely.
Joint Probability Model A probability distribution over preference profiles is specified.
Note that for the Lottery Model and the Joint Probability Model the representation of the input preferences can be exponentially large (in the number of agents). However, in settings where similar models of uncertainty are used, including resident matching [9] and voting [15], a limited amount of uncertainty (i.e. small supports) is commonly expected and observed in real-world data [21, 22]. Consequently, we consider special cases when the uncertainty is bounded in certain natural ways, including the existence of only a small number of uncertain preferences and/or uncertainty on only one side of the market.
Observe that the compact indifference model can be represented as a lottery model. This is a special case of the lottery model in which each agent expresses a weak order over the candidates, similar to the SMT setting [13, 19]. However, the lottery model representation can be exponentially larger than the compact indifference model; for an agent that is indifferent among n agents on the other side of the market, there are n! possible linearly ordered preferences. The uncertainty models considered in the paper have further been examined in the context of Pareto optimal assignment of items to agents [4–6]. In a subsequent paper, Chen et al. [7] consider additional problems related to the joint probability model.
Computational Problems
Given a stable marriage setting where agents have uncertain preferences, various natural computational problems arise. Let stability probability denote the probability that a matching is stable. We then consider the following two natural problems for each of our uncertainty models.
StabilityProbability Given a matching and uncertain preferences of the agents, what is the stability probability of the matching?
MatchingWithHighestStabilityProbability Given uncertain preferences of the agents, compute a matching with the highest stability probability.
We also consider two specific problems that are simpler than StabilityProbability:
IsStabilityProbabilityNon-Zero For a given matching, is its stability probability non-zero?
IsStabilityProbabilityOne For a given matching, is its stability probability one?
We additionally consider problems connected to, and more restricted than, MatchingWithHighestStabilityProbability
ExistsCertainlyStableMatching Does there exist a matching that has stability probability one?
ExistsPossiblyStableMatching Does there exist a matching that has non-zero stability probability?
Note that ExistsPossiblyStableMatching is straightforward to answer for any of the three uncertainty models we consider here, since there exists a stable matching for each deterministic preference profile that is a possible realization of the uncertain preferences.
Results
Table 3 summarizes our main findings. Note that the complexity of each problem is considered with respect to the input size, and that under the lottery and joint probability models the size of the input could be exponential in n, namely for the lottery model and for the joint probability model, where n is the number of agents on either side of the market.
Table 3.
Summary of results
| Problems | Lottery model | Compact indifference | Joint probability |
|---|---|---|---|
| StabilityProbability | #P-complete | ? | in P |
| in P for all three models if 1 side is certain | |||
| IsStabilityProbabilityNon-Zero | NP-complete | in P | in P |
| IsStabilityProbabilityOne | in P | in P | in P |
| ExistsPossiblyStableMatching | in P | in P | in P |
| ExistsCertainlyStableMatching | in P | in P | NP-complete |
| MatchingWithHighestStabilityProb | ? | NP-hard | NP-hard |
| in P for all models if 1 side is certain and | |||
| there is O(1) number of uncertain agents | |||
We point out that StabilityProbability is #P-complete for the lottery model even when each agent has at most two possible preferences, but in P if one side has certain preferences. Additionally, we show that IsStabilityProbabilityNon-Zero is in P for the lottery model if each agent has at most two possible preferences. Note that StabilityProbability is open for the compact indifference model when both sides may be uncertain, and we also do not know the complexity of MatchingWithHighestStabilityProbility in the lottery model, except when only a constant number of agents are uncertain on the same side of the market.
Preliminaries
In the Stable Marriage problem, there are two sets of agents. Let M denote a set of n men and W a set of n women. We use the term agents when making statements that apply to both men and women, and the term candidates to refer to the agents on the opposite side of the market to that of an agent under consideration. Each agent has a linearly ordered preference over the candidates. An agent may be uncertain about his/her linear preference ordering. Let L denote the uncertain preference profile for all agents.
We say that a given uncertainty model is independent if any uncertain preference profile L under the model can be written as a product of uncertain preferences for all agents a, where all ’s are independent. Note that the lottery and the compact indifference models are both independent, but the joint probability model is not.
A matching is a pairing of men and women such that each man is paired with at most one woman and vice versa; defining a list of (man, woman) pairs (m, w). We use to denote the woman w that is matched to m and to denote the match for w. Assume that each agent prefers being matched to remaining unmatched. Given linearly ordered preferences, a matching is stable if there is no pair (m, w) not in where m prefers w to his partner in , i.e., , and vice versa. If such a pair exists, it constitutes a blocking pair; as the pair would prefer to defect and match with each other rather than stay with their partner in . A matching is a complete matching if all agents are matched in . A matching is certainly stable if it is stable with probability 1. For an instance and matching , let denote the probability of being stable, and let , that is the maximum probability of a matching being stable for I.
The following extensions of SM will come in handy in proving our results. The Stable Marriage Problem with Partially Ordered Lists (SMP) is an extension of SM in which agents’ preferences are partial orders over the candidates. An instance of SMP is given by a set of n men M, a set of n woman W, and the partial preference ordering profile of agents p where denotes the partial order that represents the preferences of agent a. If for a given agent a and two candidates b and c we have that neither b is related to c nor c is related to b then a cannot compare b and c. The Stable Marriage problem with Ties (SMT) is a special case of SMP in which incomparability is transitive and is interpreted as indifference. Therefore, in SMT each agent partitions the candidates into different ties (equivalence classes), is indifferent between the candidates in the same tie, and has strict preference ordering over the ties. In some practical settings some agents may find some candidates unacceptable and prefer to remain unmatched than to be matched to the unacceptable ones. SMP with Incomplete Lists (SMPI) and SMT with Incomplete lists (SMTI) captures these scenarios where each agent’s partially ordered list contains only his/her acceptable candidates. Three stability criteria, including the one we have already defined, have been introduced in the literature to capture different degrees of stability for these richer domains. The weakest criterion, that is the one we have already defined, is (weak) stability. A matching is (weakly) stable in an instance of SMPI if there is no pair where m (strictly) prefers w to his partner in and vice versa. The strongest criterion, referred to by super-stability, is closely related to our notion of certain stability. A matching is super-stable in an instance of SMPI if there is no pair (m, w) not in where m either prefers w to his partner in or finds them incomparable, and vice versa. If such a pair exists, it constitutes a very weakly blocking pair. It is easy to observe (see, e.g., [17]) that is super-stable if and only if it is stable w.r.t. all linear extensions of the partially ordered lists.
We define the certainly preferred relation for agent a. We write if and only if agent a prefers b over c with probability 1. Based on the certainly preferred relation, we can define a dominance relation D: ; . Based on the notion of the dominance relation, we present a useful characterization of certainly stable matchings for independent uncertainty models.
Lemma 1
A matching is certainly stable for an independent uncertainty model if and only if for each pair (m, w), or .
Proof
Assume that for each pair (m, w) we have that or for a given matching . This implies that for each unmatched pair (m, w) it is the case that or and hence (m, w) has zero probability of forming a blocking pair. It thus follows that is certainly stable.
Assume that a matching is certainly stable. Then no pair (m, w) has non-zero probability of forming a blocking pair. This is only possible if the pair (m, w) is part of the matching or one of m and w have zero probability of preferring the partner in (m, w) over their current partner in . In either case, or .
We point out that the certainly preferred relation can be computed in polynomial time for all three models studied in this paper.
General Results
In this section, we first show that the complexity of all problems that we study is the same for complete and incomplete lists. We then present some general results that apply to multiple uncertainty models. We show that ExistsCertainlyStableMatching can be solved in polynomial time for a class of independent uncertainty models that includes lottery and compact indifference. We then prove that, when the number of uncertain agents is constant and one side of the market is certain, we can solve MatchingWithHighestStabilityProbability efficiently for each of the linear models.
The Case for Incomplete Lists
The claims in this section explain that our efficient algorithms described for the case of complete lists can be extended to incomplete lists. Additionally, our hardness proofs for incomplete lists can be modified to extend to complete lists. In fact, all our hardness reductions, except Theorem 9, are for complete lists and so they trivially extend to the case of incomplete lists.
In the case of complete lists, we assumed that we have an equal number of men and women and everybody finds all candidates acceptable. When we consider the problem with incomplete lists we mean that the sizes of the two sets are not necessarily the same and not all the candidates are acceptable to all agents. However, we assume that in all realization of the preference profiles the same candidates are acceptable, so we only randomize on the preferences over the acceptable partners.
Proposition 1
The computational complexity of StabilityProbability is the same for complete and incomplete lists.
Proof
We show that if I is an instance of a linear probabilistic model with incomplete lists and is a given matching for I then we can, in linear time, construct an extended instance with complete lists and a complete matching for such that the stability probability of under I, , is equal to the stability probability of under , .
Assume, without loss of generality, that . From I we create an extended instance with sets M and in the following way. First we ensure that by adding enough agents to the woman’s side of the market if necessary. Then we complete the preference lists of each agent by adding the previously unacceptable or nonexistent candidates to the end of her/his list according to a predetermined order, e.g., by the indices of the agents. Suppose now that is a matching in I and X is the set of matched men in M, whilst . Let E denote the set of acceptable pairs in I. We assume that there is no pair belonging to E, since in this case this pair would certainly block in I, thus trivially. Let us now extend to another matching in by appending to the unique stable matching for the subinstance restricted to the unmatched agents. Namely, let be the stable matching that matches to in such a way that the kth pair contains the kth man and the kth woman from and , respectively according to their indices, and let .
We claim that . This is because there is no blocking pair in , and any other pair is blocking for some preference profile in I if and only if it is blocking for the corresponding preference profile in . To verify the latter statement, first consider a pair . If then the partners of m and w are the same in and and the ranks of m are the same in the corresponding preference profiles of w, and vice versa. If then this pair cannot block in any preference profile. Similarly, let us consider a pair (m, w) when exactly one agent is matched in , say, m, i.e., . If then m has the same partner in and , whilst w is unmatched in and has a previously unacceptable partner in , namely . Whenever this pair blocks for I then it also blocks for , since the rank of w is the same in the corresponding preference profiles of m, and w prefers m to in all profiles. Finally, if then this pair cannot block in any preference profile, as before.
The above proof implies the following Corollary.
Corollary 1
The computational complexity of IsStabilityProbabilityNon-Zero is the same for complete and incomplete lists, and the same holds for IsStabilityProbabilityOne.
Proposition 2
The computational complexity of MatchingWithHighestStabilityProbability is the same for complete and incomplete lists.
Proof
Suppose that we are given an instance of a linear probabilistic model with incomplete lists I, and we consider the extended instance with complete preference lists, as described in the proof of Proposition 1. We show that if is one of the most stable complete matchings in then its restriction to E, , is one of the most stable matching for I.
First we note that , since any pair in E that is blocking for under some preference profile in I is also blocking for under the corresponding extended preference profile in . Suppose now for a contradiction that there is another matching for I such that . But then, for its natural extension we have by Proposition 1, contradicting with the maximum stability of .
The above proof implies the following Corollary.
Corollary 2
The computational complexity of ExistsPossiblyStableMatching is the same for complete and incomplete lists, and the same holds for ExistsCertainlyStableMatching.
An Efficient Algorithm for the Lottery and Compact Indifference Models
As pointed out earlier, certainly stable matchings are closely related to the notion of super-stable matchings [13, 16]. Deciding whether an instance of SMPI admits a super-stable matching or not can be done in polynomial time using algorithm SUPER-SMP in [25]. We next show that for a class of independent uncertainty models that includes the lottery and compact indifference, we can solve ExistsCertainlyStableMatching in polynomial time by a straightforward reduction to the problem of deciding whether an instance of SMP admits a super-stable matching or not.
Theorem 1
For any independent uncertainty model in which the certainly preferred relation is transitive and can be computed in polynomial time, ExistsCertainlyStableMatching can be solved in polynomial time.
Proof
We prove this by reducing ExistsCertainlyStableMatching to the problem of deciding whether an instance of SMP admits a super-stable matching or not. Let be an instance of ExistsCertainlyStableMatching under an independent uncertainty model in which the certainly preferred relation is transitive and can be computed in polynomial time. We construct in polynomial time an instance of SMP, where p is the agents’ partial preference ordering profile, as follows. The set of men and women are unchanged. To create the partial preference ordering for each agent a we do the following. Without loss of generality, assume that a is a man m. For every pair of women and (i) if then , denoting that m (strictly) prefers to in , (ii) if then , denoting that m (strictly) prefers to in . We claim that admits a super-stable matching if and only if I admits a certainly stable matching. It follows from the definition of super-stability that a matching in is super-stable if and only if there is no unmatched pair (m, w) where and .
We first prove that if admits a super-stable matching then is certainly stable in I. Assume, for a contradiction, that is not certainly stable. It then follows Lemma 1 that and , implying that and , and thus and . Therefore is not super-stable in , a contradiction.
Now we prove that if I admits a certainly stable matching then is super-stable in . Assume, for a contradiction, that is not super-stable in . Therefore there exists an unmatched pair (m, w) where and , implying that and . The latter statement, coupled with the fact that m and w are not matched together, implies that and . Thus, by Lemma 1, is not certainly stable in I, a contradiction.
An Efficient Algorithm for the Case with a Constant Number of Uncertain Agents
Theorem 2
When the number of uncertain agents is constant and one side of the market is certain, then MatchingWithHighestStabilityProbability is polynomial-time solvable for each of the linear models.
Proof
Let be an instance of MatchingWithHighestStabilityProbability and assume, without loss of generality, that uncertain agents are all men. Let be the set of uncertain agents with for a constant k. We consider all the possible matchings between X and W; note that their total number is . Let , , be such a matching. The main idea of the proof is to show that there exists an extension of to , which we denote by , that has stability probability at least as high as any other extension of . Furthermore, we can compute in polynomial time. Therefore, in order to compute a matching that has the highest stability probability, it is enough to generate ’s, compute their stability probabilities, compare them and select the one with the highest stability probability. The total number of ’s and hence ’s is K and hence polynomial in n, we can compute each in polynomial time (as we will see later in this proof) and computing the stability probability of a given can be done in polynomial time since all uncertain agents are on one side of the market (see Theorem 3 in Section 4, Theorem 8 in Section 5 and Theorem 10 in Section 6).
Take a matching between sets X and W. Let (i.e., the partners of X in W) and let and . Recall that all agents in are certain. First, we compute the man-optimal matching for the sub-instance on , that can be done efficiently by the Gale-Shapley algorithm [11]. Consider the matching in I. If admits a blocking pair involving some (certain) agents and (that we will refer to as a BP_Type1 blocking pair) then we can conclude that any extension of to a matching in I will have zero probability of being stable. This is because any extension of that has a positive probability of being stable in I must also be stable for the sub-instance . If is a blocking pair for then it also blocks any other extension of in I, since in all extensions w has the same partner and cannot have a better partner than in . Therefore we can exclude the extensions of from further consideration in this case.
Suppose now that admits no BP_Type1 blocking pair. We truncate the preference lists of men in in the following way. For each man we remove from his preference list all the women that prefers less than some woman who prefers to her partner in . That is, we remove from the list of if there exists such that and . To do this, it is enough to identify the first (i.e. the highest ranked) woman w in the preference list of such that and , and then remove from the preference list of all women that appear after w. Let us denote the sub-instance for with the truncated lists as . Now we compute the woman-optimal matching in . Let . We claim that is a complete matching in I and is stable for the certain agents; that is, no blocking pair (m, w) exists where both m and w are certain agents. To see this, first note that since admits no BP_Type1 blocking pair hence remains in the truncated preference list of all . Therefore, the man-optimal matching for is the same as the man-optimal matching for , , implying that a complete stable matching exists in and that each is either matched to the same woman in both and or prefers to . As all stable matchings in are of the same size (by the Rural-Hospital Theorem, see e.g. [26]), hence all agent in are matched in and therefore is a complete matching for I. Now assume, for a contradiction, that is not stable for the certain agents and hence admits a blocking pair where and . Note that as otherwise blocks in , a contradiction. Therefore, . But then we have that prefers to and also that prefers to , implying that by the construction of the truncated preference lists of men in , woman must have been removed from ’s preference list, a contradiction. Therefore is a complete matching in I and is stable for certain agents.
Finally, we show that for any matching that is an extension of to I, the stability probability of is less than, or equal to, the stability probability of . If is not stable for the certain agents then has zero probability of being stable, thus the statement holds. Otherwise, is stable for the certain agents and hence for any pair (m, w) that has a positive probability of being a blocking pair it must be that and . Moreover, the projection of onto must be stable in , and as each woman is matched in to her optimal stable partner under thus w either prefers her partner in to her partner in , or is matched to the same partner under both matchings. Therefore, for each deterministic preference profile that has a positive probability of realization under I, if a pair (m, w) blocks then it must also block , implying that if is stable under the given preference profile then so is , and thus our statement follows.
Lottery Model
In this section, we turn to the lottery model. Recall that in the lottery model, each agent reports a probability distribution over a set of preference orders. We show that even with small supports, computing StabilityProbability is still a computationally hard problem. However, other questions become more tractable with small supports or one side having certain preferences.
Theorem 3
For the lottery model, if one side has certain preferences, StabilityProbability is polynomial-time solvable.
Proof
Without loss of generality, assume that men have certain preferences so each man m has a deterministic preference relation . We present a polynomial-time computable formula for the probability of being stable. For a woman w, we denote her set of possible preferences lists by with each preference list having corresponding probability . Let be the probability that woman w will not form a blocking pair. The term is by definition as follows.
So for each , can be computed in time by scanning over the preference lists of woman w and checking in which of them it is not the case that some m prefers w over and w prefers m over . The probability that is stable is equal to the probability that no woman is in a blocking pair:
Theorem 4
For the lottery model, IsStabilityProbabilityOne can be solved in polynomial time.
Proof
The problem is equivalent to checking whether the given matching has non-zero probability of not being stable, i.e., we need only find a single possible blocking pair. This can be checked as follows: for each pair (m, w) of agents that are not matched to each other, we check whether either member of this pair can form a blocking pair with a pair in with non-zero probability. To do this, we need to check whether m prefers w in some possible preference over and whether w prefers m in some possible preference over . As this only involves checking possible pairs, each of which can be checked in linear time, this can be done in polynomial time.
Theorem 5
For the lottery model, IsStabilityProbabilityNon-Zero is polynomial-time solvable when each agent has at most two possible preference orderings.
Proof
The problem is to decide whether there is some preference ordering for each agent (among the ones in their lottery) such that the given matching is stable. If each agent has at most two possible preference orderings in their lottery, we can reduce the problem to an instance of 2SAT [12], as follows. 2SAT is the problem of deciding whether a given propositional formula in 2CNF is satisfiable. A propositional formula is in 2CNF if it is the conjunction of clauses of size 2, where and are propositional literals (propositional variables x or their negation ).
Let and be the two sets of agents. Moreover, for each agent c and each , let denote the i-th preference in the lottery for agent c.
We introduce a propositional variable for each preference , which we also call . Intuitively, these variables indicate which preference for the agents we choose to make the matching stable.
For each agent c, we add the following clauses to , to ensure that for each agent c there is exactly one preference that is selected:
Then, we add clauses to ensure that the selected matching is stable. For each agent c and each , let be the set of preferences —for and —such that and together lead to the given matching being unstable (with being a blocking pair). Then, for each c, i, we add the following clauses: .
The given matching is then stable if and only if is satisfiable. Since is a 2CNF formula, this can be decided in linear time [1].
Theorem 6
For the lottery model, StabilityProbability is #P-complete, even when each agent has at most two possible preferences.
Proof
We show how to count the number of satisfying assignments for a 2CNF formula using the problem StabilityProbability for the lottery model where each agent has two possible preferences. Since this problem is #P-hard, we get #P-hardness also for StabilityProbability [23].
Let be a 2CNF formula over the variables . We firstly transform to a 2CNF formula over the variables that has exactly the same number of satisfying assignments, and that satisfies the property that each clause contains one variable among and one variable among . We do so as follows. Firstly, for each , we add the clauses , , and , ensuring that in each satisfying assignment the variables , , and get assigned the same truth value. Then, for each clause of , we replace one occurrence of a variable among by a corresponding variable among —that is, we replace either by or by —and we add the resulting clause to . For example, if contains the clause , we could add the clause to . It is readily verified that has the same number of satisfying assignments as .
Without loss of generality, we may assume that for each pair of variables among , the original formula contains at most two distinct clauses that contain both and . If were to contain three or more distinct clauses that contain both and , we know that at least one of the literals would be entailed by these clauses, and we could instantiate these entailed literals and simplify accordingly. For example, if contains the clauses , and , we can simplify by instantiating the entailed literals and . As a result, we know that we can construct in such a way that for any two variables of , there is at most one clause of that contains both of these variables. For instance, if contains the clauses and , we can construct in such a way that it contains the clauses and .
We now construct an instance of StabilityProbability. The sets of agents that we consider are and . The matching that we consider matches to and matches to , for each as shown below.
Each agent has only a single possible preference, namely one where they prefer over all other agents. Similarly, each agent has a single possible preference where they prefer over all other agents. In other words, the agents and are perfectly happy with the given matching.
The agents and each have two possible preferences, that are each chosen with probability . These two possible preferences are associated with setting these variables to true or false, respectively. We describe how these preferences are constructed for the agents . The construction for the preferences of the agents is then entirely analogous.
Take an arbitrary agent . We show how to construct the two possible preferences for agent , which we denote by and . Both of these possible preferences are based on the following partial ranking: and we add some of the agents among to the top of this partial ranking, and the remaining agents to the bottom of this partial ranking.
To the ranking we add exactly those agents to the top where contains a clause or a clause . All remaining agents we add to the bottom. Similarly, to the ranking we add exactly those agents to the top where contains a clause or a clause . The rankings and , for the agents , are constructed entirely similarly.
Consider a truth assignment , and consider the corresponding choice of preferences for the agents , where for each agent the preference is chosen if and only if , and for each agent the preference is chosen if and only if . We show that satisfies if and only if the corresponding choice of preferences leads to the matching being stable. The only blocking pairs that can arise are between an agent and an agent . Take an arbitrary such pair . We show that this is a blocking pair if and only if falsifies at least one clause containing both variables and . We know that contains exactly one clause containing and . We deal with the case where contains the clause —the other possibilities are entirely analogous. By construction of , and , we get that is a blocking pair if and only if both and are chosen. This is exactly the case where the clause is falsified. Thus, we can conclude that falsifies if and only if there is a blocking pair, and thus that satisfies if and only if the corresponding choice of preferences leads to the matching being stable
Since each combination of preferences is equally likely to occur, and there are many combinations of preferences, the probability that the given matching is stable is exactly , where s is the number of satisfying truth assignments for . Therefore, given q, s can be obtained by computing .
If the agents are allowed to have more than two possible preferences as we have assumed in the last two Theorems, then even the following problem is NP-complete. The statement can be proved via a reduction from Exact Cover by 3-Sets (X3C).
Theorem 7
For the lottery model, IsStabilityProbabilityNon-Zero is NP-complete.
Proof
The problem is in NP, since we only need to provide one profile that occurs with non-zero probability for which the given matching is stable. We show NP-hardness by giving a reduction from Exact Cover by 3-Sets (X3C). Let (X, C) be an instance of X3C, where for some n, and is a collection of sets , each of size 3. Moreover, let , for each . The problem is to decide whether there is a subset of size exactly n such that .
We construct an instance of our problem as follows. We let and be the two sets of agents, we match to —for each — and we match to —for each . This is depicted graphically below.
Each agent prefers their matching to over any other possible match, i.e., agent has one preference, where is ranked first, and the rest of the agents appear in some fixed order after .
Similarly, each agent prefers their matching to over any other possible match. That is, agent has one preference ordering in which is ranked first and the rest of the agents appear in some fixed order after .
Then, for each agent , we add the following |C| possible preferences to the lottery:
where in each preference the remaining agents appear in any (fixed) order after . In other words, prefers three agents to their current match, and these three form some set .
Finally, for each agent , we add the following n possible preferences to the lottery:
That is, each agent prefers each of the agents , except one, to their current match (and they never prefer any of the agents for over their current match).
We can show that there is a choice of preferences for the agents that makes this matching stable if and only if .
Firstly, suppose that there is a choice of preferences for the agents that makes this matching stable. That is, for each agent there is some preference ordering , and for each agent there is some preference ordering , such that these orderings (together with the fixed preference orderings for the agents and ) make this matching stable. Now, consider the set . We show that . To derive a contradiction, suppose that this is not the case, that is, suppose that . Then, since , and for each it holds that , we know that there must be some such that . Say that . Therefore, there must be some such that both and prefer over their current match. On the other hand, will prefer either or over their current match. Therefore, either and or and will form a blocking pair. Thus, the matching is not stable. From this we can conclude that .
Conversely, suppose that there exists some of size exactly n such that . Let . Now, for each agent we pick some preference ordering, and for each agent we pick some preference ordering, such that these orderings (together with the fixed preference orderings for the agents and ) make the matching stable. For each agent , we pick the preference ordering , and for each agent we pick the preference ordering , where is the unique value such that . It is straightforward to verify that these preferences make the matching stable.
Given that StabilityProbability is computationally hard even in restricted settings, one may immediately wonder about approximation algorithms. However, we can state the following two corollaries, the first from Theorem 7 and the second from [29, Proposition 8] and Theorem 7, which show that even approximation remains intractable.
Corollary 3
For the lottery model, unless P=NP, there exists no polynomial-time constant-factor approximation algorithm StabilityProbability of a given matching.
Corollary 4
For the lottery model, unless NP=RP, there is no FPRAS for StabilityProbability.
Compact Indifference Model
In the compact indifference model we are given an instance of SMT and each linear order over candidates (each possible preference ordering) is achieved by breaking ties independently at random with uniform probabilities. It is easy to show that IsStabilityProbablityNonZero, IsStabilityProbablityOne, and ExistsCertainlyStableMatching are all in P.
Proposition 3
For the compact indifference model, IsStabilityProbabilityNonZero is in P.
Proof
This is equivalent to checking whether a given matching is weakly stable in the given SMTI instance, which is polynomial-time solvable. To check this we only have to look for a blocking pair, which can be done in polynomial time: take every possible pair (m, w) who are not matched together and check whether they both (strictly) prefer each other to their current partner.
Proposition 4
For the compact indifference model, IsStabilityProbabilityOne is in P.
Proof
This is equivalent to checking whether a given matching is super stable in the given SMTI instance, which is polynomial-time solvable. To check this we only have to look for a very weakly blocking pair, which can be done in polynomial time: take every possible pair (m, w) who are not matched together and check whether they each either prefers the other to his or her current partner or finds them incomparable.
Proposition 5
For the compact indifference model, ExistsCertainlyStableMatching is in P.
Proof
Deciding whether there is a matching that is stable with probability one is equivalent to deciding whether there is a matching that is stable w.r.t. all refinements, i.e., a super-stable matching. Given an instance of SMTI one can decide in polynomial time whether it admits a super-stable matching [20].
The complexity of computing the stability probability of a given matching remains open under the compact indifference model, but this problem can be shown to be in P if one side has certain preferences.
Theorem 8
In the compact indifference model, if one side has certain preferences, StabilityProbability is polynomial-time solvable.
Proof
Assume, without loss of generality, that men have certain preferences. The following procedure gives us the stability probability of any given matching . (1) For each uncertain woman w identify those men with whom she can potentially form a blocking pair. That is, those m such that and w is indifferent between m and her partner in . Assume there are k such men. The probability of w not forming a blocking pair with any men is then the probability that her current match ranks first among these men, which is . (2) Multiply the probabilities from step 1.
We next show that MatchingWithHighestStabilityProbability is NP-hard. For an instance I of SMT and matching , let denote the probability of being stable, and let , that is the maximum probability of a matching being stable. A matching is said to be weakly stable if there exists a tie-breaking rule where is stable. Therefore a matching has positive probability of being stable if and only if it is weakly stable. Furthermore, if the number of possible tie-breaking is N then any weakly stable matching has a probability of being stable at least .
An extreme case occurs if we have one woman only with n men, where the woman is indifferent between all men. In this case any matching (pair) has a probability of being stable. An even more unfortunate scenario is when we have n men and n women, each women is indifferent between all men, and each man ranks the women in a strict order in the same way, e.g., in the order of their indices. In this case, the probability that the first woman picks her best partner, and thus does not block any matching is . Suppose that the first woman picked her best partner, the probability that the second woman also picks her best partner from the remaining men is , and so on. Therefore, the probability that an arbitrary complete matching is stable is .
Theorem 9
For the compact indifference model, MatchingWithHighestStabilityProbability is NP-hard, even if only one side of the market has uncertain agents.
Proof
For an instance I of SMTI, let opt(I) denote the maximum size of a weakly stable matching in I. [14] showed (in the proof of Corollary 3.4) that given an instance I of SMTI of size n, where only one side of the market has agents with indifferences and each of these agents has a single tie of size two, and any arbitrary small positive , it is NP-hard to distinguish between the following two cases: (1) and (2) .
When choosing so that we can simplify the above cases to (1) , since and (2) , since .
Therefore, the number of agents left unmatched on either side of the market is less than in the first case and more than in the second case. Let us now extend instance I to a larger instance of SMTI as follows. Besides the n men and n women , we introduce men and another men and women . Furthermore, for each , we introduce n men . We create the preferences of as follows. The preferences of men M remain the same. For each woman we append the men X and then Y at the end of her list in the order of their indices. Each man has only all the women W in his list in the order of their indices. Furthermore, each has all the women W first in his preference list in the order or their indices and then . Let each has as first choice and then all the men in one tie of size n. Each man in has only in his list. We will show that in case one , whilst in case two . Therefore, for , it is NP-hard to decide which of the two separate intervals contains the value .
To show the above statement, suppose first that we have the first case, so and therefore less than women are left unmatched in a maximum size weakly stable matching for I, denoted by . We extend to for as follows. We assign all the women in to men in X in the unique stable way, namely we pair them in a mutually increasing order of their indices. Since , we now matched all women in W, and left some men in X unmatched in . We complete the matching by assigning to for each and leaving all of the men in for all j unmatched. We shall see that no matter how we break the ties in , blocking pair can appear between the original I agents only, and therefore the probability of being stable in is the same as the probability of being stable in I. Since we have at most n ties in I, each of length two, the number of different tie-breakings is at most , out of which at least one is stable. Therefore .
In the second case, and therefore more than women are left unmatched in any weakly stable matching for I. Let be one of the most stable matchings in . First we have to note that the restriction of to I must be weakly stable in I, since otherwise . Let denote the set of women that are not matched to any man from M in . According to our assumption , whilst , therefore in order to avoid a certain blocking pair between and we shall match all the men in to women in in the only stable way (in the order of indices, where men in X are coming before men in Y), leaving some women in unmatched in . However, in this case no agent can be matched to , and therefore, even if there was no potential blocking pair between agents of I, the probability that is matched the best partner from is independently for each . Therefore the probability of being stable is at most , which completes the proof of the first statement.
Regarding the NP-hardness of finding one of the most stable matchings, we shall prove that we can decide between the two cases according to the number of unmatched women in W in the restriction of to I, where is one of the most stable matchings in . To see this, let denote again the set of women that are not matched to any man in M under . In the first case, when , it must be the case that , since otherwise would be less than and could not achieve , that is the minimum value for , as shown in the above argument. Whilst, in the second case must hold, since was assumed.
Joint Probability Model
In this section, we examine problems concerning the joint probability model. Recall that the input now consists of a set of preference profiles, and a probability distribution over these preference profiles. Our first result is that the stability probability of a matching can be computed in polynomial time in the size of the input.
Theorem 10
For the joint probability model, StabilityProbability can be solved in polynomial time.
Proof
The probability that a given matching is stable is equivalent to the sum of the probability weights of the preference profiles for which the matching is stable. This can be checked as follows. We check for which preference profiles the given matching is stable. For one profile, this can be checked in time by checking for each (man, woman) pair, whether it is a blocking pair. Then we add up the probabilities of those profiles for which the matching is stable. The sum of the probabilities is the probability that the matching is stable.
Corollary 5
For the joint probability model, IsStabilityProbabilityNon-Zero and IsStabilityProbabilityOne can be solved in polynomial time.
For the joint probability model, the problem ExistsCertainlyStableMatching is equivalent to checking whether the intersection of the sets of stable matchings of the different preference profiles is empty.
Theorem 11
For the joint probability model, ExistsCertainlyStableMatching is NP-complete.
Proof
The problem is in NP, since computing StabilityProbability can be done in polynomial time by Theorem 10 , and so a matching that is stable with probability 1 is a certificate. The NP-hardness proof is by reduction from the NP-complete 3-Coloring problem. The input for 3-Coloring is a graph , and the question is whether there exists a coloring of the vertex set with 3 colors, , such that no two adjacent vertices receive the same color. Such a coloring is called a proper coloring. Let be a graph specifying an instance of 3-Coloring, where . We construct an instance I of ExistsCertainlyStableMatching in the joint probability model.
For each vertex , we introduce three men and three women . We will add a sequence of preference profiles that have non-zero probability. The exact probability of the preference profiles is unimportant, so we may assume that there is a uniform probability associated with the preference profiles. The first preference profile will ensure that every certainly stable matching matches each to some and each to some , where . Moreover, it ensures that for each , exactly one of three matchings between the men and the women must be used:
Intuitively, choosing one of the matchings (1)–(3) for the agents corresponds to coloring vertex with one of the three colors in .
Then, for each edge , and for each color , we will introduce a preference profile that ensures that in each certainly stable matching, it cannot be the case that both the agents and the agents are matched to each other according to matching (c). As a result, any certainly stable matching directly corresponds to a proper 3-coloring of G.
A detailed description of the preference profiles and and a proof of correctness for this reduction follows.
In , for each , the preferences for are as follows:
Observe that the matchings (1)–(3) are the only stable matchings restricted to the agents .
Next, we continue with the preference profiles . Take an arbitrary and an arbitrary . In , the preferences for for each are exactly the same as in . Only the preferences for and differ from ; namely, we construct these preferences as follows.
For , we start with preferences that (i) for all have {} as top three choices, (ii) for all have {} as top three choices, (iii) admit only matchings (1), (2), and (3) as stable matchings between the agents , and (iv) for the men the matching (c) is the worst option among the matchings (1), (2), and (3). Similarly, for , we start with preferences that satisfy conditions (i), (ii) and (iii), and additionally satisfy the condition (iv) that for the women the matching (c) is the worst option among the matchings (1), (2), and (3). Then, we modify the preferences for and slightly. For , we insert between his second and third preferred woman. Similarly, for , we insert between her second and third preferred man. As a result, and form a blocking pair in this preference profile if both the agents and the agents are matched to each other using matching (c)— and not if either set of agents is matched to each other using some other matching .
For example, consider and . The preferences for the agents and in the preference profile are as follows:
We argue that G has a proper 3-coloring if and only if there is a certainly stable matching for the probability distribution over preference profiles that we constructed.
Firstly, suppose that G has a proper 3-coloring, say . We can then construct a certainly stable matching as follows. For each , we match the agents to each other using matching . Clearly, this matching is stable for . Moreover, because is a proper 3-coloring of G, it is straightforward to verify that this matching is also stable for each .
Conversely, suppose that there is a certainly stable matching. We know that in this matching, each man must be matched to some woman , and vice versa, each woman must be matched to some man . If this were not the case, the matching would not be stable for , and thus not certainly stable. Moreover, by a similar argument, we know that for each , the matching between the men and the women must be one of the matchings (1), (2), or (3). We can then construct a 3-coloring as follows. For each , we set in such a way that is the matching used in the certainly stable matching to match the men and the women to each other.
We argue that is a proper 3-coloring of G. Suppose that this is not the case, that is, that there is some such that . Now consider the preference profile . By construction of , we know that in the certainly stable matching, agent is matched to agent and agent is matched to agent , both times according to matching (c). However, by construction of we will have that and form a blocking pair in . This is a contradiction with our assumption that the matching we considered is certainly stable. From this, we can conclude that is a proper 3-coloring of G.
By reducing from 3-Coloring on 4-regular graphs and using Vizing’s theorem to combine preference profiles, we can strengthen Theorem 11 and show that the result holds even when the input contains only a constant number of preference profiles.
Corollary 6
For the joint probability model, ExistsCertainlyStableMatching is NP-complete, even when there are only 16 preference profiles in the lottery.
Proof
We show this by modifying the proof of Theorem 11. We know that 3-Coloring is NP-complete even when restricted to 4-regular graphs [8]. We use the reduction in the proof of Theorem 11, and we assume that in the given graph G, each vertex has degree 4. Then, by Vizing’s Theorem [28], we know that we can give a proper edge coloring of G that uses at most 5 colors. Moreover, we can find such an edge coloring in polynomial time. Then, since in the proof of Theorem 11, in each preference profile with , only the preferences for the agents differ from , we can, for each color , combine the preference profiles for all edges e that are colored with the same color. This results in only 16 preference profiles: , and a preference profile for each of the 5 edge colors and each of the 3 vertex colors.
Future work
First we note that we left open two outstanding questions, as described in Table 3. In this paper we focused on the problem of computing a matching with the highest stability probability. However, a similarly reasonable goal could be to minimize the expected number of blocking pairs. It would also be interesting to investigate some further realistic probability models, such as the situation when the candidates are ranked according to some noisy scores (like the SAT scores in the US college admissions). This would be a special case of the joint probability model that may turn out to be easier to solve.
One may also consider the questions we asked in this paper for two natural generalizations on the one-to-one matching problem: many-to-one and the many-to-many two-sided problems, where the agents on one or both sides of a two-sided market have capacities. These are reasonable extensions with regard to many applications, e.g., college admissions, and course allocation, respectively. One issue when considering capacities larger than one is that there are many ways of extending the preferences over candidates to preferences over sets of candidates. Another possible generalization of the one-to-one marriage model is the non-bipartite stable roommates problem. We conjecture that most of our polynomial tractability results can be extended to these more general models, but we leave this work for future research.
Acknowledgements
The authors gratefully acknowledge the support from European Cooperation in Science and Technology (COST) action IC1205. Aziz is supported by a UNSW Scientia Fellowship. Biró acknowledges the support of the Hungarian Academy of Sciences under its Momentum Programme (LP2016-3/2018) and Cooperation of Excellences Grant (KEP-6/2018), and the Hungarian Scientific Research Fund, OTKA, Grant No. K128611. Gaspers is the recipient of an Australian Research Council (ARC) Future Fellowship (FT140100048) and acknowledges support under the ARC’s Discovery Projects funding scheme (DP150101134). De Haan is supported by the Austrian Science Fund (FWF), Project J4047. Rastegari was supported by EPSRC Grant EP/K010042/1 at the time of the submission of the conference version of this manuscript.
Footnotes
We note that the complexity of all problems that we study is the same for complete and incomplete lists, where non-listed agents are deemed unacceptable—see Proposition 1 in Sect. 3.1.
A preliminary version of this paper has appeared in the proceedings of the 9th International Symposium on Algorithmic Game Theory (SAGT 2016) [2]. The majority of the claims appear without a proof or with only a short proof sketch in Aziz et al. [2].
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Haris Aziz, Email: haris.aziz@unsw.edu.au.
Péter Biró, Email: peter.biro@krtk.mta.hu.
Serge Gaspers, Email: sergeg@cse.unsw.edu.au.
Ronald de Haan, Email: me@ronalddehaan.eu.
Nicholas Mattei, Email: nsmattei@tulane.edu.
Baharak Rastegari, Email: b.rastegari@soton.ac.uk.
References
- 1.Aspvall B, Plass MF, Tarjan RE. A linear-time algorithm for testing the truth of certain quantified boolean formulas. Inf. Process. Lett. 1979;8:121–123. doi: 10.1016/0020-0190(79)90002-4. [DOI] [Google Scholar]
- 2.Aziz Haris, Biró Péter, Gaspers Serge, de Haan Ronald, Mattei Nicholas, Rastegari Baharak. Algorithmic Game Theory. Berlin, Heidelberg: Springer Berlin Heidelberg; 2016. Stable Matching with Uncertain Linear Preferences; pp. 195–206. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Aziz, H., Biró, P., Fleiner, T., Gaspers, S., de Haan, R., Mattei, N., Rastegari, B.: Stable matching with uncertain pairwise preferences. In: Proceedings of the 16th International Joint Conference on Autonomous Agents and Multiagent Systems (AAMAS), pp. 344–352 (2017a)
- 4.Aziz, H., de Haan, R., Rastegari, B.: Pareto optimal allocation under uncertain preferences. In: Proceedings of the 26th International Joint Conference on Artificial Intelligence (IJCAI), pp. 1472–1474 (2017b)
- 5.Aziz H, Biró P, de Haan R, Rastegari B. Pareto optimal allocation under uncertain preferences: uncertainty models, algorithms, and complexity. Artif. Intell. 2019;276:57–78. doi: 10.1016/j.artint.2019.08.002. [DOI] [Google Scholar]
- 6.Aziz Haris, Biro Peter, De Haan Ronald, Rastegari Baharak. Pareto Optimal Allocation under Compact Uncertain Preferences. Proceedings of the AAAI Conference on Artificial Intelligence. 2019;33:1740–1747. doi: 10.1609/aaai.v33i01.33011740. [DOI] [Google Scholar]
- 7.Chen, J., Niedermeier, R., Skowron, P.: Stable marriage with multi-modal preferences. In: Proceedings of the 19th ACM Conference on Electronic Commerce (ACM-EC), pp. 269–286 (2018)
- 8.Dailey DP. Uniqueness of colorability and colorability of planar 4-regular graphs are NP-complete. Discrete Math. 1980;30(3):289–293. doi: 10.1016/0012-365X(80)90236-8. [DOI] [Google Scholar]
- 9.Drummond, J., Boutilier, C.: Preference elicitation and interview minimization in stable matchings. In: Proceedings of the 28th AAAI Conference on Artificial Intelligence (AAAI), pp. 645–653 (2014)
- 10.Ehlers L, Massó J. Matching markets under (in)complete information. J. Econ. Theory. 2015;157:295–314. doi: 10.1016/j.jet.2015.01.008. [DOI] [Google Scholar]
- 11.Gale D, Shapley LS. College admissions and the stability of marriage. Am. Math. Mon. 1962;69(1):9–15. doi: 10.1080/00029890.1962.11989827. [DOI] [Google Scholar]
- 12.Garey MR, Johnson DS. Computers and Intractability: A Guide to the Theory of NP-Completeness. New York: W. H. Freeman; 1979. [Google Scholar]
- 13.Gusfield D, Irving RW. The Stable Marriage Problem: Structure and Algorithms. Cambridge: MIT Press; 1989. [Google Scholar]
- 14.Halldórsson Magnús M., Iwama Kazuo, Miyazaki Shuichi, Yanagisawa Hiroki. Improved approximation results for the stable marriage problem. ACM Transactions on Algorithms. 2007;3(3):30–es. doi: 10.1145/1273340.1273346. [DOI] [Google Scholar]
- 15.Hazon N, Aumann Y, Kraus S, Wooldridge M. On the evaluation of election outcomes under uncertainty. Artif. Intell. 2012;189:1–18. doi: 10.1016/j.artint.2012.04.009. [DOI] [Google Scholar]
- 16.Irving RW. Stable marriage and indifference. Discrete Appl. Math. 1994;48:261–272. doi: 10.1016/0166-218X(92)00179-P. [DOI] [Google Scholar]
- 17.Irving, R.W., Manlove, D.F., Scott, S.: The hospitals/residents problem with ties. In: Proceedings the 7th Scandinavian Workshop on Algorithm Theory (SWAT), Volume 1851 of Lecture Notes in Computer Science, pp. 259–271. Springer (2000)
- 18.Li, Y., Conitzer, V.: Cooperative game solution concepts that maximize stability under noise. In: Proceedings of the 29th AAAI Conference on Artificial Intelligence (AAAI), pp. 979–985 (2015)
- 19.Manlove D. Algorithmics of Matching Under Preferences. Singapore: World Scientific Publishing Company; 2013. [Google Scholar]
- 20.Manlove, D.F.: Stable marriage with ties and unacceptable partners. Technical Report TR-1999-29, University of Glasgow, Department of Computing Science (1999)
- 21.Mattei, N., Walsh, T.: PrefLib: A library for preferences, http://www.preflib.org. In: Proceedings of the 3rd International Conference on Algorithmic Decision Theory (ADT) (2013)
- 22.Mattei, N., Walsh, T.: A PrefLib.Org Retrospective: lessons learned and new directions. In: Endriss, U. (ed.), Trends in Computational Social Choice, chapter 15, pp. 289–309. AI Access Foundation (2017)
- 23.Papadimitriou CH. Computational Complexity. New York: Wiley; 2003. [Google Scholar]
- 24.Rastegari, B., Condon, A., Immorlica, N., Leyton-Brown, K.: Two-sided matching with partial information. In: Proceedings of the 14th ACM Conference on Electronic Commerce (ACM-EC), pp. 733–750. ACM (2013)
- 25.Rastegari, B., Condon, A., Immorlica, N., Irving, R., Leyton-Brown, K.: Reasoning about optimal stable matching under partial information. In: Proceedings of the 15th ACM Conference on Electronic Commerce (ACM-EC), pp. 431–448. ACM (2014)
- 26.Roth AE. The evolution of the labor market for medical interns and residents: a case study in game theory. J. Polit. Econ. 1984;92(6):991–1016. doi: 10.1086/261272. [DOI] [Google Scholar]
- 27.Roth AE, Sotomayor MAO. Two-Sided Matching: A Study in Game Theoretic Modelling and Analysis. Cambridge: Cambridge University Press; 1990. [Google Scholar]
- 28.Vizing VG. On an estimate of the chromatic class of a p-graph. Diskretnyi Analiz. 1964;3(7):25–30. [Google Scholar]
- 29.Welsh DJA, Merino C. The Potts model and the Tutte polynomial. J. Math. Phys. 2000;41(3):1127–1152. doi: 10.1063/1.533181. [DOI] [Google Scholar]
