Solution counting algorithms for constraint-centered search heuristics

Constraints have played a central role in cp because they capture key substructures of a problem and efficiently exploit them to boost inference. This paper intends to do the same thing for search, proposing constraint-centered heuristics which guide the exploration of the search space toward areas that are likely to contain a high number of solutions. We first propose new search heuristics based on solution counting information at the level of individual constraints. We then describe efficient algorithms to evaluate the number of solutions of two important families of constraints: occurrence counting constraints, such as alldifferent, and sequencing constraints, such as regular. In both cases we take advantage of existing filtering algorithms to speed up the evaluation. Experimental results on benchmark problems show the effectiveness of our approach.

[1]  Gilles Pesant,et al.  A Regular Language Membership Constraint for Finite Sequences of Variables , 2004, CP.

[2]  Eric Vigoda,et al.  A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entries , 2004, JACM.

[3]  Lars Eilstrup Rasmussen,et al.  Approximating the Permanent: A Simple Approach , 1994, Random Struct. Algorithms.

[4]  Mark Huber,et al.  Exact Sampling from Perfect Matchings of Dense Regular Bipartite Graphs , 2006, Algorithmica.

[5]  J. Christopher Beck Solution-Guided Multi-Point Constructive Search for Job Shop Scheduling , 2007, J. Artif. Intell. Res..

[6]  Alexander I. Barvinok,et al.  Polynomial Time Algorithms to Approximate Permanents and Mixed Discriminants Within a Simply Exponential Factor , 1999, Random Struct. Algorithms.

[7]  Eric Vigoda,et al.  A polynomial-time approximation algorithm for the permanent of a matrix with non-negative entries , 2001, STOC '01.

[8]  Alex Samorodnitsky,et al.  A Deterministic Strongly Polynomial Algorithm for Matrix Scaling and Approximate Permanents , 1998, STOC '98.

[9]  Gilles Pesant,et al.  Counting Solutions of Knapsack Constraints , 2008, CPAIOR.

[10]  Philippe Refalo,et al.  Impact-Based Search Strategies for Constraint Programming , 2004, CP.

[11]  D. Shmoys,et al.  Completing Quasigroups or Latin Squares: A Structured Graph Coloring Problem , 2002 .

[12]  Martin Fürer,et al.  An Almost Linear Time Approximation Algorithm for the Permanen of a Random (0-1) Matrix , 2004, FSTTCS.

[13]  Alessandro Zanarini,et al.  Solution Counting Algorithms for Constraint-Centered Search Heuristics , 2007, CP.

[14]  Sheila A. McIlraith,et al.  Using Expectation Maximization to Find Likely Assignments for Solving Constraint Satisfaction Problems , 2007 .

[15]  Carlos Ansótegui,et al.  Disco - Novo - GoGo: Integrating Local Search and Complete Search with Restarts , 2006, AAAI.

[16]  Vibhav Gogate,et al.  Approximate Counting by Sampling the Backtrack-free Search Space , 2007, AAAI.

[17]  Sheila A. McIlraith,et al.  Using Expectation Maximization to Find Likely Assignments for Solving CSP's , 2007, AAAI.

[18]  Bart Selman,et al.  Model Counting: A New Strategy for Obtaining Good Bounds , 2006, AAAI.

[19]  Leslie G. Valiant,et al.  The Complexity of Computing the Permanent , 1979, Theor. Comput. Sci..

[20]  Vibhav Gogate,et al.  Counting-Based Look-Ahead Schemes for Constraint Satisfaction , 2004, CP.

[21]  Gilles Pesant,et al.  Counting Solutions of CSPs: A Structural Approach , 2005, IJCAI.

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

[23]  Steve Chien,et al.  Clifford algebras and approximating the permanent , 2003, J. Comput. Syst. Sci..

[24]  John W. Chinneck,et al.  Active-constraint variable ordering for faster feasibility of mixed integer linear programs , 2007, Math. Program..