Intelligent backtracking on constraint satisfaction problems: experimental and theoretical results

The Constraint Satisfaction Problem is a type of combinatorial search problem of much interest in Artificial Intelligence and Operations Research. The simplest algorithm for solving such a problem is chronological backtracking, but this method suffers from a malady known as "thrashing," in which essentially the same subproblems end up being solved repeatedly. Intelligent backtracking algorithms, such as backjumping and dependency-directed backtracking, were designed to address this difficulty, but the exact utility and range of applicability of these techniques have not been fully explored. This dissertation describes an experimental and theoretical investigation into the power of these intelligent backtracking algorithms. We compare the empirical performance of several such algorithms on a range of problem distributions. We show that the more sophisticated algorithms are especially useful on those problems with a small number of constraints that happen to be difficult for chronological backtracking. We also illuminate some issues concerning the distribution of hard and easy constraint problems. It was previously believed that the hardest problems had a small number of constraints, but we show that this result is an artifact of chronological backtracking that does not apply to the more advanced algorithms. We then study the performance of a particular intelligent backtracking algorithm that has been of much interest: dynamic backtracking. We demonstrate experimentally that for some problems this algorithm can do more harm than good. We discuss the reason for this phenomenon, and we present a modification to dynamic backtracking that fixes the problem. We also present theoretical worst-case results. It is known that dependency-directed backtracking can solve a constraint satisfaction problem in time exponential in a particular problem parameter known as the "induced width." This algorithm, however, requires about as much space as time; that is, its space requirements also grow exponentially in this parameter. This suggests the question of whether it is possible for a polynomial-space algorithm to be exponential in the induced width. We show that for a large class of constraint satisfaction algorithms, it is not possible. That is, there is a trade-off in intelligent backtracking between space and time.

[1]  Rufus Walker,et al.  An enumerative technique for a class of combinatorial problems , 1960 .

[2]  Donald W. Loveland,et al.  A machine program for theorem-proving , 2011, CACM.

[3]  Solomon W. Golomb,et al.  Backtrack Programming , 1965, JACM.

[4]  J. A. Robinson,et al.  A Machine-Oriented Logic Based on the Resolution Principle , 1965, JACM.

[5]  S. Cook,et al.  On the lengths of proofs in the propositional calculus (Preliminary Version) , 1974, STOC '74.

[6]  Ugo Montanari,et al.  Networks of constraints: Fundamental properties and applications to picture processing , 1974, Inf. Sci..

[7]  David L. Waltz,et al.  Understanding Line drawings of Scenes with Shadows , 1975 .

[8]  Edward M. Reingold,et al.  Backtrack programming techniques , 1975, CACM.

[9]  Gerald J. Sussman,et al.  Forward Reasoning and Dependency-Directed Backtracking in a System for Computer-Aided Circuit Analysis , 1976, Artif. Intell..

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

[11]  John Gaschnig,et al.  A General Backtrack Algorithm That Eliminates Most Redundant Tests , 1977, IJCAI.

[12]  Eugene C. Freuder Synthesizing constraint expressions , 1978, CACM.

[13]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[14]  J. Gaschnig Performance measurement and analysis of certain search algorithms. , 1979 .

[15]  Daniel Brélaz,et al.  New methods to color the vertices of a graph , 1979, CACM.

[16]  Robert M. Haralick,et al.  Increasing Tree Search Efficiency for Constraint Satisfaction Problems , 1979, Artif. Intell..

[17]  Raimund Seidel,et al.  A New Method for Solving Constraint Satisfaction Problems , 1981, IJCAI.

[18]  Maurice Bruynooghe,et al.  Solving Combinatorial Search Problems by Intelligent Backtracking , 1981, Inf. Process. Lett..

[19]  Eugene C. Freuder A Sufficient Condition for Backtrack-Free Search , 1982, JACM.

[20]  Norman E. Gibbs,et al.  The bandwidth problem for graphs and matrices - a survey , 1982, J. Graph Theory.

[21]  Paul Walton Purdom,et al.  Search Rearrangement Backtracking and Polynomial Average Time , 1983, Artif. Intell..

[22]  G. S. Tseitin On the Complexity of Derivation in Propositional Calculus , 1983 .

[23]  C. D. Gelatt,et al.  Optimization by Simulated Annealing , 1983, Science.

[24]  Jean H. Gallier,et al.  Linear-Time Algorithms for Testing the Satisfiability of Propositional Horn Formulae , 1984, J. Log. Program..

[25]  Luís Moniz Pereira,et al.  Deduction Revision by Intelligent Backtracking , 1984, Implementations of Prolog.

[26]  Philip T. Cox,et al.  Finding Backtrack Points for Intelligent Backtracking , 1984, Implementations of Prolog.

[27]  Stefan Arnborg,et al.  Efficient algorithms for combinatorial problems on graphs with bounded decomposability — A survey , 1985, BIT.

[28]  Eugene C. Freuder,et al.  The Complexity of Some Polynomial Network Consistency Algorithms for Constraint Satisfaction Problems , 1985, Artif. Intell..

[29]  Armin Haken,et al.  The Intractability of Resolution , 1985, Theor. Comput. Sci..

[30]  Thomas C. Henderson,et al.  Arc and Path Consistency Revisited , 1986, Artif. Intell..

[31]  Janice M. Stone,et al.  Efficient Search Techniques - An Empirical Study of the N-Queens Problem , 1987, IBM J. Res. Dev..

[32]  Vikraman Arvind,et al.  An O(n²) Algorithm for the Satisfiability Problem of a Subset of Propositional Sentences in CNF That Includes All Horn Sentences , 1987, Inf. Process. Lett..

[33]  Derek G. Corneil,et al.  Complexity of finding embeddings in a k -tree , 1987 .

[34]  Alasdair Urquhart,et al.  Formal Languages]: Mathematical Logic--mechanical theorem proving , 2022 .

[35]  Rina Dechter,et al.  Network-Based Heuristics for Constraint-Satisfaction Problems , 1987, Artif. Intell..

[36]  Jonathan S. Turner,et al.  Almost All k-Colorable Graphs are Easy to Color , 1988, J. Algorithms.

[37]  David A. McAllester,et al.  A Rearrangement Search Strategy for Determining Propositional Satisfiability , 1988, AAAI.

[38]  Chia-Hoang Lee,et al.  Comments on Mohr and Henderson's Path Consistency Algorithm , 1988, Artif. Intell..

[39]  Endre Szemerédi,et al.  Many hard examples for resolution , 1988, JACM.

[40]  Martin C. Cooper An Optimal k-Consistency Algorithm , 1989, Artif. Intell..

[41]  Igor Rivin,et al.  An Algebraic Approach to Constraint Satisfaction Problems , 1989, IJCAI.

[42]  Michael C. Frank,et al.  Search Lessons Learned from Crossword Puzzles , 1990, AAAI.

[43]  Rina Dechter,et al.  Enhancement Schemes for Constraint Processing: Backjumping, Learning, and Cutset Decomposition , 1990, Artif. Intell..

[44]  Steven Minton,et al.  Solving Large-Scale Constraint-Satisfaction and Scheduling Problems Using a Heuristic Repair Method , 1990, AAAI.

[45]  Ramin Zabih,et al.  Some Applications of Graph Bandwidth to Constraint Satisfaction Problems , 1990, AAAI.

[46]  Peter C. Cheeseman,et al.  Where the Really Hard Problems Are , 1991, IJCAI.

[47]  R. Dechter to Constraint Satisfaction , 1991 .

[48]  Pascal Van Hentenryck,et al.  A Generic Arc-Consistency Algorithm and its Specializations , 1992, Artif. Intell..

[49]  Vipin Kumar,et al.  Algorithms for Constraint-Satisfaction Problems: A Survey , 1992, AI Mag..

[50]  Christophe Lecoutre Constraint Networks , 1992 .

[51]  Mukesh Dalal Tractable Deduction in Knowledge Representation Systems , 1992, KR.

[52]  Matthew L. Ginsberg,et al.  Iterative Broadening , 1990, Artif. Intell..

[53]  Hector J. Levesque,et al.  Hard and Easy Distributions of SAT Problems , 1992, AAAI.

[54]  P. Langley Systematic and nonsystematic search strategies , 1992 .

[55]  Bruce A. Reed,et al.  Mick gets some (the odds are on his side) (satisfiability) , 1992, Proceedings., 33rd Annual Symposium on Foundations of Computer Science.

[56]  Patrick Prosser,et al.  HYBRID ALGORITHMS FOR THE CONSTRAINT SATISFACTION PROBLEM , 1993, Comput. Intell..

[57]  James M. Crawford,et al.  Experimental Results on the Crossover Point inSatis ability , 1993 .

[58]  Bart Selman,et al.  Domain-Independent Extensions to GSAT : Solving Large StructuredSatis ability , 1993 .

[59]  Bart Selman,et al.  Local search strategies for satisfiability testing , 1993, Cliques, Coloring, and Satisfiability.

[60]  Matthew L. Ginsberg,et al.  Dynamic Backtracking , 1993, J. Artif. Intell. Res..

[61]  Stephen F. Smith,et al.  Slack-Based Heuristics for Constraint Satisfaction Scheduling , 1993, AAAI.

[62]  Bart Selman,et al.  An Empirical Study of Greedy Local Search for Satisfiability Testing , 1993, AAAI.

[63]  Christian Bessiere,et al.  Arc-Consistency and Arc-Consistency Again , 1993, Artif. Intell..

[64]  Toby Walsh,et al.  Easy Problems are Sometimes Hard , 1994, Artif. Intell..

[65]  Roberto Sebastiani,et al.  Applying GSAT to Non-Clausal Formulas , 1993, J. Artif. Intell. Res..

[66]  Andrew B. Baker,et al.  The Hazards of Fancy Backtracking , 1994, AAAI.

[67]  James M. Crawford,et al.  Experimental Results on the Application of Satisfiability Algorithms to Scheduling Problems , 1994, AAAI.

[68]  Rina Dechter,et al.  Directional Resolution: The Davis-Putnam Procedure, Revisited , 1994, KR.

[69]  Rina Dechter,et al.  Dead-End Driven Learning , 1994, AAAI.

[70]  David A. McAllester,et al.  GSAT and Dynamic Backtracking , 1994, KR.

[71]  Tad Hogg,et al.  The Hardest Constraint Problems: A Double Phase Transition , 1994, Artif. Intell..

[72]  A. B. Baker Intelligent Backtracking on the Hardest Constraint Problems , 1995 .