Abstract
We show an algorithm for bound consistency of global cardinality constraints, which runs in time \(O(n+n')\phantom{}\) plus the time required to sort the assignment variables by range endpoints, where n is the number of assignment variables and n′ is the number of values in the union of their ranges. We thus offer a fast alternative to Régin’s arc consistency algorithm [6] which runs in time \(O(n^{3/2}n')\phantom{}\) and space \(O(n \cdot{} n')\phantom{}\). Our algorithm can also narrow the bounds for the number of occurrences of each value, which has not been done before.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Aho, A., Hopcroft, J., Ullman, J.: The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading (1974)
Gabow, H.N., Tarjan, R.E.: A Linear-Time Algorithm for a Special Case of Disjoint Set Union. Journal of Computer and System Sciences 30(2), 209–221 (1985)
Ford Jr., L.R., Fulkerson, D.R.: Flows in Networks. Princeton University Press, Princeton (1962)
Katriel, I., Thiel, S.: Fast bound consistency for the global cardinality constraint. Research Report MPI-I-2003-1-013, Max-Planck-Institut für Informatik, Saarbrücken, Germany (2003)
Mehlhorn, K., Thiel, S.: Faster Algorithms for Bound-Consistency of the Sortedness and the Alldifferent Constraint. In: Dechter, R. (ed.) CP 2000. LNCS, vol. 1894, pp. 306–319. Springer, Heidelberg (2000)
Régin, J.-C.: Generalized Arc-Consistency for Global Cardinality Constraint. In: Proceedings of the 13th National Conference on Artificial Intelligence (AAAI 1996), pp. 209–215 (1996)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Katriel, I., Thiel, S. (2003). Fast Bound Consistency for the Global Cardinality Constraint. In: Rossi, F. (eds) Principles and Practice of Constraint Programming – CP 2003. CP 2003. Lecture Notes in Computer Science, vol 2833. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45193-8_30
Download citation
DOI: https://doi.org/10.1007/978-3-540-45193-8_30
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-20202-8
Online ISBN: 978-3-540-45193-8
eBook Packages: Springer Book Archive