Linear-programming design and analysis of fast algorithms for Max 2-Sat and Max 2-CSP

The class $(r,2)$-CSP, or simply Max 2-CSP, consists of constraint satisfaction problems with at most two $r$-valued variables per clause. For instances with $n$ variables and $m$ binary clauses, we present an $O(n r^{5+19m/100})$-time algorithm which is the fastest polynomial-space algorithm for many problems in the class, including Max Cut. The method also proves a treewidth bound $\tw(G) \leq (13/75+o(1))m$, which gives a faster Max 2-CSP algorithm that uses exponential space: running in time $\Ostar{2^{(13/75+o(1))m}}$, this is fastest for most problems in Max 2-CSP. Parametrizing in terms of $n$ rather than $m$, for graphs of average degree $d$ we show a simple algorithm running time $\Ostar{2^{(1-\frac{2}{d+1})n}}$, the fastest polynomial-space algorithm known. In combination with ``Polynomial CSPs'' introduced in a companion paper, these algorithms also allow (with an additional polynomial-factor overhead in space and time) counting and sampling, and the solution of problems like Max Bisection that escape the usual CSP framework. Linear programming is key to the design as well as the analysis of the algorithms.

[1]  Rina Dechter,et al.  Network-Based Heuristics for Constraint-Satisfaction Problems , 1987, Artif. Intell..

[2]  Rolf Niedermeier,et al.  New Upper Bounds for Maximum Satisfiability , 2000, J. Algorithms.

[3]  David Eppstein,et al.  3-Coloring in Time O(1.3289^n) , 2000, J. Algorithms.

[4]  Luca Trevisan,et al.  The Approximability of Constraint Satisfaction Problems , 2001, SIAM J. Comput..

[5]  Alexander S. Kulikov,et al.  A new approach to proving upper bounds for MAX-2-SAT , 2006, SODA '06.

[6]  Alex D. Scott,et al.  Polynomial Constraint Satisfaction: A Framework for Counting and Sampling CSPs and Other Problems , 2006, ArXiv.

[7]  Stefan Arnborg,et al.  Linear time algorithms for NP-hard problems restricted to partial k-trees , 1989, Discret. Appl. Math..

[8]  Rina Dechter,et al.  Tree Clustering for Constraint Networks , 1989, Artif. Intell..

[9]  Fedor V. Fomin,et al.  Reports in Informatics , 2005 .

[10]  Peter Jonsson,et al.  An algorithm for counting maximum weighted independent sets and its applications , 2002, SODA '02.

[11]  Alex D. Scott,et al.  Solving Sparse Random Instances of Max Cut and Max 2-CSP in Linear Expected Time , 2006, Combinatorics, Probability and Computing.

[12]  F. Della Croce,et al.  An exact algorithm for MAX-CUT in sparse graphs , 2007, Oper. Res. Lett..

[13]  Rolf Niedermeier,et al.  Worst-case upper bounds for MAX-2-SAT with an application to MAX-CUT , 2003, Discret. Appl. Math..

[14]  Martin Fürer,et al.  Algorithms for Counting 2-SAT Solutions and Colorings with Applications , 2005, Electron. Colloquium Comput. Complex..

[15]  Ryan Williams A new algorithm for optimal constraint satisfaction and its implications , 2004, Electron. Colloquium Comput. Complex..

[16]  Nadia Creignou,et al.  A Dichotomy Theorem for Maximum Generalized Satisfiability Problems , 1995, J. Comput. Syst. Sci..

[17]  A. E. Eiben,et al.  Constraint-satisfaction problems. , 2000 .

[18]  Edward A. Hirsch,et al.  A New Algorithm for MAX-2-SAT , 2000, STACS.

[19]  David Eppstein,et al.  Quasiconvex analysis of backtracking algorithms , 2003, SODA '04.

[20]  Ryan Williams,et al.  A new algorithm for optimal 2-constraint satisfaction and its implications , 2005, Theor. Comput. Sci..

[21]  Klaus Jansen,et al.  Polynomial Time Approximation Schemes for MAX-BISECTION on Planar and Geometric Graphs , 2005, SIAM J. Comput..

[22]  Noga Alon,et al.  Large induced degenerate subgraphs , 1987, Graphs Comb..

[23]  Luca Trevisan,et al.  Gadgets, Approximation, and Linear Programming , 2000, SIAM J. Comput..

[24]  Alex D. Scott,et al.  An LP-Designed Algorithm for Constraint Satisfaction , 2006, ESA.

[25]  Dániel Marx Parameterized complexity of constraint satisfaction problems , 2004 .

[26]  Alex D. Scott,et al.  Faster Algorithms for MAX CUT and MAX CSP, with Polynomial Expected Time for Sparse Instances , 2003, RANDOM-APPROX.

[27]  Magnus Wahlström,et al.  Counting models for 2SAT and 3SAT formulae , 2005, Theor. Comput. Sci..

[28]  Martin Fürer,et al.  Exact Max 2-Sat: Easier and Faster , 2007, SOFSEM.

[29]  Burkhard Monien,et al.  Upper bounds on the bisection width of 3- and 4-regular graphs , 2006, J. Discrete Algorithms.

[30]  Fabrizio Grandoni,et al.  Some New Techniques in Design and Analysis of Exact (Exponential) Algorithms , 2005, Bull. EATCS.