This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Maximum Stable Matching with Matroids and Partial Orders thanks: Some of the results in this paper have appeared in the 6th SIAM Symposium on Simplicity of Algorithms (SOSA 2023) [12]

Gergely Csáji Department of Operations Research, Eötvös Loránd University, Budapest, Hungary, and Mechanism Design Research Group, Institute of Economics and Regional Studies, Budapest, Hungary. Email: csaji.gergely@krtk.hu, csajigergely@student.elte.hu    Tamás Király ELKH-ELTE Egerváry Research Group, Department of Operations Research, Eötvös Loránd University, Budapest, Hungary. Email: tamas.kiraly@ttk.elte.hu    Yu Yokoi Department of Mathematical and Computing Science, School of Computing, Tokyo Institute of Technology, Tokyo, Japan. Email: yokoi@c.titech.ac.jp
Abstract

The Stable Marriage problem (SM), solved by the famous deferred acceptance algorithm of Gale and Shapley (GS), has many natural generalizations. If we allow ties in preferences, then the problem of finding a maximum stable matching becomes NP-hard, and the best known approximation ratio is 1.51.5 (McDermid 2009, Paluch 2011, Z. Király 2012), achievable by running GS on a cleverly constructed modified instance. Another elegant generalization of SM is the matroid kernel problem introduced by Fleiner (2001), which is solvable in polynomial time using an abstract matroidal version of GS. Our main result is a simple 1.51.5-approximation algorithm for the matroid kernel problem when preferences are given as interval orders — a broad subclass of partial orders that covers many applications beyond preferences with ties. In addition, for the bipartite matching case, we show that the output of our algorithm also 1.51.5-approximates the LP-optimum of the relaxation of the corresponding Integer Program, which shows that the integrality gap is at most 1.51.5 for the interval order case. To contrast this with hardness results, we show that if arbitrary partial orders are allowed in the preferences, then even in the bipartite matching case, the problem becomes hard to approximate within a factor better than 22 assuming the Unique Games Conjecture, and the integrality gap becomes 22.

1 Introduction

The deferred acceptance algorithm of Gale and Shapley [18] is a quintessential example of a simple combinatorial algorithm that has wide-ranging applications, in such diverse areas as healtchcare labor markets, kidney exchange planning, project allocations, and school choice mechanisms. The original stable marriage problem solved by the Gale–Shapley algorithm has been generalized in many directions, and the mathematical research in the area is still thriving, 60 years after the original paper.

The aim of this paper is to bring together two directions in which the problem has been extended. One is the design of approximation algorithms for finding a maximum stable matching when ties are allowed in the preference lists. The other is the generalization of the stable marriage problem to matroid intersection, in particular, the matroid kernel problem introduced and solved by Fleiner [14] using an abstract version of the Gale–Shapley algorithm.

We show that the best known approximation ratio of 1.51.5 for the maximum stable marriage problem with ties [33] can also be achieved for the matroid kernel problem with ties. This extension is made possible by a new theorem on basis exchanges for two disjoint bases of a matroid, which may be of independent interest.

In addition to extending the approximation result to matroids, we also go beyond preferences with ties, and achieve the same approximation ratio for preferences given by interval orders. Interval orders are partial orders that can be obtained as left-to-right precedence relations of intervals on the real line. Equivalently, they can be characterized by the property that the disjoint union of two comparable pairs contains a third comparable pair. Several stability notions that have appeared in the literature can be modeled as interval orders (e.g., α\alpha-stability [1, 37], near-stability [10]). We show that a simple variant of the Gale–Shapley algorithm applied to carefully constructed modified instances of the problem gives a 1.51.5-approximation for the maximum matroid kernel problem with interval orders.

We complement this result with a new hardness result for the maximum stable marriage problem with arbitrary partial orders. We show that, assuming the Unique Games Conjecture [29], it is NP-hard to approximate the problem within a factor of 2δ2-\delta for any δ>0\delta>0.

1.1 Basic definitions

Partial orders, weak orders, and stable marriage with ties.

A (strict) partial order on a ground set SS, denoted by \succ, is an irreflexive, transitive, and asymmetric binary relation111In literature, the term partial order is also used to refer to a reflexive, transitive, and antisymmetric binary relation, which we call a non-strict partial order. Strict partial orders and non-strict ones are equivalent in the sense that there is a one-to-one correspondence between them; a strict partial order is converted to a non-strict partial order by adding binary relations xxx\succ x for all xSx\in S, and vise versa. on SS. In this paper, we always assume that |S||S| is finite. If several partial orders are given, we use indices to distinguish them.

Two elements xx and yy are incomparable if xyx\not\succ y and xyx\not\prec y. A partial order is a weak order if being incomparable is a transitive relation. In this case, we use xyx\sim y to indicate that xx and yy are incomparable, or in other words, tied. In a weak order, the ground set SS is partitioned into equivalence classes of tied elements.

In the stable marriage problem with ties and incomplete lists (smti)222While the stable marriage problem was orinally defined for simple bipartite graphs, we use the term to mean a generalized version where graphs can be multigraphs, i.e., parallel edges are allowed., we are given a bipartite graph G=(U,W;E)G=(U,W;E), and a weak order v\succ_{v} on δG(v)\delta_{G}(v) for every vertex vUWv\in U\cup W, where δG(v)\delta_{G}(v) denotes the set of edges incident to vv in GG. Given a matching NN in GG, an edge eENe\in E\setminus N with endpoints u,wu,w is a blocking edge for NN if the following two conditions hold:

  • δG(u)N=\delta_{G}(u)\cap N=\emptyset or euN(u)e\succ_{u}N(u),

  • δG(w)N=\delta_{G}(w)\cap N=\emptyset or ewN(w)e\succ_{w}N(w),

where N(u)N(u) denotes the edge of NN incident to uu if it exists. The matching NN is stable if no edge blocks it. The max-smti problem is to find a stable matching of maximum size. The problem is NP-hard [25], and the best known polynomial-time approximation algorithm has an approximation ratio of 1.51.5 [33]. It is also known that no approximation ratio better than 4/34/3 is achievable assuming the Unique Games Conjecture (UGC) [41]. In this paper, we will also consider the maximum stable marriage problem with partial orders (max-smpo), where the preferences are not required to be weak orders. To our knowledge, no stronger hardness of approximation results have previously been known for max-smpo than those for max-smti.

If no ties are allowed at all in the preference orders (i.e., the preferences are strict), then we obtain the standard stable marriage problem, where all stable matchings have the same size by the so-called “rural hospitals theorem” [39, 17], and the Gale–Shapley algorithm finds one efficiently. In fact, we can obtain a stable matching of a max-smti or max-smpo instance by modifying each agent’s preferences to an arbitrary total order that is consistent with the agent’s partial order, and running the Gale–Shapley algorithm with the resulting total orders. However, the size of the stable matching obtained depends on the choice of total orders, and it can be as small as half the optimum.

Matroid kernels.

A natural way to generalize the stable marriage problem and the max-smti problem is to allow agents to have multiple partners, but have some restrictions on the possible sets of partners. There are several models in this vein: the hospitals-residents problem, the college admissions problem with common quotas, classified stable matchings etc. (see Section 1.3 for more details).

From a theoretical point of view, a particularly elegant generalization is the matroid kernel problem defined by Fleiner [14]. We use the notation and terminology of Schrijver [40, Chapter 39] for matroids, unless otherwise stated. See Section 2 for the definitions of some basic notions of matroids (such as independence, bases, fundamental circuits).

A partially ordered matroid is a triple (S,,)(S,\mathcal{I},\succ) where SS is the set of elements, 2S\mathcal{I}\subseteq 2^{S} is the family of independent sets of the matroid, and \succ is a partial order on SS. Let M1=(S,1,1)M_{1}=(S,\mathcal{I}_{1},\succ_{1}) and M2=(S,2,2)M_{2}=(S,\mathcal{I}_{2},\succ_{2}) be partially ordered matroids on the same ground set SS. A common independent set X12X\in\mathcal{I}_{1}\cap\mathcal{I}_{2} is an (M1,M2)(M_{1},M_{2})-kernel if for every ySXy\in S\setminus X there exists i{1,2}i\in\{1,2\} such that X+yiX+y\notin\mathcal{I}_{i} and yixy\not\succ_{i}x for every xXx\in X for which Xx+yiX-x+y\in\mathcal{I}_{i}. If there is an element ySXy\in S\setminus X for which this does not hold, then we say that yy blocks XX. The max-kernel-po problem is to find an (M1,M2)(M_{1},M_{2})-kernel of maximum size.

If M1,M2M_{1},M_{2} are partition matroids and 1,2\succ_{1},\succ_{2} are weak orders, then the max-kernel-po problem is equivalent to max-smti. Indeed, we can construct a bipartite graph by considering the partition classes of the two matroids as vertices and the elements of SS as edges, whose two endpoints are the vertices corresponding to the two partition classes containing that element. When each vertex has a weak order that is the restriction of 1\succ_{1} or 2\succ_{2} to its incident edges, then there is a one-to-one correspondence between the stable matchings of this bipartite graph and the (M1,M2)(M_{1},M_{2})-kernels.

To see how the matroid kernel problem is considerably more general than the stable marriage problem, observe that in the above construction, we have a 1-uniform matroid for each partition class. We can replace these with arbitrary matroids, and still have a special case of the matroid kernel problem. This corresponds to a generalization of the many-to-many stable matching, where each agent has a matroid on the set of incident edges, and the chosen edge set is required to be independent in each of these matroids. Furthermore, we can include upper bounds on the number of edges incident to subsets of agents on both sides, provided that for each side these upper bounds are given by a polymatroid function.

Fleiner [14, 15] considered the matroid kernel problem without incomparability, i.e., when 1\succ_{1} and 2\succ_{2} are total orders. He showed that matroid kernels always exist and have the same size (in fact, they have the same span in both matroids). He also gave a matroidal version of the Gale–Shapley algorithm that finds a matroid kernel efficiently. In case of weak orders, the kernels may have different sizes, and it is NP-hard to find a largest one, since this problem is a generalization of max-smti.

Interval orders.

Interval orders form a useful and well-studied subclass of partial orders. To give an intuitive definition, let the ground set SS be a family of intervals on the real line: S={[a1,b1],,[ak,bk]}S=\{[a_{1},b_{1}],\dots,[a_{k},b_{k}]\}. Then, we can define a partial order \succ on SS by [ai,bi][aj,bj]ai>bj[a_{i},b_{i}]\succ[a_{j},b_{j}]\Leftrightarrow a_{i}>b_{j} (i.e., the iith interval is completely to the right of the jjth interval). An interval order is a partial order that can be obtained in this way. An alternative definition, which we will later use, is that an interval order is a partial order that has no induced sub-poset of size 4 isomorphic to two disjoint chains of size 2 (with no other relations between the 4 elements). In other words, if there are distinct elements x,y,z,wSx,y,z,w\in S with xyx\succ y and zwz\succ w, then we have xwx\succ w or zyz\succ y. Due to this property, interval orders are sometimes called (2+2)(2+2)-free posets.

Weak orders are obviously interval orders. A larger notable subclass is that of semiorders, where a numerical utility value is assigned to each element of SS, and two elements are considered incomparable if their utilities differ by at most a fixed threshold δ\delta. This corresponds to an interval order where all intervals have the same length. In the context of matching problems with preferences, semiorders have been used to model the reluctance of agents to switch partners if the improvement is too small; see e.g. the notion of locally nearly stable matchings in [10]. Interval orders provide a more refined way to model this kind of reluctance by allowing the incomparability intervals to have different sizes.

1.2 Our contribution

The key tool for generalizing the 1.51.5-approximation to matroid kernels is a result on the existence of a perfect matching of certain types of exchangeable pairs in a matroid. This is presented as Theorem 5 in Section 2. This result may be of independent interest, as it is a previously unknown elegant property of basis exchange graphs.

Using Theorem 5, we show in Section 3 that there is a 1.51.5-approximation algorithm for max-kernel-po with interval orders. That is, we show the following theorem.

Theorem 1.

Given two partially ordered matroids M1=(S,1,1)M_{1}=(S,\mathcal{I}_{1},\succ_{1}) and M2=(S,2,2)M_{2}=(S,\mathcal{I}_{2},\succ_{2}) with 1\succ_{1} and 2\succ_{2} being interval orders, one can find an (M1,M2)(M_{1},M_{2})-kernel AA such that |A||A| is at least 23\frac{2}{3} of the size of a maximum (M1,M2)(M_{1},M_{2})-kernel.

We remark that Theorem 1 implies a 1.51.5-approximation algorithm for finding a maximum solution in the many-to-many stable matching problem on G=(U,W;E)G=(U,W;E) where each vertex vv has a matroid constraint and an interval order on δG(v)\delta_{G}(v). To reduce the problem to the setting in Theorem 1, we construct an interval order U\succ_{U} on the ground set EE consistent to the orders of all vertices in UU as follows. (The construction of W\succ_{W} is similar). Assign indices to elements in UU as u1,u2,,u|U|u_{1},u_{2},\dots,u_{|U|} arbitrarily, and then define U\succ_{U} by taking the union of binary relations in {u}uU\{\succ_{u}\}_{u\in U} and adding the relations eufe\succ_{u}f for all eδG(ui)e\in\delta_{G}(u_{i}) and fδG(uj)f\in\delta_{G}(u_{j}) with i<ji<j. We see that U\succ_{U} is an interval order, and its restriction to δG(u)\delta_{G}(u) is u\succ_{u} for any uUu\in U. Set M1=(E,U,U)M_{1}=(E,\mathcal{I}_{U},\succ_{U}) and M2=(E,W,W)M_{2}=(E,\mathcal{I}_{W},\succ_{W}), where U\mathcal{I}_{U} and W\mathcal{I}_{W} are respectively the direct sums of the matroids of vertices in UU and VV. Then (M1,M2)(M_{1},M_{2})-kernels correspond to stable matchings on GG.

In the case of the stable marriage setting, in Section 4, we show an even stronger statement than Theorem 1: the output of the algorithm also 1.51.5-approximates the LP optimum of the corresponding natural Integer Program. This complements the previously known lower bound of 1.5o(1)1.5-o(1) of Iwama et al. [28] on the integrality gap of max-smti.

Our algorithm consists of three steps: (1) constructing an instance of the matroid kernel problem with total orders on the extended ground set obtained by replacing each element by three parallel elements, (2) running Fleiner’s algorithm on the new instance, and (3) projecting the solution to the original ground set. The running time of the algorithm is quadratic in |S||S| (provided that the independence oracles of matroids are available), and linear in |S||S| in case of partition matroids, which corresponds to the many-to-many stable matching problem with parallel edges allowed. Since interval orders can model α\alpha-stability [1, 37] and near-stability [10], our algorithm implies 1.51.5-approximation for these stability notions.

The approximation ratio attained by our algorithm is best possible under UGC. As explained at the end of Section 3.2, this fact easily follows from the result of Askalidis et al. [2], who proved that max-smiss, the maximum stable marriage problem with incomplete lists under social stability, is inapproximable within 32δ\frac{3}{2}-\delta under UGC. As max-smiss can be seen as a special case of the maximum stable marriage problem with interval orders, the following proposition follows.

Proposition 2.

Assuming UGC, it is NP-hard to approximate max-kernel-po with interval orders within 32δ\frac{3}{2}-\delta for any δ>0\delta>0. The statement holds even for the maximum stable marriage problem with interval orders.

We then show that the 1.51.5-approximability shown in Theorem 1 cannot be extended to the setting with general partial orders, even in the stable marriage case. In Section 4, we investigate max-smpo, the version of maximum stable marriage where preferences can be arbitrary partial orders. Note that for this problem and also for the more general max-kernel-po, 22-approximation is easily attained; as explained before, a stable matching (a matroid kernel) can be found by running the (matroidal version of) Gale–Shapley algorithm with total orders consistent with the original partial orders. Since stability implies that the output matching (common independent set) is maximal, its size is at least half of the optimum. We show that for general partial orders, we cannot beat this trivial approximation ratio even for the stable marriage case under UGC.

Theorem 3.

Assuming UGC, it is NP-hard to approximate max-smpo within 2δ2-\delta for any δ>0\delta>0.

The proof of Theorem 3 uses a result of Bansal and Khot [5] about the hardness of finding an independent set of size ϵn\epsilon n in a graph that has two disjoint independent sets of size (12ϵ)n(\frac{1}{2}-\epsilon)n each. We also show in Section 4 that the integrality gap of the LP relaxation of a natural IP of max-smpo has integrality gap at least 22 for general partial orders while it is at most 1.51.5 for interval orders as mentioned above. Our results suggest that maybe the class of interval orders is the right generalization for which a nontrivial approximation is still possible.

1.3 Related work

The stable marriage problem with ties and incomplete lists (smti) was first studied by Iwama et al. [25], who showed the NP-hardness of max-smti. Since then, various algorithms have been proposed to improve the approximation ratio [20, 26, 27, 30], and the current best ratio is 1.51.5 by a polynomial-time algorithm of McDermid [33], where the same ratio is attained by linear-time algorithms of Paluch [35, 36] and Király [31, 32]. The 1.51.5-approximability extends to the many-to-one matching setting [32] and the student-project allocation problem with ties [11]. As for the inapproximability of max-smti, Halldórsson et al. [19] showed that it is NP-hard to approximate it within some constant factor. Later, inapproximability results have been improved, especially assuming stronger complexity-theoretic conjectures. Yanagisawa [41] and Huang et al. [22] showed that assuming the Unique Games Conjecture, there is no (43ε)(\frac{4}{3}-\varepsilon)-approximation for any ε>0\varepsilon>0, if P\neqNP. By a recent work by Dudycz, Manurangsi and Marcinkowski [13], it follows that, assuming the Strong Unique Games Conjecture or the Small Set Expansion Hypothesis, there cannot even be a (32ε)(\frac{3}{2}-\varepsilon)-approximation algorithm for max-smti, if P\neqNP.

The stable marriage problem also has generalizations in which constraints are imposed on the possible sets of edges. Biró et al. [6] studied the college admissions problem with common quotas. It is a many-to-one matching problem between students and colleges, where not only individual colleges but also certain subsets of colleges have upper quotas. Huang [21] investigated the classified stable matching problem, a many-to-one matching model in which each individual college has upper and lower quotas for subsets of students. In the absence of lower quotas, it was shown that a stable matching exists in these models if the constraints have a laminar structure. Yokoi [42] considered a many-to-many matching model with ties and laminar constraints and presented a 1.51.5-approximation algorithm. Its approximation analysis depends on the base orderability of laminar matroids and cannot extend to the general matroid setting.

The stable matching problem has been studied with many different types of preference structures. There are studies on super and strong stabilities with partial order preferences [23, 38]. Condon et al. [38] studied super stability with partial orders, where a blocking edge is defined as an edge e=(u,w)e=(u,w) such that each of uu and ww either strictly prefers the other to its current assignment, or are indifferent between them (i.e. the two are incomparable in the partial order). They showed that we can find a super stable matching in polynomial-time if one exists. Irving, Manlove, and Scott [23] studied strong stability, which differs from super stability in the aspect that an edge e=(u,w)e=(u,w) only blocks a matching if at least one of u,wu,w strictly prefers the other to their current assignment. They showed that with arbitrary partial orders in the preferences, it is NP-hard to decide if a strongly stable matching exists. With some modifications to their reduction from 3-SAT, it can also be shown that this hardness holds even in the case of semiorders, which is a special case of interval orders.

A closely related area is stable matchings with uncertain or changing preferences, where the preferences of the agents may be partially unknown, or may depend on some random factors and may change over time, which has also been the focus of interest lately [3, 9, 34, 7]. The usual purpose here is to find matchings that are stable with probability one, if there are any, or otherwise find matchings that are stable with maximum probability. In particular, as Aziz et al. [3] mentioned, uncertain preferences are strongly connected to partial order preferences. For example, if we suppose that there is a set of possible preference lists for each agent, then deciding if there is a matching that is stable with any possible choices for these preference lists can be reduced to finding a super stable matching where the agents have partial orders.

Another similar problem is robust stable matchings and locally nearly stable matchings [10]. Intuitively speaking, a robust stable matching is one that is stable, and remains stable even if each agent is allowed to make some swaps (i.e. switch two adjacent entries) in their preference lists, while a locally nearly stable matching is a matching that can be made stable if each agent is allowed to make some swaps in their list, or equivalently, there are no blocking edges, where both agents improve by a lot. Finding robust stable matchings reduces to finding super stable matchings, while finding a maximum size locally nearly stable matching reduces to finding a maximum size (weakly) stable matching with partial order preferences (in this case the arising orders are semiorders).

2 Existence of perfect matching of exchange edges in matroids

In this section, we present our key tool, a result on exchange properties of matroids.

A matroid is a pair (S,)(S,\mathcal{I}) of a finite set SS and a nonempty family 2S\mathcal{I}\subseteq 2^{S} satisfying the following two axioms: (i) ABA\subseteq B\in\mathcal{I} implies AA\in\mathcal{I}, and (ii) for any A,BA,B\in\mathcal{I} with |A|<|B||A|<|B|, there is an element xBAx\in B\setminus A with A+xA+x\in\mathcal{I}. A set in \mathcal{I} is called an independent set, and an inclusion-wise maximal one is called a base. By axiom (ii), all bases have the same size, which is called the rank of the matroid. A circuit is an inclusion-wise minimal dependent set. The fundamental circuit of an element xSBx\in S\setminus B for a base BB, denoted by CB(x)C_{B}(x), is the unique circuit in B+xB+x. By a slight abuse of notation, we will also use CI(x)C_{I}(x) for an independent set II and an element xSIx\in S\setminus I to denote the unique circuit in I+xI+x if it exists. Any pair of circuits satisfies the following property.

Proposition 4 (Strong circuit axiom).

If C,CC,C^{\prime} are circuits, xCCx\in C\setminus C^{\prime}, and yCCy\in C\cap C^{\prime}, then there is a circuit C′′CCC^{\prime\prime}\subseteq C\cup C^{\prime} such that xC′′x\in C^{\prime\prime} and yC′′y\notin C^{\prime\prime}. ∎

If we have a total order \succ given on SS, then the triple M=(S,,)M=(S,\mathcal{I},\succ) is called a (totally) ordered matroid. A nice property of totally ordered matroids is that for any weight vector wSw\in\mathbb{R}^{S} that satisfies wx>wyxyw_{x}>w_{y}\Leftrightarrow x\succ y, the unique maximum weight base is the same. We call this base AA the optimal base of (S,,)(S,\mathcal{I},\succ); it is characterized by the property that the worst element of CA(x)C_{A}(x) is xx for any xSAx\in S\setminus A. Equivalently, a base AA is optimal with respect to \succ if and only if any pair of elements aAa\in A and bSAb\in S\setminus A with Aa+bA-a+b\in\mathcal{I} satisfies aba\succ b.

Here we prove the theorem that will be our main tool in proving the approximation bound for our algorithm. To our knowledge, this result on exchanges has not been previously observed in the literature. See Remark 8 for a comparison between a previously known property. We use the notation [r]={1,2,,r}[r]=\{1,2,\dots,r\}.

Theorem 5.

Let M=(S,,)M=(S,\mathcal{I},\succ) be a totally ordered matroid of rank rr. Let AA be the optimal base and BB be a base disjoint from AA. Then, there is a perfect matching aibia_{i}b_{i} (i[r])(i\in[r]) between AA and BB such that aibia_{i}\succ b_{i} and B+aibiB+a_{i}-b_{i}\in\mathcal{I} for every i[r]i\in[r].

Proof.

Define EA={abA×B:Aa+b}E_{A}=\{\,ab\in A\times B:\,A-a+b\in\mathcal{I}\,\} and EB={abA×B:B+ab}E_{B}=\{\,ab\in A\times B:\,B+a-b\in\mathcal{I}\,\}.

Claim 6.

Let CC be any circuit with CABC\subseteq A\cup B. For any element aCAa\in C\cap A, there exists bCBb\in C\cap B with abEAab\in E_{A}. For any element bCBb\in C\cap B, there exists aCAa\in C\cap A with abEBab\in E_{B}.

Proof.

We only show the first claim because the second one is shown symmetrically. Take any aCAa\in C\cap A. Suppose conversely that abEAab\not\in E_{A} for any bCBb\in C\cap B. This means that, we have aCA(b)a\not\in C_{A}(b) for any bCBb\in C\cap B. Set C=CC^{\prime}=C and repeatedly update it as follows while CBC^{\prime}\cap B\neq\emptyset: (1) Take any bCBb\in C^{\prime}\cap B, (2) apply the strong circuit axiom to C,CA(b),aCCA(b)C^{\prime},C_{A}(b),a\in C^{\prime}\setminus C_{A}(b), and bCCA(b)b\in C^{\prime}\cap C_{A}(b) to obtain a circuit C′′C^{\prime\prime} satisfying C′′CCA(b)C^{\prime\prime}\subseteq C^{\prime}\cup C_{A}(b), aC′′a\in C^{\prime\prime}, and bC′′b\not\in C^{\prime\prime}, (3) update CC^{\prime} by C′′C^{\prime\prime}. Then, CC^{\prime} always satisfies aCABa\in C^{\prime}\subseteq A\cup B and the size of |CB||C^{\prime}\cap B| decreases monotonically. We finally obtain a circuit CC^{\prime} with CAC^{\prime}\subseteq A, a contradiction. ∎

Define E={abEB:ab}E=\{\,ab\in E_{B}:\,a\succ b\,\}. Then, showing the existence of a perfect matching in G=(A,B;E)G=(A,B;E) completes the proof of the theorem. To this end, we show the following claim.

Claim 7.

For any circuit CC with CABC\subseteq A\cup B, there exists abEab\in E with {a,b}C\{a,b\}\subseteq C.

Proof.

By Claim 6, we see that there is a cycle QEAEBQ\subseteq E_{A}\cup E_{B} (possibly of length two) that is contained in CC and uses edges in EAE_{A} and EBE_{B} alternately. (Start at any element in CC and apply Claim 6 repeatedly.) As AA is optimal, any abQEAa^{\prime}b^{\prime}\in Q\cap E_{A} satisfies aba^{\prime}\succ b^{\prime}. Then, there must exist a pair abQEBab\in Q\cap E_{B} with aba\succ b because otherwise the relation \succ on the elements in QQ would become cyclic and could not form a total order. This abab belongs to EE. ∎

We now show the existence of a perfect matching in G=(A,B;E)G=(A,B;E). Suppose, to the contrary, there is no perfect matching in GG. By Hall’s theorem, then there exists a set XAX\subseteq A such that |X|>|ΓG(X)||X|>|\Gamma_{G}(X)|, where ΓG(X)={bB:aX,abE}\Gamma_{G}(X)=\{b\in B:\exists a\in X,ab\in E\}. The size of the set X(BΓG(X))X\cup(B\setminus\Gamma_{G}(X)) is larger than that of the base BB, and hence there exists a circuit CX(BΓG(X))C\subseteq X\cup(B\setminus\Gamma_{G}(X)). By Claim 7, there exists abEab\in E included in CC, which satisfies aXa\in X and bBΓG(X)b\in B\setminus\Gamma_{G}(X), contradicting the definition of ΓG(X)\Gamma_{G}(X). ∎

Remark 8.

It is a well-known fact that, for any two bases A,BA,B of a matroid (S,)(S,\mathcal{I}) of rank rr, there exists a perfect matching aibia_{i}b_{i} (i[r])(i\in[r]) between AA and BB such that B+aibiB+a_{i}-b_{i}\in\mathcal{I} for every i[r]i\in[r] (see Brualdi [8] and also [40, Corollary 39.12a] and [16, Theorem 5.3.4]). We claim that this property does not immediately imply our Theorem 5.

In our theorem, the base AA is assumed to be optimal. This implies the condition aba\succ b for all pairs abA×Bab\in A\times B with Aa+bA-a+b\in\mathcal{I} but not for those with B+abB+a-b\in\mathcal{I}. To see this, consider the graphic matroid of K4K_{4} with ground set S={e1,e2,e3,e4,e5,e6}S=\{e_{1},e_{2},e_{3},e_{4},e_{5},e_{6}\} shown in Figure 1. Suppose that the total order \succ is defined as e1e2e3e4e5e6e_{1}\succ e_{2}\succ e_{3}\succ e_{4}\succ e_{5}\succ e_{6}. Then, A{e1,e2,e4}A\coloneqq\{e_{1},e_{2},e_{4}\} is the optimal base with respect to \succ and its complement BSAB\coloneqq S\setminus A is also a base. Here, we have B+e4e3B+e_{4}-e_{3}\in\mathcal{I} for e4Ae_{4}\in A and e3Be_{3}\in B while e4e3e_{4}\not\succ e_{3}.

Therefore, the existence of a perfect matching of exchangeability edges combined with the optimality of AA does not simply imply Theorem 5.

e1e_{1}e3~{}~{}e_{3}\!e5e_{5}e2e_{2}e4e_{4}e6e_{6}
Figure 1: The graphic matroid defined by K4K_{4}. When e1e2e3e4e5e6e_{1}\succ e_{2}\succ e_{3}\succ e_{4}\succ e_{5}\succ e_{6}, the thick edges form the optimal base with respect to \succ.

3 Matroid kernel algorithm with interval orders

In this section, we show Theorem 1, which states that max-kernel-po is approximable with a factor 1.51.5 if the partial orders are interval orders, i.e., (2+2)(2+2)-free posets.

Like the previous algorithms by Yokoi [42] and by the present authors [12] (conference version of this paper), our algorithm is described as an application of the Gale–Shapley algorithm to a carefully constructed modified instance. In this modified instance, each element is replicated into three parallel elements, and special total orders are defined on the extended ground set. The origin of the idea comes from Király’s 1.51.5-approximation algorithm [30] for max-smti, which is a variant of the Gale–Shapley algorithm in which each man can propose to each woman at most three times and there are special rules for men’s proposal order and women’s acceptance/rejection.

Our construction of the modified instance is symmetric for the two sides, and the 1.51.5-approximation ratio depends only on the stability in the modified instance (not on the behaviour of the GS algorithm). This allows for a simple analysis while considering broad class preferences and constraints.

3.1 Description of the algorithm

Let M1=(S,1,1)M_{1}=(S,\mathcal{I}_{1},\succ_{1}) and M2=(S,2,2)M_{2}=(S,\mathcal{I}_{2},\succ_{2}) be partially ordered matroids on the same ground set SS and suppose that 1\succ_{1} and 2\succ_{2} are interval orders. Our algorithm consists of three steps.

  1. 1.

    The algorithm first creates a new instance by replacing each element of SS by three parallel elements, and by defining total orders on the extended ground set as explained below.

  2. 2.

    For the obtained totally ordered matroids M1M^{*}_{1}, M2M^{*}_{2}, an (M1,M2)(M^{*}_{1},M^{*}_{2})-kernel AA^{*} is computed.

  3. 3.

    The algorithm returns a set AA that is the projection of AA^{*} to the original ground set SS.

The first step can be done in 𝒪(|S|2)\mathcal{O}(|S|^{2}) time as explained later, and the second step can be done in 𝒪(|S|2)\mathcal{O}(|S|^{2}) time using Fleiner’s algorithm, which we will briefly describe later.

Here, we explain the precise construction of the totally ordered matroids M1M^{*}_{1} and M2M^{*}_{2}. Let the extended ground set be SuS{xu,yu,zu}S^{*}\coloneqq\cup_{u\in S}\{x_{u},y_{u},z_{u}\}. We define Mi=(S,i,i)M^{*}_{i}=(S^{*},\mathcal{I}^{*}_{i},\succ^{*}_{i}) for i=1,2i=1,2 as follows. The elements xu,yu,zux_{u},y_{u},z_{u} are parallel in each MiM^{*}_{i}, that is,

i={IS:π(I)i,|I{xu,yu,zu}|1(uS)},\mathcal{I}^{*}_{i}=\{\,I^{*}\subseteq S^{*}:\pi(I^{*})\in\mathcal{I}_{i},\ \ |I^{*}\cap\{x_{u},y_{u},z_{u}\}|\leq 1\ (\forall u\in S)\,\},

where π(I)={uS:I{xu,yu,zu}}\pi(I^{*})=\{\,u\in S:I^{*}\cap\{x_{u},y_{u},z_{u}\}\neq\emptyset\,\}. It is easy to see that (S,i)(S^{*},\mathcal{I}^{*}_{i}) is a matroid for i=1,2i=1,2. To define the total order 1\succ^{*}_{1} on the extended ground set SS^{*}, we first define a binary relation 1S×S\mathcal{R}^{*}_{1}\subseteq S^{*}\times S^{*} using 1\succ_{1} as follows:

1=\displaystyle\mathcal{R}_{1}^{*}=\quad {(xu,zw):u,wS}\displaystyle~{}\{\,(x_{u},z_{w}):u,w\in S\,\}
\displaystyle\cup {(yu,xw),(yu,yw),(yu,zw):u,wS,u1w}\displaystyle~{}\{\,(y_{u},x_{w}),(y_{u},y_{w}),(y_{u},z_{w}):\,u,w\in S,\,\,u\succ_{1}w\,\}
\displaystyle\cup {(xw,yu):u,wS,u1w}.\displaystyle~{}\{\,(x_{w},y_{u}):\,u,w\in S,\,u\not\succ_{1}w\,\}.

To define 2\succ^{*}_{2}, we define 2\mathcal{R}^{*}_{2} from 2\succ_{2} as follows, which is described in the same manner as 1\mathcal{R}^{*}_{1} but the roles of xux_{u} and zuz_{u} are interchanged.

2=\displaystyle\mathcal{R}_{2}^{*}=\quad {(zu,xw):u,wS}\displaystyle~{}\{\,(z_{u},x_{w}):u,w\in S\,\}
\displaystyle\cup {(yu,zw),(yu,yw),(yu,xw):u,wS,u2w}\displaystyle~{}\{\,(y_{u},z_{w}),(y_{u},y_{w}),(y_{u},x_{w}):\,u,w\in S,\,\,u\succ_{2}w\,\}
\displaystyle\cup {(zw,yu):u,wS,u2w}.\displaystyle~{}\{\,(z_{w},y_{u}):\,u,w\in S,\,u\not\succ_{2}w\,\}.

For each i=1,2i=1,2, we let i\succ^{*}_{i} be an arbitrary total order on SS^{*} such that sits\succ^{*}_{i}t holds for any (s,t)i(s,t)\in\mathcal{R}^{*}_{i}. The existence of such a total order is guaranteed by the following lemma.

Lemma 9.

Let DiD_{i} be a digraph with vertex set SS^{*} such that DiD_{i} has an arc (s,t)S×S(s,t)\in S^{*}\times S^{*} if and only if (s,t)i(s,t)\in\mathcal{R}^{*}_{i}. Then DiD_{i} is acyclic.

The proof of this lemma, which uses the fact that i\succ_{i} is an interval order, is postponed to the end of this section. We now complete the construction of the new instance.

Since the digraph DiD_{i} is acyclic and has 𝒪(|S|2)\mathcal{O}(|S|^{2}) arcs, we can define a total order i\succ_{i}^{*} on SS^{*} consistent to DiD_{i} by topological sort in 𝒪(|S|2)\mathcal{O}(|S|^{2}) time. This i\succ_{i}^{*} indeed satisfies the required condition, i.e., sits\succ^{*}_{i}t holds for any (s,t)i(s,t)\in\mathcal{R}^{*}_{i}. This completes the construction of the totally ordered matroids M1M^{*}_{1} and M2M^{*}_{2}.

For completeness, here we describe how Fleiner’s algorithm works for our new instance M1M_{1}^{*} and M2M^{*}_{2}. The algorithm first sets RR to be an empty set and repeats the following three steps: set XX to be the optimal base of M1M^{*}_{1} with the ground set restricted to SRS^{*}\setminus R, set YY to be the optimal base of M2M^{*}_{2} with the ground set restricted to XX, and update RR with R(XY)R\cup(X\setminus Y). The repetition stops if Y=XY=X, and YY is returned, which is an (M1,M2)(M^{*}_{1},M^{*}_{2})-kernel (see [4] for this version of the description).

Here, we show that the output of the algorithm is indeed a matroid kernel (i.e., a stable common independent set) in the original instance. The approximation ratio is shown in the next section. We use CI1(u)C^{1}_{I}(u) and CI2(u)C^{2}_{I}(u) to denote fundamental circuits in M1M_{1} and M2M_{2}, respectively.

Lemma 10.

The output of our algorithm is an (M1,M2)(M_{1},M_{2})-kernel.

Proof.

Let A=π(A)A=\pi(A^{*}) be the output of the algorithm, where AA^{*} is the (M1,M2)(M^{*}_{1},M^{*}_{2})-kernel given by Fleiner’s algorithm. Since A12A^{*}\in\mathcal{I}^{*}_{1}\cap\mathcal{I}^{*}_{2}, it is clear from the definitions of i\mathcal{I}^{*}_{i} that A12A\in\mathcal{I}_{1}\cap\mathcal{I}_{2}. Suppose for contradiction that there exists uSAu\in S\setminus A that blocks AA; we claim that yuy_{u} blocks AA^{*}. As uu blocks AA, for each i=1,2i=1,2, we have A+uiA+u\in\mathcal{I}_{i} or uivu\succ_{i}v holds for some vCAi(u)v\in C^{i}_{A}(u). In the former case, A+yuiA^{*}+y_{u}\in\mathcal{I}^{*}_{i} immediately follows. In the latter case, uivu\succ_{i}v implies that v{xv,yv,zv}Av^{*}\coloneqq\{x_{v},y_{v},z_{v}\}\cap A^{*} satisfies (yu,v)i(y_{u},v^{*})\in\mathcal{R}^{*}_{i}, and therefore yuivy_{u}\succ^{*}_{i}v^{*} by the construction of i\succ^{*}_{i}, while vv^{*} belongs to the fundamental circuit of yuy_{u} for AA^{*} in MiM^{*}_{i}. Thus, yuy_{u} blocks AA^{*}. ∎

We now provide the postponed proof.

Proof of Lemma 9.

Since the constructions of 1\mathcal{R}^{*}_{1} and 2\mathcal{R}^{*}_{2} are symmetric, it is sufficient to show that the digraph D1D_{1} defined from 1\mathcal{R}^{*}_{1} is acyclic.

Suppose, to the contrary, that D1D_{1} has directed cycles. Let CC be a cycle of minimum length. By the definition of 1\mathcal{R}^{*}_{1}, we can observe the following properties. We say that an element sSs\in S^{*} is an xx-element (resp., yy-element, zz-element) if s=xus=x_{u} (resp., s=yus=y_{u}, s=zus=z_{u}) for some uSu\in S.

  • Every zz-element has no leaving arcs. So, CC consists of only xx-elements and yy-elements.

  • No arc connects two xx-elements. So in CC there are no consecutive xx-elements.

  • There are no consecutive yy-elements in CC. Indeed, if yu1,yu2,xu3y_{u_{1}},y_{u_{2}},x_{u_{3}} (resp., yu1,yu2,yu3y_{u_{1}},y_{u_{2}},y_{u_{3}}) appear in CC in this order consecutively, then D1D_{1} has arcs (yu1,yu2)(y_{u_{1}},y_{u_{2}}) and (yu2,yu3)(y_{u_{2}},y_{u_{3}}) (resp., (yu2,xu3)(y_{u_{2}},x_{u_{3}})), and hence u11u2u_{1}\succ_{1}u_{2} and u21u3u_{2}\succ_{1}u_{3}. Then, the transitivity of 1\succ_{1} implies u11u3u_{1}\succ_{1}u_{3}, and hence D1D_{1} has an arc (yu1,xu3)(y_{u_{1}},x_{u_{3}}) (resp, (yu1,yu3)(y_{u_{1}},y_{u_{3}})), contradicting the minimality of CC.

  • Therefore, CC has an even length and xx-elements and yy-elements appear alternately.

  • Suppose that four distinct elements yu1,xu2,yu3,xu4y_{u_{1}},x_{u_{2}},y_{u_{3}},x_{u_{4}} appear in CC in this order consecutively. Then we have u1u3u_{1}\neq u_{3}, u2u4u_{2}\neq u_{4}, u1u2u_{1}\succ u_{2}, and u3u4u_{3}\succ u_{4}.

    • If u1u4u_{1}\neq u_{4} and u2u3u_{2}\neq u_{3}, then all uiu_{i} are distinct. Since 1\succ_{1} is an interval order (i.e., (2+2)(2+2)-free), then the relations u1u2u_{1}\succ u_{2} and u3u4u_{3}\succ u_{4} imply that u1u4u_{1}\succ u_{4} or u3u2u_{3}\succ u_{2}. Hence there exists an arc (yu1,xu4)(y_{u_{1}},x_{u_{4}}) or (yu3,xu2)(y_{u_{3}},x_{u_{2}}).

    • If u1=u4u_{1}=u_{4} (resp., u2=u3u_{2}=u_{3}), then u3u4=u1u2u_{3}\succ u_{4}=u_{1}\succ u_{2} (resp., u1u2=u3u4u_{1}\succ u_{2}=u_{3}\succ u_{4}), and hence there exists an arc (yu3,xu2)(y_{u_{3}},x_{u_{2}}) (resp. (yu1,xu4y_{u_{1}},x_{u_{4}})).

    The existence of an arc (yu1,xu4)(y_{u_{1}},x_{u_{4}}) or (yu3,xu2)(y_{u_{3}},x_{u_{2}}) contradicts the minimality of CC.

Then CC must be of length two, but it is impossible by the definition of 1\mathcal{R}^{*}_{1}. ∎

3.2 Proof of 1.51.5-approximation

We now show the approximation ratio of our algorithm. As in the previous section, we denote by CI1(u)C^{1}_{I}(u) and CI2(u)C^{2}_{I}(u) fundamental circuits in M1M_{1} and M2M_{2}, respectively.

Theorem 11.

The approximation ratio of the above algorithm is at most 1.51.5.

Proof.

Let A=π(A)A=\pi(A^{*}) be the output of the algorithm, where AA^{*} is an (M1,M2)(M^{*}_{1},M^{*}_{2})-kernel, and let BB be a largest (M1,M2)(M_{1},M_{2})-kernel. Suppose for contradiction that |B|>1.5|A||B|>1.5|A|. Let BiB_{i} be a subset of BAB\setminus A such that ABiiA\cup B_{i}\in\mathcal{I}_{i} and |ABi|=|B||A\cup B_{i}|=|B| for each i{1,2}i\in\{1,2\}. (The existence of such BiB_{i} follows from axiom (ii) of matroids.) The sets B1B_{1} and B2B_{2} are disjoint because AA^{*} is an inclusion-wise maximal common independent set of M1M^{*}_{1} and M2M^{*}_{2}. In the following, we say that an element uAu\in A is of type xx (resp., y,zy,z) if {xu,yu,zu}A=xu\{x_{u},y_{u},z_{u}\}\cap A^{*}=x_{u} (resp., yu,zuy_{u},z_{u}).

Lemma 12.

Let i{1,2}i\in\{1,2\}. There is a matching NiN_{i} of size |B3i||B_{3-i}| between ABA\setminus B and B3iB_{3-i} such that the following hold for every uvNiuv\in N_{i}, where uAu\in A and vBv\in B:

  1. 1.

    uu is of type xx or yy if i=1i=1, and of type yy or zz if i=2i=2

  2. 2.

    uivu\succ_{i}v if uu is of type yy

  3. 3.

    either vCBi(u)v\in C^{i}_{B}(u) or B+uiB+u\in\mathcal{I}_{i}.

Proof.

Let M=(S,)M^{\prime}=(S^{\prime},\mathcal{I}^{\prime}) be the matroid obtained from MiM_{i} by deleting S(AB)S\setminus(A\cup B), contracting (AB)Bi(A\cap B)\cup B_{i}, and truncating to the size of ABA\setminus B. That is, S=(AB)(B(ABi))S^{\prime}=(A\setminus B)\cup(B\setminus(A\cup B_{i})) and ={IS:IAB,I(AB)Bii,|I||AB|}\mathcal{I}^{\prime}=\{\,I\subseteq S^{\prime}:I\subseteq A\cup B,~{}I\cup(A\cap B)\cup B_{i}\in\mathcal{I}_{i},~{}|I|\leq|A\setminus B|\,\}. In MM^{\prime}, the sets AABA^{\prime}\coloneqq A\setminus B and BB(ABi)B^{\prime}\coloneqq B\setminus(A\cup B_{i}) are bases that are complements of each other.

We define a total order \succ^{\prime} on SS^{\prime} as follows. The elements of B(ABiB3i)B\setminus(A\cup B_{i}\cup B_{3-i}) are worst (in arbitrary order). On the remaining elements, i.e., on the elements of (AB)B3i(A\setminus B)\cup B_{3-i}, we define the preferences based on the total order i\succ^{*}_{i} on SS^{*}. To do this, we assign an element uSu^{*}\in S^{*} to each u(AB)B3iu\in(A\setminus B)\cup B_{3-i} as follows. Let u={xu,yu,zu}Au^{*}=\{x_{u},y_{u},z_{u}\}\cap A^{*} if uABu\in A\setminus B, let u=xuu^{*}=x_{u} if i=1i=1 and uB2u\in B_{2}, and let u=zuu^{*}=z_{u} if i=2i=2 and uB1u\in B_{1}. We then let uvu\succ^{\prime}v if and only if uivu^{*}\succ^{*}_{i}v^{*}. In the totally ordered matroid M=(S,,M^{\prime}=(S^{\prime},\mathcal{I}^{\prime},\succ^{\prime}), AA^{\prime} is an optimal base. Indeed, vv is the worst element of CA(v)C_{A^{\prime}}(v) for every vBv\in B^{\prime}. It is clear for the elements in BB3iB^{\prime}\setminus B_{3-i} by the definition of \succ^{\prime}. As for each vB3iv\in B_{3-i}, since A+v3iA^{*}+v^{*}\in\mathcal{I}^{*}_{3-i} holds and AA^{*} is an (M1,M2)(M^{*}_{1},M^{*}_{2})-kernel, vv^{*} must be the worst element of its fundamental circuit for AA^{*}. By Theorem 5, there is a perfect matching NN^{\prime} between AA^{\prime} and BB^{\prime} such that uvu\succ^{\prime}v and vCB(u)v\in C^{\prime}_{B^{\prime}}(u) for every uvNuv\in N^{\prime}, where uAu\in A^{\prime} and vBv\in B^{\prime}.

Let NiN_{i} be the subset of NN^{\prime} induced by AB3iA\cup B_{3-i}. Then |Ni|=|B3i||N_{i}|=|B_{3-i}|, and every uvNiuv\in N_{i} satisfies uvu\succ^{\prime}v, which implies uvu^{*}\succ^{*}v^{*}, which in turn implies (v,u)i(v^{*},u^{*})\not\in\mathcal{R}_{i}^{*}. In case i=1i=1, as vB3i=B2v\in B_{3-i}=B_{2}, we have v=xvv^{*}=x_{v}, and hence (xv,u)1(x_{v},u^{*})\not\in\mathcal{R}^{*}_{1}. By the definition of 1\mathcal{R}^{*}_{1}, this implies the first two properties of the lemma. We can similarly obtain these two in the case i=2i=2.

Now we show that for every uvNiuv\in N_{i}, either vCBi(u)v\in C^{i}_{B}(u) or B+uiB+u\in\mathcal{I}_{i}. Since vCB(u)v\in C^{\prime}_{B^{\prime}}(u), vv is in the fundamental circuit of uu for BB^{\prime} in the matroid obtained by truncating MiM_{i} to the size of ABA\setminus B. This means that it is either in the fundamental circuit also in MiM_{i}, or B+uB+u is independent in MiM_{i}, as required. ∎

We are now ready to prove the theorem by obtaining a contradiction. Let N1N_{1} and N2N_{2} be matchings described in Lemma 12. Since |B|>1.5|A||B|>1.5|A| implies |Ni|=|B3i|>|AB|/2|N_{i}|=|B_{3-i}|>|A\setminus B|/2 for i{1,2}i\in\{1,2\}, there is an element uABu\in A\setminus B that is covered by both N1N_{1} and N2N_{2}. Let uv1N1uv_{1}\in N_{1} and uv2N2uv_{2}\in N_{2}. Since the first two properties of Lemma 12 hold for i{1,2}i\in\{1,2\}, the element uu must be of type yy, and uiviu\succ_{i}v_{i} for i{1,2}i\in\{1,2\}. But this means that uu blocks BB because of the third property of Lemma 12, a contradiction. ∎

Thus, we have completed the proof of the 1.51.5-approximability of max-kernel-po with interval orders.

We conclude this section by observing that Proposition 2, i.e., the UGC-hardness of (1.5δ)(1.5-\delta)-approximation, follows from the result of Askalidis et al. [2] on the maximum stable marriage problem with incomplete lists under social stability (max-smiss). An input of the problem is a graph G=(U,W;E)G=(U,W;E), a total order v\succ_{v} on δG(v)\delta_{G}(v) for each vUWv\in U\cup W, and a set AEA\subseteq E whose elements are called acquainted pairs. For a matching MEM\subseteq E, an edge eEe\in E socially blocks MM if it blocks MM in the classical sense and belongs to AA. A matching is socially stable if there is no social blocking pair. The task of max-smiss is to find a maximum socially stable matching. Askalidis et al. [2] proved that, assuming UGC, it is NP-hard to approximate max-smiss within 32δ\frac{3}{2}-\delta for any δ>0\delta>0.

We can reduce max-smiss to the stable marriage problem with interval orders as follows. Given an instance of max-smiss, from the total order v\succ_{v} of each vUWv\in U\cup W, define a partial order v\succ^{\prime}_{v} by evfevf,eAe\succ^{\prime}_{v}f\Leftrightarrow e\succ_{v}f,e\in A. Then v\succ^{\prime}_{v} is an interval order. Indeed, we can easily observe that, if evfe\succ^{\prime}_{v}f and gvhg\succ^{\prime}_{v}h hold for distinct e,f,g,he,f,g,h, then evhe\succ^{\prime}_{v}h or gvfg\succ^{\prime}_{v}f. It is also not hard to see that a socially stable matching in the original instance is a stable matching with respect to the interval orders {v}vUW\{\succ^{\prime}_{v}\}_{v\in U\cup W}. Thus, the maximum stable marriage with interval orders and its generalization to max-kernel-po are inapproximable within 32δ\frac{3}{2}-\delta under UGC.

4 Inapproximability with General Partial Orders

In this section, we consider the case where preferences may be arbitrary partial orders. In particular, we investigate max-smpo, the maximum stable marriage problem with partial orders. Interestingly, in this case the structure of the problem changes significantly compared to the case with weak orders (i.e., max-smti), as shown in Section 4.1. In fact, beating the trivial 22-approximation becomes UGC-hard, as shown in Section 4.2.

4.1 Structural observations

Here we provide some structural observations on max-smpo. The first one shows that the main tool which is used to show the 1.51.5-approximability in previous approaches for max-smti cannot be used for partial order preferences. The previous 1.51.5-approximation algorithms for max-smti, such as one in [32], are designed so that, for the output stable matching MM and any stable matching NN, there is no maximal alternating path in MNM\cup N consisting of one MM-edge and two NN-edges. In the case of arbitrary partial orders, it may happen that for any stable matching MM, there exists another stable matching NN, such that a maximal alternating path with one MM-edge and two NN-edges exists, as the next example shows.

Refer to caption
Figure 2: Illustration of Example 13. The green stable matching is M2M_{2} and the blue one is M3M_{3}.
Example 13.

Consider the instance in Figure 2. We claim that, in this example, for any stable matching MM, there is another stable matching NN, such that in MNM\cup N there is a maximal alternating path of length 3, with two NN-edges and one MM-edge. It is easy to verify that the following matchings are stable: M1={e2,e4,f2,f5},M2={f2,f4,e2,e5},M3={g,e3,f2,f5},M4={h,f3,e2,e5}M_{1}=\{e_{2},e_{4},f_{2},f_{5}\},M_{2}=\{f_{2},f_{4},e_{2},e_{5}\},M_{3}=\{g,e_{3},f_{2},f_{5}\},M_{4}=\{h,f_{3},e_{2},e_{5}\}.

Consider vertex vv, which must be matched in any stable matching MM. If f1Mf_{1}\in M or gMg\in M (resp., e1Me_{1}\in M or hMh\in M), then e3Me_{3}\in M (resp., f3Mf_{3}\in M) too since otherwise e4e_{4} (resp., f4f_{4}) blocks MM, so MM2M\cup M_{2} (resp., MM1M\cup M_{1}) contains a desired alternating path e2e3e5e_{2}e_{3}e_{5} (resp., f2f3f5f_{2}f_{3}f_{5}). If f4Mf_{4}\in M (resp., e4Me_{4}\in M), then MM3M\cup M_{3} (resp., MM4M\cup M_{4}) contains a desired alternating path gf4f5gf_{4}f_{5} (resp., he4e5he_{4}e_{5}).

The second observation is about the integrality gap. Observe that max-smpo on G=(U,W;E)G=(U,W;E) can be modeled with the following integer programming problem (IP) with variables {pe}eE\{p_{e}\}_{e\in E}. Since we allow parallel edges, to distinguish edges connecting the same vertices, say uu and ww, we use a notation (u,w)i(u,w)_{i} where distinct edges have distinct subscripts ii:

maxeEpe\displaystyle\text{max}\quad\sum_{e\in E}~{}p_{e}\hskip 170.71652pt
s.t.eδG(v)pe\displaystyle\text{s.t.}\hskip 170.71652pt\sum_{e\in\delta_{G}(v)}p_{e} 1\displaystyle\leq 1 vUW\displaystyle\forall v\in U\cup W (1)
eδG(u):euepe+eδG(w):ewepeeδG(u)δG(w):eue,ewepe\displaystyle\sum_{e^{\prime}\in\delta_{G}(u):e\not{\succ_{u}}e^{\prime}}p_{e^{\prime}}+\sum_{e^{\prime}\in\delta_{G}(w):e\not{\succ_{w}}e^{\prime}}p_{e^{\prime}}-\sum_{\begin{subarray}{c}\scriptstyle e^{\prime}\in\delta_{G}(u)\cap\delta_{G}(w):\\ \scriptstyle e\not{\succ_{u}}e^{\prime},e\not{\succ_{w}}e^{\prime}\end{subarray}}p_{e^{\prime}} 1\displaystyle\geq 1 e=(u,w)iE\displaystyle\forall e=(u,w)_{i}\in E (2)
pe\displaystyle p_{e}\in {0,1}\displaystyle\{0,1\} eE\displaystyle\forall e\in E

In the special case of max-smti, that is, the case with weak orders, it is known that the integrality gap of the linear programming (LP) relaxation of this IP is at least 1.5o(1)1.5-o(1) [24]. This fact is sometimes considered to indicate a potential barrier to improving the approximation ratio 1.51.5.

We show that this integrality gap can be 22 for the general max-smpo while it is at most 1.51.5 even for interval orders. First, we give an example showing the former claim.

Example 14.

Consider an instance of max-smpo with vertices u,u,w,wu,u^{\prime},w,w^{\prime} and edges ei=(u,w)ie_{i}=(u,w^{\prime})_{i} for i[2]i\in[2], fi=(u,w)if_{i}=(u^{\prime},w)_{i} for i[2]i\in[2], and gj=(u,w)jg_{j}=(u,w)_{j} for j[4]j\in[4]. The partial orders of uu and ww are given by (g1ue1)(g2ue1)(g3ue2)(g4ue2)(g_{1}\succ_{u}e_{1})\wedge(g_{2}\succ_{u}e_{1})\wedge(g_{3}\succ_{u}e_{2})\wedge(g_{4}\succ_{u}e_{2}) and (g1wf1)(g2wf2)(g3wf1)(g4wf2)(g_{1}\succ_{w}f_{1})\wedge(g_{2}\succ_{w}f_{2})\wedge(g_{3}\succ_{w}f_{1})\wedge(g_{4}\succ_{w}f_{2}). The orders of uu^{\prime} and ww^{\prime} are defined arbitrarily.

In this instance, pe1=pe2=pf1=pf2=0.5,pgj=0(j[4])p_{e_{1}}=p_{e_{2}}=p_{f_{1}}=p_{f_{2}}=0.5,\ p_{g_{j}}=0~{}(j\in[4]) is a solution to the LP relaxation of the above IP, but any stable matching must have size one (it must contain one of the gjg_{j} edges). Thus, the integrality gap is 22.

We next show that, in contrast to this example, the integrality gap is at most 1.51.5 for interval orders. The proof depends on the correctness of our 1.51.5-approximation algorithm shown in Section 3.

Theorem 15.

For a max-smpo instance consisting of G=(U,W;E)G=(U,W;E) and {v}vUW\{\succ_{v}\}_{v\in U\cup W}, if v\succ_{v} are interval orders, then the output of our algorithm 1.51.5-approximates the LP optimum of the relaxation of the above IP. In particular, the integrality gap of the IP is at most 1.51.5.

Proof.

Since max-smpo with interval orders is a special case of max-kernel-po with interval orders (recall the remark just after Theorem 1), we can apply our algorithm in Section 3 to the given instance. Let MeE{xe,ye,ze}M^{*}\subseteq\cup_{e\in E}\{x_{e},y_{e},z_{e}\} be the stable matching in the corresponding modified instance and MM be its projection to EE, i.e., the algorithm’s output. Let {pe}eE[0,1]E\{p^{*}_{e}\}_{e\in E}\in[0,1]^{E} be an optimal solution to the LP. We show eEpE32|M|\sum_{e\in E}p^{*}_{E}\leq\frac{3}{2}|M|, which completes the proof.

For an edge e=(u,w)iMe=(u,w)_{i}\in M, let FeEF_{e}\subseteq E be the set of edges ff such that one of ff’s endpoints is uu or ww and the other is uncovered by MM. Then, FeδG(u)δG(w)F_{e}\subseteq\delta_{G}(u)\cup\delta_{G}(w) and Fe(δG(u)δG(w))=F_{e}\cap(\delta_{G}(u)\cap\delta_{G}(w))=\emptyset. We now show fFepf1\sum_{f\in F_{e}}p^{*}_{f}\leq 1. We can assume FeδG(u)F_{e}\cap\delta_{G}(u)\neq\emptyset and FeδG(w)F_{e}\cap\delta_{G}(w)\neq\emptyset since otherwise the claim is trivial. For any fFeδG(u)f\in F_{e}\cap\delta_{G}(u), its copy xfx_{f} in the modified instance is incident to uu and the other endpoint is uncovered by MM^{*}, and hence the stability of MM^{*} implies e1xfe^{*}\succ^{*}_{1}x_{f}, where ee^{*} is the ee’s copy in MM^{*} and 1\succ^{*}_{1} is the UU-side total order in the modified instance. Similarly, for any gFeδG(w)g\in F_{e}\cap\delta_{G}(w), we obtain e2zge^{*}\succ^{*}_{2}z_{g}, where 2\succ^{*}_{2} is the WW-side total order. By the construction of 1,2\succ^{*}_{1},\succ^{*}_{2}, these imply e=yee^{*}=y_{e} and that we have eufe\succ_{u}f for every fFeδG(u)f\in F_{e}\cap\delta_{G}(u) and ewge\succ_{w}g for every gFeδG(w)g\in F_{e}\cap\delta_{G}(w). Thus, in the LP, every element in FeF_{e} appears either in inequality (1) for uu or that for ww, and does not appear in the inequality (2) for ee. By adding the inequalities (1) for uu and ww and subtracting (2) for ee from it, we obtain fFepf1\sum_{f\in F_{e}}p^{*}_{f}\leq 1 as required.

Let M\partial M denote the set of vertices in UWU\cup W covered by MM. Observe that FeMFeF\coloneqq\cup_{e\in M}F_{e} coincides with the set of edges connecting M\partial M and (UW)M(U\cup W)\setminus\partial M, and that {Fe}eM\{F_{e}\}_{e\in M} forms a partition of FF. Let ΔfFpf=eMfFepf|M|\Delta\coloneqq\sum_{f\in F}p^{*}_{f}=\sum_{e\in M}\sum_{f\in F_{e}}p^{*}_{f}\leq|M|, where the last inequality follows from the fact fFepf1\sum_{f\in F_{e}}p^{*}_{f}\leq 1 shown above.

Note that, as MM is stable, it is maximal, and hence every edge in EE has at least one endpoint in M\partial M. Therefore, every eEFe\in E\setminus F has both endpoints in M\partial M. Then, by summing the inequalities (1) for all vertices in M\partial M, we obtain  2eEFpe+fFpf|M|=2|M|2\sum_{e\in E\setminus F}p^{*}_{e}+\sum_{f\in F}p^{*}_{f}\leq|\partial M|=2|M|, which implies eEFpe|M|12Δ\sum_{e\in E\setminus F}p^{*}_{e}\leq|M|-\frac{1}{2}\Delta. Combined with Δ=fFpf|M|\Delta=\sum_{f\in F}p^{*}_{f}\leq|M|, this implies eEpe|M|12Δ+Δ=|M|+12Δ32|M|\sum_{e\in E}p^{*}_{e}\leq|M|-\frac{1}{2}\Delta+\Delta=|M|+\frac{1}{2}\Delta\leq\frac{3}{2}|M|. ∎

4.2 UGC-hardness of (2δ)(2-\delta)-approximation

In this section, we provide our hardness reduction to prove Theorem 3, i.e., we show that it is UGC-hard to beat the trivial 22-approximation for max-smpo with general partial orders. We use the following theorem of Bansal and Khot about independent set.

Theorem 16 (Bansal and Khot [5]).

Assuming UGC, for any ε>0\varepsilon>0 it is NP-hard, given an nn-vertex graph that has two disjoint independent sets of size (12ε)n(\frac{1}{2}-\varepsilon)n each, to find an independent set of size εn\varepsilon n.

Proof of Theorem 3.

We show that a (2δ)(2-\delta)-approximation algorithm for max-smpo implies that we can find an independent set of size at least εn\varepsilon n in an instance of Theorem 16, if ε\varepsilon is small enough, which is a contradiction.

Let G=(V,E)G=(V,E) be an instance of independent set, and let V=(v1,v2,,vn)V=(v_{1},v_{2},\dots,v_{n}). We create an instance (G=(U,W;E),{v}vUW)(G^{\prime}=(U,W;E^{\prime}),\{\succ_{v}\}_{v\in U\cup W}) of max-smpo as follows. For clarity, we refer to the elements of VV and UWU\cup W as “vertices” and “agents,” respectively. For each vertex viVv_{i}\in V, we create four agents ui,yiUu_{i},y_{i}\in U and wi,xiWw_{i},x_{i}\in W and create six edges gi()=(ui,wi)g_{i(\ell)}=(u_{i},w_{i})_{\ell} for [2]\ell\in[2], hi()=(ui,xi)h_{i(\ell)}=(u_{i},x_{i})_{\ell} for [2]\ell\in[2], and hi()=(yi,wi)h^{\prime}_{i(\ell)}=(y_{i},w_{i})_{\ell} for [2]\ell\in[2]. Then, for each (vi,vj)E(v_{i},v_{j})\in E we create four edges eij=(ui,wj)1,fij=(ui,wj)2,eji=(uj,wi)1,fji=(uj,wi)2e_{ij}=(u_{i},w_{j})_{1},f_{ij}=(u_{i},w_{j})_{2},e_{ji}=(u_{j},w_{i})_{1},f_{ji}=(u_{j},w_{i})_{2}. This completes the construction of the bipartite graph GG^{\prime}. (See Figure 3 for an example.)

We describe the relations in the partial orders of the agents in Table 1.

ui:u_{i}: (gi(1)[F(ui)]hi(1))(g_{i(1)}\succ[F(u_{i})]\succ h_{i(1)}) \wedge (gi(2)[E(ui)]hi(2))(g_{i(2)}\succ[E(u_{i})]\succ h_{i(2)})
wi:w_{i}: (gi(2)[F(wi)]hi(1))(g_{i(2)}\succ[F(w_{i})]\succ h^{\prime}_{i(1)}) \wedge (gi(1)[E(wi)]hi(2))(g_{i(1)}\succ[E(w_{i})]\succ h^{\prime}_{i(2)})
Table 1: Partial orders used in the proof of Theorem 3.

Here, [X(vi)][X(v_{i})] for vi{ui,wi}v_{i}\in\{u_{i},w_{i}\} and X{E,F}X\in\{E,F\} denotes a strict ranking over the adjacent edges to viv_{i} of type XX according to the indices of the other endpoint (the smaller index is ranked higher).

This concludes the construction part. The construction is illustrated in Figure 3

Refer to caption
Figure 3: The reduction for Theorem 3. (a) An instance of independent set with two disjoint independent sets V1V_{1} (blue) and V2V_{2} (red). (b) The corresponding instance of max-smpo. Parallel edges hi()h_{i(\ell)} and hi()h^{\prime}_{i(\ell)} with =1\ell=1 are drawn on the left and those with =2\ell=2 are drawn on the right. Blue and red edges represent the edges corresponding to the two independent sets V1,V2V_{1},V_{2}, respectively, which are chosen in the constructed matching.
Claim 17.

If there are disjoint independent subsets V1,V2VV_{1},V_{2}\subset V with |V1|+|V2|=k|V_{1}|+|V_{2}|=k in GG, then there is a stable matching of size n+kn+k in GG^{\prime}.

Proof.

Let V1,V2V_{1},V_{2} be two disjoint independent sets in GG. We create a matching MM in GG^{\prime} as follows. For each viV1v_{i}\in V_{1}, we add the edges hi(1)=(ui,xi)1,hi(1)=(yi,wi)1h_{i(1)}=(u_{i},x_{i})_{1},h^{\prime}_{i(1)}=(y_{i},w_{i})_{1}. For each viV2v_{i}\in V_{2}, we add the edges hi(2)=(ui,xi)2,hi(2)=(yi,wi)2h_{i(2)}=(u_{i},x_{i})_{2},h^{\prime}_{i(2)}=(y_{i},w_{i})_{2}. Finally, for viV(V1V2)v_{i}\in V\setminus(V_{1}\cup V_{2}), we add an edge gi(1)=(ui,wi)1g_{i(1)}=(u_{i},w_{i})_{1}. Clearly, MM has size 2k+(nk)=n+k2k+(n-k)=n+k.

We claim that MM is stable. First, observe that each ui,wiu_{i},w_{i} agent is matched in MM. No gi()g_{i(\ell)} type edge can block MM because such a blocking edge would imply that there is an index i[n]i\in[n] such that hi(),hi(3)Mh_{i(\ell)},h^{\prime}_{i(3-\ell)}\in M for some [2]\ell\in[2], which contradicts the construction of MM. No eije_{ij} or fijf_{ij} type edge can block MM either, because eije_{ij} (resp., fijf_{ij}) could block MM only if hi(),hj()Mh_{i(\ell)},h^{\prime}_{j(\ell)}\in M for some [2]\ell\in[2], however, such indices i,ji,j must satisfy vi,vjVv_{i},v_{j}\in V_{\ell} by the construction, and as V1V_{1} and V2V_{2} were independent sets, such an edge eije_{ij} (resp., fijf_{ij}) could not exist in the first place. Any hi()h_{i(\ell)} (resp., hi()h^{\prime}_{i(\ell)}) type edge cannot block MM either, as its endpoint uiu_{i} (resp., wiw_{i}) is covered by a better or indifferent edge in MM. ∎

Claim 18.

If there is a stable matching of size n+kn+k in GG^{\prime}, then there are disjoint independent sets V1,V2VV_{1},V_{2}\subset V in GG such that |V1|+|V2|=k|V_{1}|+|V_{2}|=k.

Proof.

Let MM be a stable matching of size n+kn+k.

We claim that for any i[n]i\in[n] and [2]\ell\in[2], if hi()Mh_{i(\ell)}\in M, then hi()Mh^{\prime}_{i(\ell)}\in M. Suppose for contradiction that hi0(1)Mh_{i_{0}(1)}\in M but hi0(1)Mh^{\prime}_{i_{0}(1)}\notin M for some i0[n]i_{0}\in[n]. Since gi0(1)=(ui0,wi0)1g_{i_{0}(1)}=(u_{i_{0}},w_{i_{0}})_{1} does not block MM while ui0u_{i_{0}} prefers it to hi0(1)Mh_{i_{0}(1)}\in M, agent wi0w_{i_{0}} must be covered by some edge that is not worse than (i.e., better than or incomparable with) gi0(1)g_{i_{0}(1)}. As hi0(1)Mh^{\prime}_{i_{0}(1)}\notin M, then fi1i0Mf_{i_{1}i_{0}}\in M must hold for some i1[n]i_{1}\in[n]. Now, we know that GG^{\prime} has an edge fi0i1f_{i_{0}i_{1}}. Since fi0i1=(ui0,wi1)2f_{i_{0}i_{1}}=(u_{i_{0}},w_{i_{1}})_{2} and gi1(1)=(ui1,wi1)1g_{i_{1}(1)}=(u_{i_{1}},w_{i_{1}})_{1} do not block MM while ui0u_{i_{0}} prefers fi0i1f_{i_{0}i_{1}} to hi0(1)Mh_{i_{0}(1)}\in M and ui1u_{i_{1}} prefers gi1(1)g_{i_{1}(1)} to fi1i0Mf_{i_{1}i_{0}}\in M, agent wi1w_{i_{1}} must be covered by some edge that is not worse than fi0i1f_{i_{0}i_{1}} and not worse than gi1(1)g_{i_{1}(1)}. Thus, we obtain that fi2i1Mf_{i_{2}i_{1}}\in M for some i2<i0i_{2}<i_{0}. Now, since fi1i2=(ui1,wi2)2f_{i_{1}i_{2}}=(u_{i_{1}},w_{i_{2}})_{2} and gi2(1)=(ui2,wi2)1g_{i_{2}(1)}=(u_{i_{2}},w_{i_{2}})_{1} do not block MM while ui1u_{i_{1}} prefers fi1i2f_{i_{1}i_{2}} to fi1i0Mf_{i_{1}i_{0}}\in M (as i2<i0i_{2}<i_{0}) and ui2u_{i_{2}} prefers gi2(1)g_{i_{2}(1)} to fi2i1Mf_{i_{2}i_{1}}\in M, we get that wi2w_{i_{2}} is covered by an edge no worse than fi1i2f_{i_{1}i_{2}} and gi2(1)g_{i_{2}(1)}, and hence fi3i2Mf_{i_{3}i_{2}}\in M for some i3<i1i_{3}<i_{1}. By the same argument, from the fact that fi2i3=(ui2,wi3)2f_{i_{2}i_{3}}=(u_{i_{2}},w_{i_{3}})_{2} and gi3(1)=(ui3,wi3)1g_{i_{3}(1)}=(u_{i_{3}},w_{i_{3}})_{1} do not block MM, we get that fi4i3Mf_{i_{4}i_{3}}\in M for some i4<i2<i0i_{4}<i_{2}<i_{0}. By iterating this argument, we get that there must be infinitely many fijf_{ij} type edges in MM, which is a contradiction.

By using similar arguments, we get that, for any i[n]i\in[n] and [2]\ell\in[2], we have hi()Mh_{i(\ell)}\in M if and only if hi()Mh^{\prime}_{i(\ell)}\in M. Recall that the size of MM is n+kn+k and observe that all ui,wiu_{i},w_{i} agents are covered in MM (since otherwise hi()h_{i(\ell)} or hi()h^{\prime}_{i(\ell)} type edges block MM). Let V1={viV:hi(1)M}V_{1}=\{\,v_{i}\in V:h_{i(1)}\in M\,\} and V2={viV:hi(2)M}V_{2}=\{\,v_{i}\in V:h_{i(2)}\in M\,\}. Then, V1V2=V_{1}\cap V_{2}=\emptyset and the fact hi()Mhi()Mh_{i(\ell)}\in M\Leftrightarrow h^{\prime}_{i(\ell)}\in M implies that |V1|+|V2|=k|V_{1}|+|V_{2}|=k. Suppose that there is an edge (vi,vj)E(v_{i},v_{j})\in E with vi,vjV1v_{i},v_{j}\in V_{1}. Then, the edge fijf_{ij} blocks MM, a contradiction. Similarly, if there is an edge (vi,vj)E(v_{i},v_{j})\in E with vi,vjV2v_{i},v_{j}\in V_{2}, then eije_{ij} blocks MM, a contradiction. Thus, V1V_{1} and V2V_{2} are disjoint independent sets with |V1|+|V2|=k|V_{1}|+|V_{2}|=k as required. ∎

Suppose for contradiction that there is a polynomial-time (2δ)(2-\delta)-approximation algorithm for max-smpo for some fixed δ>0\delta>0. For any ε>0\varepsilon>0, let GG be an nn-vertex graph such that there are disjoint independent sets with size (12ε)n(\frac{1}{2}-\varepsilon)n each. We have shown in Claim 17 that there is a stable matching of size 2n2εn2n-2\varepsilon n in the corresponding max-smpo instance GG^{\prime}. Using a (2δ)(2-\delta)-approximation algorithm for max-smpo, we can find a stable matching in GG^{\prime} of size at least 12δ(22ε)n\frac{1}{2-\delta}(2-2\varepsilon)n, where we have 12δ(22ε)n>(1+2ε)n\frac{1}{2-\delta}(2-2\varepsilon)n>(1+2\varepsilon)n if ε\varepsilon is small enough (for example ε<δ6\varepsilon<\frac{\delta}{6}). Then, by Claim 18, we can obtain two disjoint independent sets V1V_{1} and V2V_{2} in GG with |V1|+|V2|>2εn|V_{1}|+|V_{2}|>2\varepsilon n. Then, we get that we can find an independent set of size at least εn\varepsilon n, which contradicts Theorem 16. ∎

Acknowledgement

Some of our results were obtained at the Emléktábla Workshop in Gárdony, July 2022. We would like to thank Tamás Fleiner, Zsuzsanna Jankó, and Ildikó Schlotter for the fruitful discussions. We thank the anonymous reviewers of the previous versions for their helpful feedback. The work was supported by the Lendület Programme of the Hungarian Academy of Sciences – grant number LP2021-1/2021, by the Hungarian National Research, Development and Innovation Office – NKFIH, financed under the ELTE TKP2021-NKTA-62 funding scheme and grant K143858. The first author was supported by the Ministry of Culture and Innovation of Hungary from the National Research, Development and Innovation fund, financed under the KDP-2023 funding scheme (grant number C2258525). The last author was supported by JST PRESTO Grant Number JPMJPR212B and JST ERATO Grant Number JPMJER2301, and the joint project of Kyoto University and Toyota Motor Corporation,titled “Advanced Mathematical Science for Mobility Society”.

References

  • [1] Elliot Anshelevich, Sanmay Das, and Yonatan Naamad. Anarchy, stability, and utopia: creating better matchings. Autonomous Agents and Multi-Agent Systems, 26(1):120–140, 2013.
  • [2] Georgios Askalidis, Nicole Immorlica, Augustine Kwanashie, David F Manlove, and Emmanouil Pountourakis. Socially stable matchings in the hospitals/residents problem. In Algorithms and Data Structures: 13th International Symposium, WADS 2013, London, ON, Canada, August 12-14, 2013. Proceedings 13, pages 85–96. Springer, 2013.
  • [3] Haris Aziz, Péter Biró, Serge Gaspers, Ronald de Haan, Nicholas Mattei, and Baharak Rastegari. Stable matching with uncertain linear preferences. Algorithmica, 82:1410–1433, 2020.
  • [4] Haris Aziz, Péter Biró, and Makoto Yokoo. Matching market design with constraints. In Proc. of 36th AAAI Conference on Artificial Intelligence (AAAI 2022), volume 36 (11), pages 12308–12316, 2022.
  • [5] Nikhil Bansal and Subhash Khot. Optimal long code test with one free bit. In Proceedings of 50th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2009), pages 453–462. IEEE, 2009.
  • [6] Péter Biró, Tamás Fleiner, Robert W Irving, and David F Manlove. The college admissions problem with lower and common quotas. Theoretical Computer Science, 411(34):3136–3153, 2010.
  • [7] Robert Bredereck, Jiehua Chen, Dušan Knop, Junjie Luo, and Rolf Niedermeier. Adapting stable matchings to evolving preferences. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 1830–1837, 2020.
  • [8] Richard A Brualdi. Comments on bases in dependence structures. Bulletin of the Australian Mathematical Society, 1(2):161–167, 1969.
  • [9] Jiehua Chen, Rolf Niedermeier, and Piotr Skowron. Stable marriage with multi-modal preferences. In Proceedings of the 2018 ACM Conference on Economics and Computation, pages 269–286, 2018.
  • [10] Jiehua Chen, Piotr Skowron, and Manuel Sorge. Matchings under preferences: Strength of stability and tradeoffs. ACM Transactions on Economics and Computation, 9(4):1–55, 2021.
  • [11] Frances Cooper and David Manlove. A 3/2-approximation algorithm for the student-project allocation problem. In Proc. 17th International Symposium on Experimental Algorithms (SEA 2018). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2018.
  • [12] Gergely Csáji, Tamás Király, and Yu Yokoi. Approximation algorithms for matroidal and cardinal generalizations of stable matching. In Symposium on Simplicity in Algorithms (SOSA), pages 103–113. SIAM, 2023.
  • [13] Szymon Dudycz, Pasin Manurangsi, and Jan Marcinkowski. Tight inapproximability of minimum maximal matching on bipartite graphs and related problems. In Approximation and Online Algorithms: 19th International Workshop, WAOA 2021, Lisbon, Portugal, September 6–10, 2021, Revised Selected Papers, pages 48–64. Springer, 2022.
  • [14] Tamás Fleiner. A matroid generalization of the stable matching polytope. In Proc. 8th International Conference on Integer Programming and Combinatorial Optimization, pages 105–114. Springer, 2001.
  • [15] Tamás Fleiner. A fixed-point approach to stable matchings and some applications. Mathematics of Operations research, 28(1):103–126, 2003.
  • [16] András Frank. Connections in Combinatorial Optimization, volume 38. OUP Oxford, 2011.
  • [17] D. Gale and M. Sotomayor. Some remarks on the stable matching problem. Discrete Applied Mathematics, 11(3):223–232, 1985.
  • [18] David Gale and Lloyd S Shapley. College admissions and the stability of marriage. American Mathematical Monthly, 69(1):9–15, 1962.
  • [19] Magnús Halldórsson, Kazuo Iwama, Shuichi Miyazaki, and Yasufumi Morita. Inapproximability results on stable marriage problems. In Proc. 5th Latin-American Theoretical Informatics Symposium (LATIN 2002), pages 554–568. Springer, 2002.
  • [20] Magnús M Halldórsson, Kazuo Iwama, Shuichi Miyazaki, and Hiroki Yanagisawa. Improved approximation results for the stable marriage problem. ACM Transactions on Algorithms (TALG), 3(3):No. 30, 2007.
  • [21] Chien-Chung Huang. Classified stable matching. In Proc. twenty-first annual ACM-SIAM symposium on Discrete Algorithms (SODA 2010), pages 1235–1253. SIAM, 2010.
  • [22] Chien-Chung Huang, Kazuo Iwama, Shuichi Miyazaki, and Hiroki Yanagisawa. A tight approximation bound for the stable marriage problem with restricted ties. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2015.
  • [23] Robert W Irving, David F Manlove, and Sandy Scott. Strong stability in the hospitals/residents problem. In Annual Symposium on Theoretical Aspects of Computer Science, pages 439–450. Springer, 2003.
  • [24] K. Iwama, S. Miyazaki, and H. Yanagizawa. A 25/17-approximation algorithm for the stable marriage problem with one-sided ties. Algorithmica, 68(3):758–775, 2014.
  • [25] Kazuo Iwama, David Manlove, Shuichi Miyazaki, and Yasufumi Morita. Stable marriage with incomplete lists and ties. In Proc. 26th International Colloquium on Automata, Languages, and Programming (ICALP 1999), pages 443–452. Springer, 1999.
  • [26] Kazuo Iwama, Shuichi Miyazaki, and Naoya Yamauchi. A 1.875-approximation algorithm for the stable marriage problem. In Proc. Eighteenth annual ACM-SIAM symposium on Discrete algorithms (SODA 2007), pages 288–297. SIAM, Philadelphia, 2007.
  • [27] Kazuo Iwama, Shuichi Miyazaki, and Naoya Yamauchi. A (2c1n2-c\frac{1}{\sqrt{n}})-approximation algorithm for the stable marriage problem. Algorithmica, 51(3):342–356, 2008.
  • [28] Kazuo Iwama, Shuichi Miyazaki, and Hiroki Yanagisawa. A 25/17-approximation algorithm for the stable marriage problem with one-sided ties. Algorithmica, 68(3):758–775, 2014.
  • [29] Subhash Khot. On the power of unique 2-prover 1-round games. In Proceedings of the thiry-fourth annual ACM symposium on Theory of computing, pages 767–775, 2002.
  • [30] Zoltán Király. Better and simpler approximation algorithms for the stable marriage problem. Algorithmica, 60(1):3–20, 2011.
  • [31] Zoltán Király. Linear time local approximation algorithm for maximum stable marriage. In Proc. Second International Workshop on Matching Under Preferences (MATCH-UP 2012), page 99, 2012.
  • [32] Zoltán Király. Linear time local approximation algorithm for maximum stable marriage. Algorithms, 6(3):471–484, 2013.
  • [33] Eric McDermid. A 3/2-approximation algorithm for general stable marriage. In Proc. 36th International Colloquium on Automata, Languages, and Programming (ICALP 2009), pages 689–700. Springer, 2009.
  • [34] Shuichi Miyazaki and Kazuya Okamoto. Jointly stable matchings. Journal of Combinatorial Optimization, 38(2):646–665, 2019.
  • [35] Katarzyna Paluch. Faster and simpler approximation of stable matchings. In Proc. 9th International Workshop on Approximation and Online Algorithms (WAOA 2011), pages 176–187, 2011.
  • [36] Katarzyna Paluch. Faster and simpler approximation of stable matchings. Algorithms, 7(2):189–202, 2014.
  • [37] Maria Silvia Pini, Francesca Rossi, K Brent Venable, and Toby Walsh. Stability, optimality and manipulation in matching problems with weighted preferences. Algorithms, 6(4):782–804, 2013.
  • [38] Baharak Rastegari, Anne Condon, Nicole Immorlica, Robert Irving, and Kevin Leyton-Brown. Reasoning about optimal stable matchings under partial information. In Proceedings of the fifteenth ACM conference on Economics and computation, pages 431–448, 2014.
  • [39] A. E. Roth. The evolution of the labor market for medical interns and residents: A case study in game theory. The Journal of Political Economy, 92(6):991–1016, 1984.
  • [40] Alexander Schrijver. Combinatorial Optimization: Polyhedra and Efficiency, volume 24. Springer, 2003.
  • [41] Hiroki Yanagisawa. Approximation algorithms for stable marriage problems. PhD thesis, Kyoto University, Graduate School of Informatics, 2007.
  • [42] Yu Yokoi. An approximation algorithm for maximum stable matching with ties and constraints. In Proc. 32nd International Symposium on Algorithms and Computation (ISAAC 2021). Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2021.