Same-relation constraints

  • Authors:
  • Christopher Jefferson;Serdar Kadioglu;Karen E. Petrie;Meinolf Sellmann;Stanislav Živný

  • Affiliations:
  • University of St Andrews, School of Computer Science, St Andrews, UK;Brown University, Department of Computer Science, Providence;Oxford University, Computing Laboratory, Oxford, UK;Brown University, Department of Computer Science, Providence;Oxford University, Computing Laboratory, Oxford, UK

  • Venue:
  • CP'09 Proceedings of the 15th international conference on Principles and practice of constraint programming
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

The ALLDIFFERENT constraint was one of the first global constraints [17] and it enforces the conjunction of one binary constraint, the not-equal constraint, for every pair of variables. By looking at the set of all pairwise not-equal relations at the same time, AllDifferent offers greater filtering power. The natural question arises whether we can generally leverage the knowledge that sets of pairs of variables all share the same relation. This paper studies exactly this question. We study in particular special constraint graphs like cliques, complete bipartite graphs, and directed acyclic graphs, whereby we always assume that the same constraint is enforced on all edges in the graph. In particular, we study whether there exists a tractable GAC propagator for these global Same-Relation constraints and show that AllDifferent is a huge exception: most Same-Relation Constraints pose NP-hard filtering problems. We present algorithms, based on AC-4 and AC-6, for one family of Same-Relation Constraints, which do not achieve GAC propagation but outperform propagating each constraint individually in both theory and practice.