Separate, Measure and Conquer: Faster Algorithms for Max 2-CSP and Counting Dominating Sets

We show a method resulting in the improvement of several polynomial-space, exponential-time algorithms. An instance of the problem Max (r,2)-CSP, or simply Max 2-CSP, is parametrized by the domain size r (often 2), the number of variables n (vertices in the constraint graph G), and the number of constraints m (edges in G). When G is cubic, and omitting sub-exponential terms here for clarity, we give an algorithm running in time r (1/5) n = r (2/15) m ; the previous best was r (1/4) n = r (1/6) m . By known results, this improvement for the cubic case results in an algorithm running in time r (9/50) m for general instances; the previous best was r (19/100) m . We show that the analysis of the earlier algorithm was tight: our improvement is in the algorithm, not just the analysis. The new algorithm, like the old, extends to Polynomial and Ring CSP (encompassing graph bisection, the Ising model, and counting). It is also the fastest polynomial- space algorithm for Max Cut, for cubic and general instances. We also give faster algorithms for #Dominating Set, counting the dominating sets of every cardinality 0,...,n for a graph G of order n. For cubic graphs, our algorithm runs in time 3 (1/6) n ; the previous best was 2 (1/2) n . For general graphs, we give an unrelated algorithm running in time 1.5183 n ; the previous best was 1.5673 n . The previous best algorithms for these problems all used local transformations and were an- alyzed by the "Measure and Conquer" method. Our new algorithms capitalize on the existence of small balanced separators for cubic graphs — a non-local property — and the ability to tailor the local algorithms always to "pivot" on a vertex in the separator. The new algorithms perform much as the old ones until the separator is empty, at which point they gain because the remaining vertices are split into two independent problem instances that can be solved recursively. It is likely that such algorithms can be effective for other problems too, and we present their design and analysis in a general framework.

[1]  Fedor V. Fomin,et al.  Planar F-Deletion: Approximation, Kernelization and Optimal FPT Algorithms , 2012, 2012 IEEE 53rd Annual Symposium on Foundations of Computer Science.

[2]  Andreas Björklund,et al.  Set Partitioning via Inclusion-Exclusion , 2009, SIAM J. Comput..

[3]  Pim van 't Hof,et al.  Minimal dominating sets in graph classes: Combinatorial bounds and enumeration , 2013, Theor. Comput. Sci..

[4]  Peter Rossmanith,et al.  Dynamic Programming on Tree Decompositions Using Generalised Fast Subset Convolution , 2009, ESA.

[5]  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.

[6]  Fabrizio Grandoni,et al.  A measure & conquer approach for the analysis of exact algorithms , 2009, JACM.

[7]  Michael Alekhnovich,et al.  Exponential Lower Bounds for the Running Time of DPLL Algorithms on Satisfiable Formulas , 2004, SODA '04.

[8]  Dimitris Achlioptas,et al.  Optimal myopic algorithms for random 3-SAT , 2000, Proceedings 41st Annual Symposium on Foundations of Computer Science.

[9]  Li Yan Application of A Planar Separator Theorem , 2001 .

[10]  Hans L. Bodlaender,et al.  Exact algorithms for dominating set , 2011, Discret. Appl. Math..

[11]  Daniel Lokshtanov,et al.  Saving space by algebraization , 2010, STOC '10.

[12]  Peter van Beek,et al.  Guiding real-world SAT solving with dynamic hypergraph separator decomposition , 2004, 16th IEEE International Conference on Tools with Artificial Intelligence.

[13]  Serge Gaspers Exponential Time Algorithms , 2010 .

[14]  Fabrizio Grandoni,et al.  Exact Algorithms for Hard Graph Problems , 2004 .

[15]  Magnus Wahlström,et al.  Exact algorithms for finding minimum transversals in rank-3 hypergraphs , 2004, J. Algorithms.

[16]  Stefan Richter,et al.  Algorithms Based on the Treewidth of Sparse Graphs , 2005, WG.

[17]  Paul D. Seymour,et al.  Graph Minors. II. Algorithmic Aspects of Tree-Width , 1986, J. Algorithms.

[18]  Mathieu Liedloff Finding a dominating set on bipartite graphs , 2008, Inf. Process. Lett..

[19]  David Eppstein,et al.  Quasiconvex analysis of multivariate recurrence equations for backtracking algorithms , 2006, TALG.

[20]  Rina Dechter,et al.  AND/OR search spaces for graphical models , 2007, Artif. Intell..

[21]  Robert E. Tarjan,et al.  Application of a Planar Separator Theorem , 1977, FOCS.

[22]  Hans L. Bodlaender,et al.  A Partial k-Arboretum of Graphs with Bounded Treewidth , 1998, Theor. Comput. Sci..

[23]  Hiroshi Nagamochi,et al.  Confining sets and avoiding bottleneck cases: A simple maximum independent set algorithm in degree-3 graphs , 2013, Theor. Comput. Sci..

[24]  Christophe Paul,et al.  Linear Kernels and Single-Exponential Algorithms via Protrusion Decompositions , 2013, ICALP.

[25]  Michael R. Fellows,et al.  Fundamentals of Parameterized Complexity , 2013 .

[26]  Christophe Paul,et al.  Linear Kernels and Single-Exponential Algorithms Via Protrusion Decompositions , 2012, ICALP.

[27]  Alexandr V. Kostochka,et al.  On a lower bound for the isoperimetric number of cubic graphs , 1993 .

[28]  Fabrizio Grandoni,et al.  Combinatorial bounds via measure and conquer: Bounding minimal dominating sets and applications , 2008, TALG.

[29]  Petr A. Golovach,et al.  Enumerating minimal connected dominating sets in graphs of bounded chordality , 2016, Theor. Comput. Sci..

[30]  Fabrizio Grandoni,et al.  A note on the complexity of minimum dominating set , 2006, J. Discrete Algorithms.

[31]  Serge Gaspers,et al.  Separate, Measure and Conquer: Faster Polynomial-Space Algorithms for Max 2-CSP and Counting Dominating Sets , 2015, ICALP.

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

[33]  Dieter Kratsch,et al.  Exponential time algorithms for the minimum dominating set problem on some graph classes , 2006, TALG.

[34]  François Le Gall,et al.  Powers of tensors and fast matrix multiplication , 2014, ISSAC.

[35]  Georg Gottlob,et al.  A Comparison of Structural CSP Decomposition Methods , 1999, IJCAI.

[36]  Johan M. M. van Rooij Polynomial Space Algorithms for Counting Dominating Sets and the Domatic Number , 2010, CIAC.

[37]  Ton Kloks,et al.  Efficient and Constructive Algorithms for the Pathwidth and Treewidth of Graphs , 1993, J. Algorithms.

[38]  Richard M. Karp,et al.  Dynamic programming meets the principle of inclusion and exclusion , 1982, Oper. Res. Lett..

[39]  Serge Gaspers,et al.  A universally fastest algorithm for Max 2-Sat, Max 2-CSP, and everything in between , 2009, J. Comput. Syst. Sci..

[40]  Fedor V. Fomin,et al.  On Two Techniques of Combining Branching and Treewidth , 2009, Algorithmica.

[41]  Thomas C. van Dijk,et al.  Inclusion/Exclusion Meets Measure and Conquer , 2013, Algorithmica.

[42]  Yoichi Iwata,et al.  A Faster Algorithm for Dominating Set Analyzed by the Potential Method , 2011, IPEC.

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

[44]  Armin Biere,et al.  Decomposing SAT Problems into Connected Components , 2006, J. Satisf. Boolean Model. Comput..

[45]  Marcin Krzywkowski,et al.  Trees having many minimal dominating sets , 2013, Inf. Process. Lett..

[46]  Alex D. Scott,et al.  Linear-programming design and analysis of fast algorithms for Max 2-CSP , 2006, Discret. Optim..

[47]  Michael J. Quinn,et al.  Taking Advantage of Stable Sets of Variables in Constraint Satisfaction Problems , 1985, IJCAI.

[48]  Robert Elsässer,et al.  New spectral lower bounds on the bisection width of graphs , 2000, Theor. Comput. Sci..

[49]  Eric McDermid,et al.  A General Reduction Theorem with Applications to Pathwidth and the Complexity of MAX 2-CSP , 2015, Algorithmica.

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

[51]  Serge Gaspers,et al.  Exponential Time Algorithms - Structures, Measures, and Bounds , 2010 .

[52]  Konstantin Kutzkov,et al.  New exact algorithms for the 2-constraint satisfaction problem , 2014, Theor. Comput. Sci..

[53]  Fedor V. Fomin,et al.  Exact exponential algorithms , 2013, CACM.

[54]  Thomas C. van Dijk,et al.  Inclusion/Exclusion Meets Measure and Conquer , 2009, ESA.

[55]  Fabrizio Grandoni,et al.  Sharp Separation and Applications to Exact and Parameterized Algorithms , 2010, LATIN.

[56]  Jean-François Couturier,et al.  On the number of minimal dominating sets on some graph classes , 2015, Theor. Comput. Sci..

[57]  Stefan Szeider,et al.  Strong Backdoors to Bounded Treewidth SAT , 2012, 2013 IEEE 54th Annual Symposium on Foundations of Computer Science.

[58]  Alex D. Scott,et al.  Polynomial constraint satisfaction problems, graph bisection, and the Ising partition function , 2006, TALG.