Testing the complexity of a valued CSP language

A Valued Constraint Satisfaction Problem (VCSP) provides a common framework that can express a wide range of discrete optimization problems. A VCSP instance is given by a finite set of variables, a finite domain of labels, and an objective function to be minimized. This function is represented as a sum of terms where each term depends on a subset of the variables. To obtain different classes of optimization problems, one can restrict all terms to come from a fixed set $\Gamma$ of cost functions, called a language. Recent breakthrough results have established a complete complexity classification of such classes with respect to language $\Gamma$: if all cost functions in $\Gamma$ satisfy a certain algebraic condition then all $\Gamma$-instances can be solved in polynomial time, otherwise the problem is NP-hard. Unfortunately, testing this condition for a given language $\Gamma$ is known to be NP-hard. We thus study exponential algorithms for this meta-problem. We show that the tractability condition of a finite-valued language $\Gamma$ can be tested in $O(\sqrt[3]{3}^{\,|D|}\cdot poly(size(\Gamma)))$ time, where $D$ is the domain of $\Gamma$ and $poly(\cdot)$ is some fixed polynomial. We also obtain a matching lower bound under the Strong Exponential Time Hypothesis (SETH). More precisely, we prove that for any constant $\delta<1$ there is no $O(\sqrt[3]{3}^{\,\delta|D|})$ algorithm, assuming that SETH holds.

[1]  Thomas J. Schaefer,et al.  The complexity of satisfiability problems , 1978, STOC.

[2]  Hubie Chen,et al.  Asking the Metaquestions in Constraint Tractability , 2016, TOCT.

[3]  Vladimir Kolmogorov,et al.  Effectiveness of Structural Restrictions for Hybrid CSPs , 2015, ISAAC.

[4]  Dániel Marx,et al.  Lower bounds based on the Exponential Time Hypothesis , 2011, Bull. EATCS.

[5]  Andrei A. Bulatov,et al.  A Dichotomy Theorem for Nonuniform CSPs , 2017, 2017 IEEE 58th Annual Symposium on Foundations of Computer Science (FOCS).

[6]  Vladimir Kolmogorov,et al.  The Complexity of General-Valued CSPs , 2015, 2015 IEEE 56th Annual Symposium on Foundations of Computer Science.

[7]  Jaroslav Nesetril,et al.  The core of a graph , 1992, Discret. Math..

[8]  Fedor V. Fomin,et al.  Lower Bounds for the Graph Homomorphism Problem , 2015, ICALP.

[9]  Igor Razgon,et al.  Complexity Analysis of Heuristic CSP Search Algorithms , 2005, CSCLP.

[10]  Libor Barto,et al.  The CSP Dichotomy Holds for Digraphs with No Sources and No Sinks (A Positive Answer to a Conjecture of Bang-Jensen and Hell) , 2008, SIAM J. Comput..

[11]  Andrei A. Bulatov,et al.  Complexity of conservative constraint satisfaction problems , 2011, TOCL.

[12]  Libor Barto,et al.  The Dichotomy for Conservative Constraint Satisfaction Problems Revisited , 2011, 2011 IEEE 26th Annual Symposium on Logic in Computer Science.

[13]  Russell Impagliazzo,et al.  On the Complexity of k-SAT , 2001, J. Comput. Syst. Sci..

[14]  Marcin Kozik,et al.  Algebraic Properties of Valued Constraint Satisfaction Problem , 2014, ICALP.

[15]  Libor Barto,et al.  Polymorphisms, and How to Use Them , 2017, The Constraint Satisfaction Problem.

[16]  Dmitriy Zhuk,et al.  A Proof of CSP Dichotomy Conjecture , 2017, 2017 IEEE 58th Annual Symposium on Foundations of Computer Science (FOCS).

[17]  Eugene L. Lawler,et al.  A Note on the Complexity of the Chromatic Number Problem , 1976, Inf. Process. Lett..

[18]  Stanislav Zivny,et al.  The Complexity of Finite-Valued CSPs , 2016, J. ACM.

[19]  Andrei A. Bulatov,et al.  A dichotomy theorem for constraint satisfaction problems on a 3-element set , 2006, JACM.

[20]  Russell Impagliazzo,et al.  Complexity of kSAT , 2007 .

[21]  Peter Jeavons,et al.  Classifying the Complexity of Constraints Using Finite Algebras , 2005, SIAM J. Comput..

[22]  Biman Roy,et al.  Time Complexity of Constraint Satisfaction via Universal Algebra , 2017, MFCS.

[23]  Russell Impagliazzo,et al.  Which problems have strongly exponential complexity? , 1998, Proceedings 39th Annual Symposium on Foundations of Computer Science (Cat. No.98CB36280).

[24]  R. McKenzie,et al.  Optimal strong Mal’cev conditions for omitting type 1 in locally finite varieties , 2014 .

[25]  Magnus Wahlström,et al.  Which NP-Hard SAT and CSP Problems Admit Exponentially Improved Algorithms? , 2018, ArXiv.

[26]  L. Lovász,et al.  Geometric Algorithms and Combinatorial Optimization , 1981 .

[27]  M. Siggers A strong Mal’cev condition for locally finite varieties omitting the unary type , 2010 .

[28]  Tomás Feder,et al.  The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group Theory , 1999, SIAM J. Comput..

[29]  Gustav Nordh,et al.  Strong partial clones and the time complexity of SAT problems , 2017, J. Comput. Syst. Sci..

[30]  Russell Impagliazzo,et al.  The Complexity of Satisfiability of Small Depth Circuits , 2009, IWPEC.

[31]  Patrick Traxler The Time Complexity of Constraint Satisfaction , 2008, IWPEC.

[32]  Vladimir Kolmogorov,et al.  The Power of Linear Programming for General-Valued CSPs , 2013, SIAM J. Comput..

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