Abstract:In an instance of size
n
of the stable marriage problem, each of
n
men and
n
women ranks the members of the opposite sex in order of preference. A stable matching is a complete matching of men and women such that no man and woman who are not partners both prefer each other to their actual partners under the matching. It is well known [2] that at least one stable matching exists for every stable marriage instance. However, the classical Gal… Show more
“…A stable matching satisfying all constraints on restricted edges exists if and only if there is a stable matching of weight −|Q| in the weighted instance, where Q is the set of forced edges. With the help of rotations, minimum weight stable matchings can be found in polynomial time [11][12][13][14] (see the final paragraph of Section 2 for more details on the role played by each of these references).…”
Section: Theorem 12 (Dias Et Al [10]) the Problem Of Finding A Stamentioning
confidence: 99%
“…Irving et al [11] were the first to show that weighted sm can be solved in polynomial time, giving an O(n 4 log n) algorithm if the weight function is monotone in the preference ordering, non-negative and integral. Feder [12,14] showed a method to drop the monotonicity requirement.…”
a b s t r a c tIn the Stable Marriage and Roommates problems, a set of agents is given, each of them having a strictly ordered preference list over some or all of the other agents. A matching is a set of disjoint pairs of mutually acceptable agents. If any two agents mutually prefer each other to their partner, then they block the matching, otherwise, the matching is said to be stable. We investigate the complexity of finding a solution satisfying additional constraints on restricted pairs of agents. Restricted pairs can be either forced or forbidden. A stable solution must contain all of the forced pairs, while it must contain none of the forbidden pairs. Dias et al. (2003) gave a polynomial-time algorithm to decide whether such a solution exists in the presence of restricted edges. If the answer is no, one might look for a solution close to optimal. Since optimality in this context means that the matching is stable and satisfies all constraints on restricted pairs, there are two ways of relaxing the constraints by permitting a solution to: (1) be blocked by as few as possible pairs, or (2) violate as few as possible constraints n restricted pairs.Our main theorems prove that for the (bipartite) Stable Marriage problem, case (1) leads to NP-hardness and inapproximability results, whilst case (2) can be solved in polynomial time. For non-bipartite Stable Roommates instances, case (2) yields an NP-hard but (under some cardinality assumptions) 2-approximable problem. In the case of NP-hard problems, we also discuss polynomially solvable special cases, arising from restrictions on the lengths of the preference lists, or upper bounds on the numbers of restricted pairs.
“…A stable matching satisfying all constraints on restricted edges exists if and only if there is a stable matching of weight −|Q| in the weighted instance, where Q is the set of forced edges. With the help of rotations, minimum weight stable matchings can be found in polynomial time [11][12][13][14] (see the final paragraph of Section 2 for more details on the role played by each of these references).…”
Section: Theorem 12 (Dias Et Al [10]) the Problem Of Finding A Stamentioning
confidence: 99%
“…Irving et al [11] were the first to show that weighted sm can be solved in polynomial time, giving an O(n 4 log n) algorithm if the weight function is monotone in the preference ordering, non-negative and integral. Feder [12,14] showed a method to drop the monotonicity requirement.…”
a b s t r a c tIn the Stable Marriage and Roommates problems, a set of agents is given, each of them having a strictly ordered preference list over some or all of the other agents. A matching is a set of disjoint pairs of mutually acceptable agents. If any two agents mutually prefer each other to their partner, then they block the matching, otherwise, the matching is said to be stable. We investigate the complexity of finding a solution satisfying additional constraints on restricted pairs of agents. Restricted pairs can be either forced or forbidden. A stable solution must contain all of the forced pairs, while it must contain none of the forbidden pairs. Dias et al. (2003) gave a polynomial-time algorithm to decide whether such a solution exists in the presence of restricted edges. If the answer is no, one might look for a solution close to optimal. Since optimality in this context means that the matching is stable and satisfies all constraints on restricted pairs, there are two ways of relaxing the constraints by permitting a solution to: (1) be blocked by as few as possible pairs, or (2) violate as few as possible constraints n restricted pairs.Our main theorems prove that for the (bipartite) Stable Marriage problem, case (1) leads to NP-hardness and inapproximability results, whilst case (2) can be solved in polynomial time. For non-bipartite Stable Roommates instances, case (2) yields an NP-hard but (under some cardinality assumptions) 2-approximable problem. In the case of NP-hard problems, we also discuss polynomially solvable special cases, arising from restrictions on the lengths of the preference lists, or upper bounds on the numbers of restricted pairs.
“…each set in a preference list has size at most 2). If there are no ties, the problem of finding an egalitarian or minimum regret stable set is solvable in polynomial time [13,10]. Since all stable sets consist of n couples in the classical SMP, the G-S algorithm trivially finds a maximum (or minimum) cardinality [7].…”
Section: Definitionmentioning
confidence: 99%
“…[10,13,20]). In this paper, we propose to use Answer Set Programming (ASP) as a general vehicle for modeling a large class of extensions and variations of the SMP.…”
Section: Introductionmentioning
confidence: 99%
“…The key rule which makes sure that I is a minimal model of the reduct is (15). The rules (13) imply that for each model of red(P crit , I) that does not contain sat, the literals of P ′crit ext in that model will correspond to a stable set of the SMP instance. In that case rule (15) will have a true body, since S is optimal, implying that sat should have been in the model.…”
The Stable Marriage Problem (SMP) is a well-known matching problem first introduced and solved by Gale and Shapley [7]. Several variants and extensions to this problem have since been investigated to cover a wider set of applications. Each time a new variant is considered, however, a new algorithm needs to be developed and implemented. As an alternative, in this paper we propose an encoding of the SMP using Answer Set Programming (ASP). Our encoding can easily be extended and adapted to the needs of specific applications. As an illustration we show how stable matchings can be found when individuals may designate unacceptable partners and ties between preferences are allowed. Subsequently, we show how our ASP based encoding naturally allows us to select specific stable matchings which are optimal according to a given criterion. Each time, we can rely on generic and efficient off-the-shelf answer set solvers to find (optimal) stable matchings.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.