English

The Complexity of Weighted Boolean #CSP with Mixed Signs

Computational Complexity 2009-06-03 v2 Discrete Mathematics

Abstract

We give a complexity dichotomy for the problem of computing the partition function of a weighted Boolean constraint satisfaction problem. Such a problem is parameterized by a set of rational-valued functions, which generalize constraints. Each function assigns a weight to every assignment to a set of Boolean variables. Our dichotomy extends previous work in which the weight functions were restricted to being non-negative. We represent a weight function as a product of the form (-1)^s g, where the polynomial s determines the sign of the weight and the non-negative function g determines its magnitude. We show that the problem of computing the partition function (the sum of the weights of all possible variable assignments) is in polynomial time if either every weight function can be defined by a "pure affine" magnitude with a quadratic sign polynomial or every function can be defined by a magnitude of "product type" with a linear sign polynomial. In all other cases, computing the partition function is FP^#P-complete.

Keywords

Cite

@article{arxiv.0812.4171,
  title  = {The Complexity of Weighted Boolean #CSP with Mixed Signs},
  author = {Andrei Bulatov and Martin Dyer and Leslie Ann Goldberg and Markus Jalsenius and David Richerby},
  journal= {arXiv preprint arXiv:0812.4171},
  year   = {2009}
}

Comments

24 pages

R2 v1 2026-06-21T11:54:52.971Z