Skip to main content

A Graph Based Backtracking Algorithm for Solving General CSPs

  • Conference paper
  • First Online:
Advances in Artificial Intelligence (Canadian AI 2003)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 2671))

Abstract

Many AI tasks can be formalized as constraint satisfaction problems (CSPs), which involve finding values for variables subject to constraints. While solving a CSP is an NP-complete task in general, tractable classes of CSPs have been identified based on the structure of the underlying constraint graphs. Much effort has been spent on exploiting structural properties of the constraint graph to improve the effeciency of finding a solution. These efforts contributed to development of a class of CSP solving algorithms called decomposition algorithms. The strength of CSP decomposition is that its worst-case complexity depends on the structural properties of the constraint graph and is usually better than the worst-case complexity of search methods. Its practical application is limited, however, since it cannot be applied if the CSP is not decomposable. In this paper, we propose a graph based backtracking algorithm called ω-CDBT, which shares merits and overcomes the weaknesses of both decomposition and search approaches.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. C. Beeri, R. Fagin, D. Maier, and M. Yannakakis. On the desirability of acyclic database schemes. J. ACM, 30(3):497–513, 1983.

    Article  MathSciNet  MATH  Google Scholar 

  2. C. Berge. Graphs and Hypergraphs. North-Holland, New York, 1973.

    MATH  Google Scholar 

  3. M. Cooper, D. A. Cohen, and P.G. Jeavons. Characterizing tractable constraints. Artificial Intelligence, 65:347–361, 1994.

    Article  MathSciNet  MATH  Google Scholar 

  4. R. Dechter. Enhancement schemes for constraint processing: backjumping, learning, and cutset decomposition. Artificial Intelligence, 41:273–312, 1990.

    Article  Google Scholar 

  5. R. Dechter. Constraint networks. In S.C. Shapiro, editor, Encyclopedia of Artificial Intelligence, volume 1, pages 276–285. Wiley-Interscience, 2nd edition, 1992.

    Google Scholar 

  6. R. Dechter. From local to global consistency. Artificial Intelligence, 55:87–102, 1992.

    Article  MathSciNet  MATH  Google Scholar 

  7. R. Dechter and J. Pearl. Tree clustering for constraint networks. Artificial Intelligence, 38: 353–366, 1989.

    Article  MathSciNet  MATH  Google Scholar 

  8. R. Dechter and J. Pearl. Directed constraint networks: A relational framework for causal modeling. In Proceedings of IJCAI-91, pages 1164–1170, Sydney, Australia, 1991.

    Google Scholar 

  9. R. Dechter and P. van Beek. Local and global relational consistency. In Proceedings of the 1st International Conference on Principles and Practices of Constraint Programming, pages 240–257, Cassis, France, September 1995.

    Google Scholar 

  10. Y. Deville and P. Van Hentenryck. An effecient are consistency algorithm for a class of CSPs. In Proceedings of IJCAI-91, pages 325–330, Sydney, Australia, 1991.

    Google Scholar 

  11. S. Even. Graph Algorithms. Computer Science Press, Potomac, Maryland, 1979.

    MATH  Google Scholar 

  12. E. Freuder. A suffecient condition for backtrack-free search. J. of the ACM, 29(1):25–32, 1982.

    Article  Google Scholar 

  13. E. Freuder. Backtrack-free and backtrack-bounded search. In L. Kanal and V. Kumar, editors, Search in Artificial Intelligence, pages 343–369. Springer Verlag, New York, 1988.

    Chapter  Google Scholar 

  14. G. Gottlob. A comparison of structural CSP decomposition methods. Artificial Intelligence, 124: 243–282, 2000.

    Article  MathSciNet  MATH  Google Scholar 

  15. M. Gyssens. On the complexity of join dependencies. ACM Transactions on Database Systems, 11(1): 81–108, 1986. Wanlin Pang and Scott D. Goodwin

    Article  MathSciNet  MATH  Google Scholar 

  16. M. Gyssens, P. Jeavons, and D. Cohen. Decomposing constraint satisfaction problems using database techniques. Artificial Intelligence, 66:57–89, 1994.

    Article  MathSciNet  MATH  Google Scholar 

  17. P. Jeavons. Tractable constraints on ordered domains. Artificial Intelligence, 79:327–339, 1995.

    Article  MathSciNet  MATH  Google Scholar 

  18. P. Jeavons, D. Cohen, and M. Gyssens. A test for tractability. In Lecture Notes in Computer Science, volume 1118, pages 267–281, Cambridge, MA, 1996. CP’96.

    Article  Google Scholar 

  19. P. Jegou. On some partial line graphs of a hypergraph and the associated matroid. Discrete Mathematics, 111:333–344, 1993.

    Article  MathSciNet  MATH  Google Scholar 

  20. P. Jegou. On the consistency of general constraint satisfaction problems. In Proceedings of AAAI-93, pages 114–119, 1993.

    Google Scholar 

  21. L. M. Kirousis. Fast parallel constraint satisfaction. Artificial Intelligence, 64:174–160, 1993.

    Article  MATH  Google Scholar 

  22. W. Pang. Constraint Structure in Constraint Satisfaction Problems. PhD thesis, University of Regina, Canada, 1998.

    Google Scholar 

  23. W. Pang and S.D. Goodwin. Constraint-directed backtracking. In The 10th Australian Joint Conference on AI, pages 47–56, Perth, Western Australia, December 1997.

    Google Scholar 

  24. W. Pang and S.D. Goodwin. A revised suffecient condition for backtrack-free search. In Proceedings of 10th Florida AI Research Symposium, pages 52–56, Daytona Beach, FL, May 1997.

    Google Scholar 

  25. W. Pang and S.D. Goodwin. Characterizing tractable CSPs. In The 12th Canadian Conference on AI, pages 259–272, Vancouver, BC, Canada, June 1998.

    Google Scholar 

  26. W. Pang and S.D. Goodwin. Consistency in general CSPs. In The 6th Pacific Rimn International Conference on AI, pages 469–479, Melbourne, Australia, August 2000.

    Google Scholar 

  27. W. Pang and S.D. Goodwin. Binary representation for general CSPs. In Proceedings of 14th Florida AI Research Symposium (FLAIRS-2001), KeyWest, FL, May 2001.

    Google Scholar 

  28. P. van Beek. On the minimality and decomposability of constraint networks. In Proceedings of AAAI-92, pages 447–452, 1992.

    Google Scholar 

  29. P. van Beek and R. Dechter. On the minimality and global consistency of rowconvex constraint networks. Journal of the ACM, 42:543–561, 1995.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pang, W., Goodwin, S.D. (2003). A Graph Based Backtracking Algorithm for Solving General CSPs. In: Xiang, Y., Chaib-draa, B. (eds) Advances in Artificial Intelligence. Canadian AI 2003. Lecture Notes in Computer Science, vol 2671. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44886-1_11

Download citation

  • DOI: https://doi.org/10.1007/3-540-44886-1_11

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40300-5

  • Online ISBN: 978-3-540-44886-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics