Exploiting parallelism in decomposition methods for constraint satisfaction

Constraint Satisfaction Problems (CSPs) are NP-complete in general, however, there are many tractable subclasses that rely on the restriction of the structure of their underlying hypergraphs. It is a well-known fact, for instance, that CSPs whose underlying hypergraph is acyclic are tractable. Trying to define “nearly acyclic” hypergraphs led to the definition of various hypergraph decomposition methods. An important member in this class is the hypertree decomposition method, introduced by Gottlob et al. It possesses the property that CSPs falling into this class can be solved efficiently, and that hypergraphs in this class can be recognized efficiently as well. Apart from polynomial tractability, complexity analysis has shown, that both afore-mentioned problems lie in the low complexity class LOGCFL and are thus moreover efficiently parallelizable. A parallel algorithm has been proposed for the “evaluation problem”, however all algorithms for the “recognition problem” presented to date are sequential. The main contribution of this dissertation is the creation of an object oriented programming library including a task scheduler which allows the parallelization of a whole range of computational problems, fulfilling certain complexity-theoretic restrictions. This library merely requires the programmer to provide the implementation of several classes and methods, representing a general alternating algorithm, while the mechanics of the task scheduler remain hidden. In particular, we use this library to create an efficient parallel algorithm, which computes hypertree decompositions of a fixed width. Another result of a more theoretical nature is the definition of a new type of decomposition method, called Balanced Decompositions. Solving CSPs of bounded balanced width and recognizing such hypergraphs is only quasi-polynomial, however still parallelizable to a certain extent. A complexity-theoretic analysis leads to the definition of a new complexity class hierarchy, called the DC-hierarchy, with the first class in this hierarchy, DC1 , precisely capturing the complexity of solving CSPs of bounded balanced width.

[1]  Georg Gottlob,et al.  Hypertree width and related hypergraph invariants , 2007, Eur. J. Comb..

[2]  Robin Thomas,et al.  Graph Searching and a Min-Max Theorem for Tree-Width , 1993, J. Comb. Theory, Ser. B.

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

[4]  Georg Gottlob,et al.  A CSP Hypergraph Library , 2006 .

[5]  Albert R. Meyer,et al.  On Time-Space Classes and their Relation to the Theory of Real Addition , 1980, Theor. Comput. Sci..

[6]  Omer Reingold,et al.  Undirected ST-connectivity in log-space , 2005, STOC '05.

[7]  Walter L. Ruzzo,et al.  Tree-size bounded alternation(Extended Abstract) , 1979, J. Comput. Syst. Sci..

[8]  Francesco Scarcello,et al.  Weighted hypertree decompositions and optimal query plans , 2007, J. Comput. Syst. Sci..

[9]  Ashok K. Chandra,et al.  Optimal implementation of conjunctive queries in relational data bases , 1977, STOC '77.

[10]  I. H. Sudborough The complexity of the membership problem for some extensions of context-free languagest† , 1977 .

[11]  Walter J. Savitch,et al.  Relationships Between Nondeterministic and Deterministic Tape Complexities , 1970, J. Comput. Syst. Sci..

[12]  Stephen A. Cook,et al.  Deterministic CFL's are accepted simultaneously in polynomial time and log squared space , 1979, STOC.

[13]  Liming Cai,et al.  On the Amount of Nondeterminism and the Power of Verifying , 1997, SIAM J. Comput..

[14]  Georg Gottlob,et al.  Alternation as a programming paradigm , 2009, PPDP '09.

[15]  Michael J. Quinn,et al.  Parallel programming in C with MPI and OpenMP , 2003 .

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

[17]  Georg Gottlob,et al.  The complexity of acyclic conjunctive queries , 1998, Proceedings 39th Annual Symposium on Foundations of Computer Science (Cat. No.98CB36280).

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

[19]  Isolde Adler,et al.  Marshals, monotone marshals, and hypertree‐width , 2004, J. Graph Theory.

[20]  Oscar H. Ibarra,et al.  Characterizations of Some Tape and Time Complexity Classes of Turing Machines in Terms of Multihead and Auxiliary Stack Automata , 1971, J. Comput. Syst. Sci..

[21]  Alan K. Mackworth Consistency in Networks of Relations , 1977, Artif. Intell..

[22]  Seymour Ginsburg,et al.  Stack automata and compiling , 1967, JACM.

[23]  Zoltán Miklós,et al.  Understanding Tractable Decompositions for Constraint Satisfaction , 2008 .

[24]  Francesco Scarcello,et al.  Cost-based Query Decompositions , 2002, Sistemi Evoluti per Basi di Dati.

[25]  Stephen A. Cook,et al.  Characterizations of Pushdown Machines in Terms of Time-Bounded Computers , 1971, J. ACM.

[26]  Georg Gottlob,et al.  Heuristic Methods for Hypertree Decomposition , 2008, MICAI.

[27]  Robert B. Ross,et al.  Using MPI-2: Advanced Features of the Message Passing Interface , 2003, CLUSTER.

[28]  Ivan Hal Sudborough,et al.  Bandwidth Constrained NP-Complete Problems , 1985, Theor. Comput. Sci..

[29]  Martin Grohe,et al.  Constraint solving via fractional edge covers , 2006, SODA 2006.

[30]  Ronald L. Rivest,et al.  Introduction to Algorithms, Second Edition , 2001 .

[31]  Friedhelm Meyer auf der Heide,et al.  A Web Computing Environment for Parallel Algorithms in Java , 2001 .

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

[33]  Georg Gottlob,et al.  A backtracking-based algorithm for hypertree decomposition , 2007, JEAL.

[34]  Georg Gottlob,et al.  On Tractable Queries and Constraints , 1999, DEXA.

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

[36]  Michael Sipser,et al.  Introduction to the Theory of Computation , 1996, SIGA.

[37]  Georg Gottlob,et al.  Width Parameters Beyond Tree-width and their Applications , 2008, Comput. J..

[38]  Bin Fu,et al.  Molecular Computing, Bounded Nondeterminism, and Efficient Recursion , 1997, Algorithmica.

[39]  Heribert Vollmer,et al.  Introduction to Circuit Complexity: A Uniform Approach , 2010 .

[40]  Marc Gyssens,et al.  A Unified Theory of Structural Tractability for Constraint Satisfaction and Spread Cut Decomposition , 2005, IJCAI.