Daniel Berend

Senior Academic

Counting solutions to CSP using generating polynomials

Daniel Berend, Shahar Golan

Constraint Satisfaction Problems (CSPs) are ubiquitous in computer science and specifically in AI. This paper presents a method of solving the counting problem for a wide class of CSPs using generating polynomials. Analysis of our method shows that it is much more efficient than the classic dynamic programming approach. For example, in the case of #SAT, our algorithm improves a result of Samer and Szeider. The presented algorithms mostly use algebraic operations on multivariate polynomials, which allows application of known optimizations and makes it possible to use existing software to implement them easily.

Publication language English
Pages 89-97
Journal Journal of Discrete Algorithms
Volume 26
Publication status Published - 01.01.2014

Keywords

CNF SAT
Constraint satisfaction problem
Counting problem
Generating functions
Treewidth

ASJC Scopus subject areas

Theoretical Computer Science
Discrete Mathematics and Combinatorics
Computational Theory and Mathematics
Access to Document
10.1016/j.jda.2014.01.004
Other files and links
Link to publication in Scopus