Structural tractability of enumerating CSP solutions

The problem of deciding whether CSP instances admit solutions has been deeply studied in the literature, and several structural tractability results have been derived so far. However, constraint satisfaction comes in practice as a computation problem where the focus is either on finding one solution, or on enumerating all solutions, possibly projected to some given set of output variables. The paper investigates the structural tractability of the problem of enumerating (possibly projected) solutions, where tractability means here computable with polynomial delay (WPD), since in general exponentially many solutions may be computed. A framework based on the notion of tree projection of hypergraphs is considered, which generalizes all structural decomposition methods that are based on decomposing a given instance into suitable tree-like groups of polynomial-time computable subproblems. Tractability results have been obtained both for classes of structures where output variables are part of their specification, and for classes of structures where computability WPD must be ensured for any possible set of output variables. By exhibiting dichotomies, these results are shown to be tight for classes of structures having bounded arity.

[1]  Henning Schnoor,et al.  Enumerating All Solutions for Constraint Satisfaction Problems , 2007, STACS.

[2]  Christoph Koch,et al.  Processing queries on tree-structured data efficiently , 2006, PODS.

[3]  Paul D. Seymour,et al.  Graph minors. III. Planar tree-width , 1984, J. Comb. Theory B.

[4]  Y. C. Tay,et al.  GYO Reductions, Canonical Connections, Tree and Cyclic Schemas, and Tree Projections , 1984, J. Comput. Syst. Sci..

[5]  Georg Gottlob,et al.  Uniform Constraint Satisfaction Problems and Database Theory , 2008, Complexity of Constraints.

[6]  Stefan Rümmele,et al.  Counting and Enumeration Problems with Bounded Treewidth , 2010, LPAR.

[7]  Nathan Goodman,et al.  The Tree Projection Theorem and Relational Query Processing , 1984, J. Comput. Syst. Sci..

[8]  Luc Segoufin,et al.  First-order query evaluation on structures of bounded degree , 2011, Log. Methods Comput. Sci..

[9]  Mihalis Yannakakis,et al.  Algorithms for Acyclic Database Schemes , 1981, VLDB.

[10]  Bruno Courcelle,et al.  Monadic Second-Order Evaluations on Tree-Decomposable Graphs , 1991, Theor. Comput. Sci..

[11]  Michael R. Fellows,et al.  Parameterized Complexity , 1998 .

[12]  Riccardo Rosati On the finite controllability of conjunctive query answering in databases under open-world assumption , 2011, J. Comput. Syst. Sci..

[13]  Eugene C. Freuder Complexity of K-Tree Structured Constraint Satisfaction Problems , 1990, AAAI.

[14]  Philip A. Bernstein,et al.  Power of Natural Semijoins , 1981, SIAM J. Comput..

[15]  Hubie Chen,et al.  Beyond Hypertree Width: Decomposition Methods Without Decompositions , 2005, CP.

[16]  Andrei A. Bulatov,et al.  On the Power of k -Consistency , 2007, ICALP.

[17]  Frédéric Olive,et al.  Computing the jth solution of a first-order query , 2008, RAIRO Theor. Informatics Appl..

[18]  Georg Gottlob,et al.  Monadic datalog over finite structures of bounded treewidth , 2010, TOCL.

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

[20]  Peter Jonsson,et al.  The complexity of counting homomorphisms seen from the other side , 2004, Theor. Comput. Sci..

[21]  E. Lawler A PROCEDURE FOR COMPUTING THE K BEST SOLUTIONS TO DISCRETE OPTIMIZATION PROBLEMS AND ITS APPLICATION TO THE SHORTEST PATH PROBLEM , 1972 .

[22]  Christian Bessiere,et al.  Arc Consistency for General Constraint Networks: Preliminary Results , 1997, IJCAI.

[23]  Georg Gottlob,et al.  Robbers, marshals, and guards: game theoretic and logical characterizations of hypertree width , 2001, PODS '01.

[24]  Arnaud Durand,et al.  On Acyclic Conjunctive Queries and Constant Delay Enumeration , 2007, CSL.

[25]  Paul D. Seymour,et al.  Graph minors. V. Excluding a planar graph , 1986, J. Comb. Theory B.

[26]  Francesco Scarcello,et al.  Tree Projections and Structural Decomposition Methods: The Power of Local Consistency and Larger Islands of Tractability , 2012 .

[27]  Isolde Adler Tree-Related Widths of Graphs and Hypergraphs , 2008, SIAM J. Discret. Math..

[28]  Dániel Marx,et al.  Approximating fractional hypertree width , 2009, TALG.

[29]  Jörg Flum,et al.  Query evaluation via tree-decompositions , 2001, JACM.

[30]  David A. Cohen,et al.  Tractable Decision for a Constraint Language Implies Tractable Search , 2004, Constraints.

[31]  Dániel Marx,et al.  Constraint solving via fractional edge covers , 2006, SODA '06.

[32]  Arnaud Durand,et al.  First-order queries on structures of bounded degree are computable with constant delay , 2005, TOCL.

[33]  Georg Gottlob,et al.  Hypertree decompositions and tractable queries , 1998, J. Comput. Syst. Sci..

[34]  Dániel Marx,et al.  Size Bounds and Query Plans for Relational Joins , 2008, 2008 49th Annual IEEE Symposium on Foundations of Computer Science.

[35]  Dániel Marx,et al.  Enumerating Homomorphisms , 2009, STACS.

[36]  Nadia Creignou,et al.  On Generating All Solutions of Generalized Satisfiability Problems , 1997, RAIRO Theor. Informatics Appl..

[37]  Phokion G. Kolaitis,et al.  Conjunctive-query containment and constraint satisfaction , 1998, PODS.

[38]  Thomas Schwentick,et al.  Generalized hypertree decompositions: np-hardness and tractable variants , 2007, PODS '07.

[39]  Francesco Scarcello,et al.  The power of tree projections: local consistency, greedy algorithms, and larger islands of tractability , 2010, PODS '10.

[40]  Bruno Courcelle,et al.  Linear delay enumeration and monadic second-order logic , 2009, Discret. Appl. Math..

[41]  Marc Gyssens,et al.  A unified theory of structural tractability for constraint satisfaction problems , 2008, J. Comput. Syst. Sci..

[42]  Alon Itai,et al.  Finding All Solutions if You can Find One , 1992 .

[43]  Dániel Marx,et al.  Tractable Hypergraph Properties for Constraint Satisfaction and Conjunctive Queries , 2009, JACM.

[44]  Guillaume Bagan,et al.  MSO Queries on Tree Decomposable Structures Are Computable with Linear Delay , 2006, CSL.

[45]  Domenico Saccà,et al.  Count Constraints and the Inverse OLAP Problem: Definition, Complexity and a Step toward Aggregate Data Exchange , 2012, FoIKS.

[46]  Francesco Scarcello,et al.  Structural Tractability of Constraint Optimization , 2011, CP.

[47]  Martin Grohe The complexity of homomorphism and constraint satisfaction problems seen from the other side , 2007, JACM.

[48]  Nadia Creignou,et al.  Enumerating All Solutions of a Boolean CSP by Non-decreasing Weight , 2011, SAT.

[49]  Martin Grohe,et al.  The complexity of first-order and monadic second-order logic revisited , 2002, Proceedings 17th Annual IEEE Symposium on Logic in Computer Science.

[50]  Thomas Schwentick,et al.  When is the evaluation of conjunctive queries tractable? , 2001, STOC '01.

[51]  Yehoshua Sagiv,et al.  Incrementally Computing Ordered Answers of Acyclic Conjunctive Queries , 2006, NGITS.

[52]  Bruno Courcelle,et al.  Graph Rewriting: An Algebraic and Logic Approach , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

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

[54]  Oded Shmueli,et al.  Solving queries by tree projections , 1993, TODS.

[55]  Isolde Adler,et al.  Tree-width and functional dependencies in databases , 2008, PODS.