Proceedings

The Extended Global Cardinality Constraint: An Empirical Survey: Extended Abstract

Download BibTeX Cite

Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence. Pages 3171-3173.

© 2013 International Joint Conferences on Artificial Intelligence

Abstract

The Extended Global Cardinality Constraint (EGCC) is an important component of constraint solving systems, since it is very widely used to model diverse problems. The literature contains many different versions of this constraint, which trade strength of inference against computational cost. In this paper, I focus on the highest strength of inference usually considered, enforcing generalized arc consistency (GAC) on the target variables. This work is an extensive empirical survey of algorithms and optimizations, considering both GAC on the target variables, and tightening the bounds of the cardinality variables. I evaluate a number of key techniques from the literature, and report important implementation details of those techniques, which have often not been described in published papers. Two new optimizations are proposed for EGCC. One of the novel optimizations (dynamic partitioning, generalized from AllDifferent) was found to speed up search by 5.6 times in the best case and 1.56 times on average, while exploring the same search tree. The empirical work represents by far the most extensive set of experiments on variants of algorithms for EGCC. Overall, the best combination of optimizations gives a mean speedup of 4.11 times compared to the same implementation without the optimizations. This paper is an extended abstract of the publication in Artificial Intelligence [Nightingale, 2011].

  1. [Berge, 1973] Claude Berge. Graphs and Hypergraphs. North-Holland Publishing Company, 1973.
  2. [Cormen et al., 1990] Thomas H. Cormen, Charles E. Leis- erson, and Ronald L. Rivest. Introduction to Algorithms. MIT Press, 1990.
  3. [Gent et al., 2007] Ian P. Gent, Ian Miguel, and Andrea Rendl. Tailoring solver-independent constraint models: A case study with Essence and Minion. In Proceedings of SARA 2007, pages 184-199, 2007.
  4. [Gent et al., 2008] Ian P. Gent, Ian Miguel, and Peter Nightingale. Generalised arc consistency for the alldiffer- ent constraint: An empirical survey. Artificial Intelligence, 172(18):1973-2000, 2008.
  5. [Huczynska et al., 2009] Sophie Huczynska, Paul McKay, Ian Miguel, and Peter Nightingale. Modelling equidis- tant frequency permutation arrays: An application of con- straints to mathematics. In Proceedings CP 2009, pages 50-64, 2009.
  6. [Katriel and Thiel, 2005] Irit Katriel and Sven Thiel. Com- plete bound consistency for the global cardinality con- straint. Constraints, 10(3):191-217, 2005.
  7. [Katriel, 2006] Irit Katriel. Expected-case analysis for de- layed filtering. In J. Christopher Beck and Barbara M. Smith, editors, CPAIOR, volume 3990 of Lecture Notes in Computer Science, pages 119-125. Springer, 2006.
  8. [Nightingale, 2011] Peter Nightingale. The extended global cardinality constraint: An empirical survey. Artificial In- telligence, 175(2):586-614, 2011.
  9. [Quimper et al., 2003] Claude-Guy Quimper, Peter van Beek, Alejandro López-Ortiz, Alexander Golynski, and Sayyed Bashir Sadjad. An efficient bounds consistency al- gorithm for the global cardinality constraint. In Proceed- ings 9th Principles and Practice of Constraint Program- ming (CP 2003), pages 600-614, 2003.
  10. [Quimper et al., 2004] Claude-Guy Quimper, Alejandro López-Ortiz, Peter van Beek, and Alexander Golynski. Improved algorithms for the global cardinality constraint. In Proceedings 10th Principles and Practice of Constraint Programming (CP 2004), pages 542-556, 2004.
  11. [Régin and Puget, 1997] Jean-Charles Régin and Jean- Franc ¸ois Puget. A filtering algorithm for global sequencing constraints. In Proceedings 3rd Constraint Programming (CP 97), pages 32-46, 1997.
  12. [Régin, 1994] Jean-Charles Régin. A filtering algorithm for constraints of difference in CSPs. In Proceedings 12th National Conference on Artificial Intelligence (AAAI 94), pages 362-367, 1994.
  13. [Régin, 1996] Jean-Charles Régin. Generalized arc consis- tency for global cardinality constraint. In Proceedings 13th National Conference on Artificial Intelligence (AAAI 96), pages 209-215, 1996.
  14. [Simonis, 2009] Helmut Simonis. A hybrid constraint model for the routing and wavelength assignment problem. In Proceedings of CP-2009, pages 104-118, 2009.
  15. [Tarjan, 1972] Robert Endre Tarjan. Depth-first search and linear graph algorithms. SIAM Journal on Computing, 1(2):146-160, 1972.
  16. [Wallace, 1996] Mark Wallace. Practical applications of constraint programming. Constraints, 1(1/2):139-168, 1996.

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

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