ABSTRACT
In this paper, we study the complexity of finding an efficient search for combinatorial problems which are commonly solved by backtracking. First, a formalism is introduced. Backtrack searches are ordinarily thought of as following a tree pattern. Our model is considerably more general, and there are problems where this allows much shorter searches.
Next, we look at the complexity of search strategies (probabilistic decision trees) that can solve any problem in a collection of problems. Let C be the collection of problems that can be solved by a (possibly lucky) search involving K or fewer queries. We prove a nonpolynomial lower bound (in terms of K) on any search strategy for C. We conjecture that a matching upper bound exists.
Finally, a few heuristics are presented that give the flavor of an interesting line of research: to test the effectiveness of a heuristic that should work on any problem, try it out on a few specific problems of known complexity. On some simple problems, our heuristics allow polynomial-time searches.
- BR.Bitner, J.R. and E.M. Reingold, "Backtrack programming techniques", CACM 18, pp 651-656 (1975). Google ScholarDigital Library
- C.Carter, J.L., "On the existence of a projective plane of order ten", Ph.D. Thesis, University of California at Berkeley (1974).Google Scholar
- F.Fletcher, J.G., "A program to solve the pentomino problem by the recursive use of macros", CACM 8, pp. 621-623, (1965). Google ScholarDigital Library
- G.Galil, Z., "On enumeration procedures for theorem proving and for integer '"programming , Automata Languages and Programming, edited by S. Michaelson and R, Milner, pp. 355-382 (1976).Google Scholar
- GB.Golomb, S.W. and L.D. Baumert, "Backtrack programming", 8ACM 12, pp. 516-524 (1965). Google ScholarDigital Library
- K.Knuth, D.E., "Estimating the efficiency of backtrack programs", Math. Comp. 29, pp. 121-136 (1975).Google ScholarCross Ref
- N.Nudel, B., "Consistent-labeling problems and their algorithms: expected-complexities and theory-based heuristics", Artificial !ntelligenee 21, pp. 135-178 (1983).Google ScholarDigital Library
- PBR.Purdom, P.W., C.A. Brown and E.L. Robertson, "Backtracking with Multi-Level Dynamic Search Rearrangementf', Acta Informatiea 15, pp. 99-113 (1981).Google ScholarDigital Library
- W.Walker, R.J., "An enumerative technique for a class of combinatorial problems", AMS Proceedings of Symposium in Applied Math. 10 (1960).Google ScholarCross Ref
Index Terms
- The complexity of backtrack searches
Recommendations
Accelerating backtrack search with a best-first-search strategy
Abstract Backtrack-style exhaustive search algorithms for NP-hard problems tend to have large variance in their runtime. This is because "fortunate" branching decisions can lead to finding a solution quickly, whereas "unfortunate" decisions in another ...
Backtracking tactics in the backtrack method for SAT
Backtrack is an exhaustive search method by consecutively extending partial solutions. Backtracking is a step of backtrack, which occurs when extensions cannot go deeper. So far, people have taken the depth-first backtracking tactic as default in ...
Random backtracking in backtrack search algorithms for satisfiability
This paper proposes the utilization of randomized backtracking within complete backtrack search algorithms for propositional satisfiability (SAT). In recent years, randomization has become pervasive in SAT algorithms. Incomplete algorithms for SAT, for ...
Comments