Proceedings

Making AC-3 an Optimal Algorithm

Download BibTeX Cite

Proceedings of the Seventeenth International Joint Conference on Artificial Intelligence. Pages 316-320.

© 2001 International Joint Conferences on Artificial Intelligence

Abstract

The AC-3 algorithm is a basic and widely used arc consistency enforcing algorithm in Constraint Satisfaction Problems (CSP). Its strength lies in that it is simple, empirically efficient and extensible. However its worst case time complexity was not considered optimal since the first complexity result for AC-3 [Mackworth and Freuder, 1985] with the bound O(ed3), where e is the number of constraints and d the size of the largest domain. In this paper, we show suprisingly that AC-3 achieves the optimal worst case time complexity with O(ed2). The result is applied to obtain a path consistency algorithm which has the same time and space complexity as the best known theoretical results. Our experimental results show that the new approach to AC-3 is comparable to the traditional AC-3 implementation for simpler problems where AC-3 is more efficient than other algorithms and significantly faster on hard instances.

  1. [Bessiere, 1994] C. Bessiere 1994. Arc-consistency and arc- consistency again, Art. Int.65 (1994) 179-190.
  2. [Bessiere et al., 1999] C. Bessiere, E. C. Freuder and J. Re- gin 1999. Using constraint metaknowledge to reduce arc consistency computation, Art. Int.107 (1999) 125-148.
  3. [Bessiere and Regin, 1996] C. Bessiere and J. Regin 1996. MAC and combined heuristics: two reasons to forsake FC(and CBJ?) on hard problems, Proc. of Principles and Practice of Constraint Programming, Cambridge, MA. pp. 61-75.
  4. [Cabon et al., 1999] B. Cabon, S. de Givry, L. Lobjois, T. Schiex and J.P. Warners 1999. Radio link frequency as- signment, Constraints 4(1) (1999) 79-89.
  5. [Chmeiss and Jegou, 1996] A. Chmeiss and P. Jegou 1996. Path-Consistency: When Space Misses Time, Proc. of AAAI-96, USA: AAAI press.
  6. [Frost et al., 1996] D. Frost, C. Bessiere, R. Dechter and J. C. Regin 1996. Random uniform CSP generators, http://www.lirmm.fr/∼bessiere/generator.html. Link
  7. [Gaschnig, 1978] J. Gaschnig 1978. Experimental case stud- ies of backtrack vs. Waltz-type vs. new algorithms for satisfying assignment problems, Proc. of CCSCSI-78, 1978.
  8. [Gent et al., 1997] J. P. Gent, E. Maclntyre, P. Prosser, P. Shar and T. Walsh 1997. The constrainedness of arc consistency, Proc. of Principles and Practice of Con- straint Programming 1997 Cambridge, MA, 1996, pp. 327-340.
  9. [Van Hentenryck et al., 1992] P. van Hentenryck, Y. Deville, and C. M. Teng 1992. A Generic Arc-Consistency Al- gorithm and its Specializations, Art. Int.58 (1992) 291- 321.
  10. [Mackworth, 1977] A. K. Mackworth 1977. Consistency in Networks of Relations,, Art. Int.8(1) (1977) 118-126.
  11. [Mackworth and Freuder, 1985] A. K. Mackworth and E. C. Freuder 1985. The complexity of some polynomial net- work consistency algorithms for constraint satisfaction problems,, Art. Int.25 (1985) 65-74.
  12. [Mohr and Henderson, 1986] R. Mohr and T. C. Henderson 1986. Arc and Path Consistency Revisited, Art. Int.28 (1986) 225-233.
  13. [Montanari, 1974] U. Montanari 1974. Networks of Con- straints: Fundamental Properties and Applications, In- formation Science 7(2) (1974) 95-132.
  14. [Singh, 1996] M. Singh 1996. Path consistency revisited, Int. Journal on Art. Intelligence Tools 5(1&2) (1996) 127-141.
  15. [Wallace, 1993] Richard J. Wallace 1993. Why AC-3 is al- most always better than AC-4 for establishing arc con- sistency in CSPs , Proc. of IJCAI-93 Chambery, France, 1993.
  16. [Wallace, 1992] R. J. Wallace and E. Freud 1992. Order- ing heuristics for arc consistency algorithms , Proc, of Canadian Conference on AI Vancouver, BC, 1992, pp. 163-169.
  17. [Zhang and Yap, 2000] Y. Zhang, R. H. C. Yap 2000. Arc consistency on n-ary monotonic and linear constraints, Proc. of Principles and Practice of Constraint Program- ming Singapore, 2000, pp. 470-483 .

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards