Counting Solutions of CSPs: A Structural Approach

Determining the number of solutions of a CSP has several applications in AI, in statistical physics, and in guiding backtrack search heuristics. It is a #P-complete problem for which some exact and approximate algorithms have been designed. Successful CSP models often use high-arity, global constraints to capture the structure of a problem. This paper exploits such structure and derives polytime evaluations of the number of solutions of individual constraints. These may be combined to approximate the total number of solutions or used to guide search heuristics. We give algorithms for several of the main families of constraints and discuss the possible uses of such solution counts.

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

[2]  Evelyne Contejean,et al.  Complete Solving of Linear Diophantine Equations and Inequations without Adding Variables , 1995, CP.

[3]  Pekka Orponen,et al.  Dempster's Rule of Combination is #P-Complete , 1990, Artif. Intell..

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

[5]  J. Steif,et al.  Non-uniqueness of measures of maximal entropy for subshifts of finite type , 1994, Ergodic Theory and Dynamical Systems.

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

[7]  Andrei A. Bulatov,et al.  Towards a dichotomy theorem for the counting constraint satisfaction problem , 2007, Inf. Comput..

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

[9]  Jean-Charles Régin,et al.  Global Constraints and Filtering Algorithms , 2004 .

[10]  Ola Angelsmark,et al.  Improved Algorithms for Counting Solutions in Constraint Satisfaction Problems , 2003, CP.

[11]  Adnan Darwiche,et al.  On the Tractable Counting of Theory Models and its Application to Truth Maintenance and Belief Revision , 2001, J. Appl. Non Class. Logics.

[12]  J. Lebowitz,et al.  Phase Transitions in Binary Lattice Gases , 1971 .

[13]  Thomas C. Henderson,et al.  Arc and Path Consistency Revisited , 1986, Artif. Intell..

[14]  Dan Roth,et al.  On the Hardness of Approximate Reasoning , 1993, IJCAI.

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

[16]  William S. Havens,et al.  Probabilistic Arc Consistency: A Connection between Constraint Reasoning and Probabilistic Reasoning , 2000, UAI.

[17]  Michael A. Trick A Dynamic Programming Approach for Consistency and Propagation for Knapsack Constraints , 2003, Ann. Oper. Res..

[18]  Eliezer L. Lozinskii,et al.  The Good Old Davis-Putnam Procedure Helps Counting Models , 2011, J. Artif. Intell. Res..

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