English

An n-ary Constraint for the Stable Marriage Problem

Data Structures and Algorithms 2013-08-02 v1 Artificial Intelligence

Abstract

We present an n-ary constraint for the stable marriage problem. This constraint acts between two sets of integer variables where the domains of those variables represent preferences. Our constraint enforces stability and disallows bigamy. For a stable marriage instance with nn men and nn women we require only one of these constraints, and the complexity of enforcing arc-consistency is O(n2)O(n^2) which is optimal in the size of input. Our computational studies show that our n-ary constraint is significantly faster and more space efficient than the encodings presented in \cite{cp01}. We also introduce a new problem to the constraint community, the sex-equal stable marriage problem.

Keywords

Cite

@article{arxiv.1308.0183,
  title  = {An n-ary Constraint for the Stable Marriage Problem},
  author = {Chris Unsworth and Patrick Prosser},
  journal= {arXiv preprint arXiv:1308.0183},
  year   = {2013}
}

Comments

7 pages. The Fifth Workshop on Modelling and Solving Problems with Constraints, held at the 19th International Joint Conference on Artificial Intelligence (IJCAI 2005)

R2 v1 2026-06-22T01:02:12.259Z