Abstract

It is well-known that constraint satisfaction problems (CSP) over an unbounded domain can be solved in time $n^{O(k)}$ if the treewidth of the primal graph of the instance is at most $k$ and $n$ is the size of the input. We show that no algorithm can do significantly better than this treewidth-based algorithm, even if we restrict the problem to some special class of primal graphs. Formally, let $\mathbb{A}$ be an algorithm solving binary CSP (i.e., CSP where every constraint involves two variables). We prove that if there is a class $\mathcal G$ of graphs with unbounded treewidth such that the running time of algorithm $\mathbb{A}$ is $f(G)n^{o(k/\log k)}$ on instances whose primal graph $G$ is in $\mathcal G$, where $k$ is the treewidth of the primal graph $G$ and $f$ is an arbitrary function, then the Exponential Time Hypothesis (ETH) fails. We prove the result also in the more general framework of the homomorphism problem for bounded-arity relational structures. For this problem, the treewidth of the core of the left-hand side structure plays the same role as the treewidth of the primal graph above. Finally, we use the results to obtain corollaries on the complexity of (Colored/Partitioned) Subgraph Isomorphism.

Highlights

  • Freuder [21] observed that if the treewidth of the primal graph is k, constraint satisfaction problems (CSP) can be solved in time nO(k). (Here n is the size of the input; in the cases we are interested in in this paper, the input size is polynomially bounded by the domain size and the number of variables.) The aim of this paper is to investigate whether there exists any other structural property of the primal graph that can be exploited algorithmically to speed up the search for the solution

  • We have proved that for binary CSP and for the homomorphism problem for relational structures of bounded arity, the algorithms based on treewidth are almost optimal, in the sense that at most a logarithmic factor improvement is possible in the exponent of the running time

  • This improves the main result of Grohe [26] by making it quantitative: [26] explored only whether there exists a polynomialtime algorithm for a given a class of problems and no effort was made to determine the best possible super-polynomial running time

Read more

Summary

Introduction

The reason why the notion of core is irrelevant in Theorem 1.3 is that the way we defined CSP(G) allows the possibility that every constraint relation appearing in the instance is different In such a case, a nontrivial homomorphism of the primal graph does not provide any apparent shortcut for solving the problem. Theorem 1.5 and the fact that the treewidth of the k-clique is k − 1 shows that it is not possible to improve the dependence on tw(G) in the exponent to o(tw(G)), since in particular this would imply an f (k) · no(k)-time algorithm for the k-Clique problem This observation does not rule out the possibility that there is a special class of graphs (say, bounded degree graphs or planar graphs) where it is possible to improve the exponent to o(tw(G)).

Preliminaries
Embedding in a graph with large treewidth
Complexity of binary CSP
Complexity of homomorphism
Complexity of subgraph problems
Findings
Conclusions
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call