Using Symmetry of Global Constraints to Speed up the Resolution of Constraint Satisfaction Problems

1 LIP6, Boite 169, 4 Place Jussieu, 75 252 Paris Cedex 05, France. e-mail: roy@poleia.lip6.fr 2 SONY CSL-Paris, 6 rue Amyot, 75 005 Paris, France. e-mail: pachet@csl.sony.fr Abstract. Symmetry in constraint satisfaction problems (CSP) can be used to either compute only a subset of the total solution set, or to prune branches of the search tree. However, detecting symmetry in general is a difficult task. In this paper, we address the problem of detecting and exploiting a particular class of symmetry called intensional permutability, which is based on the notion of interchangeability between variables and can be detected with a very small overhead. This kind of symmetry is detected by collecting information on symmetrical properties of individual constraints. This method works particularly well on problems designed using global constraints. We show how intensional permutability dramatically reduces the search tree for some problems. We propose a simple method to exploit it, which can be implemented as a lightweight extension to most resolution algorithms based on backtracking. We illustrate the method on several symmetrical problems, such as a classical layout problem and the pigeonhole problem, stated with a global constraint. Finally, we extend the method to symmetries involving groups of variables.

[1]  Jean-Charles Régin,et al.  Generalized Arc Consistency for Global Cardinality Constraint , 1996, AAAI/IAAI, Vol. 1.

[2]  Nicolas Beldiceanu,et al.  Introducing global constraints in CHIP , 1994 .

[3]  Christian Bessiere,et al.  Arc Consistency for General Constraint Networks: Preliminary Results , 1997, IJCAI.

[4]  Alan K. Mackworth Consistency in Networks of Relations , 1977, Artif. Intell..

[5]  Javier Larrosa Merging Constraint Satisfaction Subproblems to Avoid Redundant Search , 1997, IJCAI.

[6]  Robert M. Haralick,et al.  Increasing Tree Search Efficiency for Constraint Satisfaction Problems , 1979, Artif. Intell..

[7]  James M. Crawford,et al.  Symmetry-Breaking Predicates for Search Problems , 1996, KR.

[8]  Patrick Prosser,et al.  HYBRID ALGORITHMS FOR THE CONSTRAINT SATISFACTION PROBLEM , 1993, Comput. Intell..

[9]  Jean-Charles Régin,et al.  A Filtering Algorithm for Constraints of Difference in CSPs , 1994, AAAI.

[10]  Eugene C. Freuder,et al.  Extracting Constraint Satisfaction Subproblems , 1995, IJCAI.

[11]  François Pachet,et al.  Reifying Constraint Satisfaction in Smalltalk , 1997, J. Object Oriented Program..

[12]  Pascal Van Hentenryck,et al.  An Efficient Arc Consistency Algorithm for a Class of CSP Problems , 1991, IJCAI.

[13]  Daniel P. Miranker,et al.  An Optimal Backtrack Algorithm for Tree-Structured Constraint Satisfaction problems , 1994, Artif. Intell..

[14]  Jean-Louis Laurière,et al.  A Language and a Program for Stating and Solving Combinatorial Problems , 1978, Artif. Intell..