skip to main content
10.1145/22145.22195acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article
Free Access

The complexity of backtrack searches

Authors Info & Claims
Published:01 December 1985Publication History

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.

References

  1. BR.Bitner, J.R. and E.M. Reingold, "Backtrack programming techniques", CACM 18, pp 651-656 (1975). Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. C.Carter, J.L., "On the existence of a projective plane of order ten", Ph.D. Thesis, University of California at Berkeley (1974).Google ScholarGoogle Scholar
  3. F.Fletcher, J.G., "A program to solve the pentomino problem by the recursive use of macros", CACM 8, pp. 621-623, (1965). Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 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 ScholarGoogle Scholar
  5. GB.Golomb, S.W. and L.D. Baumert, "Backtrack programming", 8ACM 12, pp. 516-524 (1965). Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. K.Knuth, D.E., "Estimating the efficiency of backtrack programs", Math. Comp. 29, pp. 121-136 (1975).Google ScholarGoogle ScholarCross RefCross Ref
  7. N.Nudel, B., "Consistent-labeling problems and their algorithms: expected-complexities and theory-based heuristics", Artificial !ntelligenee 21, pp. 135-178 (1983).Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  9. W.Walker, R.J., "An enumerative technique for a class of combinatorial problems", AMS Proceedings of Symposium in Applied Math. 10 (1960).Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. The complexity of backtrack searches

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          STOC '85: Proceedings of the seventeenth annual ACM symposium on Theory of computing
          December 1985
          484 pages
          ISBN:0897911512
          DOI:10.1145/22145

          Copyright © 1985 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 December 1985

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          Overall Acceptance Rate1,469of4,586submissions,32%

          Upcoming Conference

          STOC '24
          56th Annual ACM Symposium on Theory of Computing (STOC 2024)
          June 24 - 28, 2024
          Vancouver , BC , Canada

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader