Abstract
In this paper, we address the encoding into CNF clauses of Boolean cardinality constraints that arise in many practical applications. The proposed encoding is efficient with respect to unit propagation, which is implemented in almost all complete CNF satisfiability solvers. We prove the practical efficiency of this encoding on some problems arising in discrete tomography that involve many cardinality constraints. This encoding is also used together with a trivial variable elimination in order to re-encode parity learning benchmarks so that a simple Davis and Putnam procedure can solve them.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Barcucci, E., Dellungo, A., Nivat, M., Pinzani, R.: Reconstructing convex polyominoes from horizontal and vertical projections. Theoret. Comput. Sci, pp. 321– 347 (1996)
Beldiceanu, N., Contjean, E.: Introducing global constraints in CHIP. Mathematical and Computer Modelling 12, 97–123 (1994)
Boufkhad, Y., Dubois, O., Nivat, M.: Reconstructing (h, v)-convex 2-dimensional patterns of objects from approximate horizontal and vertical projections. Theoret. Comput. Sci. 290(3), 1647–1664 (2003)
Chang, S.: The reconstruction of binary patterns from their projections. Comm. ACM, 21–25 (1971)
Cosytec, S.A.: CHIP C++ Library. Reference Manual, Version 5.4 (October 2001)
Crawford, J.: Instances of learning parity function, http://www.intellektik.informatik.tudarmstadt.de/SATLIB/Benchmarks/SAT/DIMACS/PARITY/descr.html
Davis, M., Logemann, G., Loveland, D.: A machine program for theorem proving. Communications of the ACM 5, 394–397 (1962)
Davis, M., Putnam, H.: A computing procedure for quantification theory. Journal of the ACM 7, 201–215 (1960)
Dellungo, A.: Polyominoes defined by two vectors. Theoret. Comput. Sci. 127, 187–198 (1994)
Gardner, R.G., Gritzmann, P., Prangenberg, D.: Ont the computational complexity of reconstructing lattice sets from their x-rays. Discrete Mathematics, 45–71 (1999)
Gent, P.: Arc consistency in sat. In: Proceedings of the Fifteenth European Conference on Artificial Intelligence, (ECAI 2002) (2002)
Johnson, D., Trick, M. (eds.): DIMACS Series in Discrete Mathematics and Theoretical Computer Science, vol. 26. American Mathematical Society, Providence (1996)
Kuba, A.: The reconstruction of two-directionaly connected binary patterns. Comput. Graph. Image Process 27, 249–265 (1984)
Li, C.: Integrating equivalency reasoning into davis-putnam procedure. In: AAAI: 17th National Conference on Artificial Intelligence. AAAI / MIT Press (2000)
Moskewicz, M., Madigan, C., Zhao, L., Zhang, L., Malik, S.: Chaff: Engineering an efficient sat solver. In: 39th Design Automation Conference (June 2001)
Régin, J.-C.: Generalized arc consistency for global cardinality constraint. In: AAAI 1996, pp. 209–215 (1996)
Ryser, H.: Combinatorial Mathematics. The Carus Mathematical Monographs (1963)
Selman, B., Kautz, H.A., Mcallester, D.A.: Ten challenges in propositional reasoning and search. In: Proceedings of the Fifteenth International Joint Conference on Artificial Intelligence (IJCAI 1997), pp. 50–54 (1997)
Wang, Y.: Characterization of binary patterns and their projections. IEEE Trans. Compt. C-24, 1032–1035 (1975)
Warners, J., van Maaren, H.: A two phase algorithm for solving a class of hard satisfiability problems. Op. Res. Lett. 23(3-5), 81–88 (1999)
Woeginger, G.: The reconstruction of polyominoes from their orthogonal projections, tech. rep., TU Graz (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
Bailleux, O., Boufkhad, Y. (2003). Efficient CNF Encoding of Boolean Cardinality Constraints. 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_8
Download citation
DOI: https://doi.org/10.1007/978-3-540-45193-8_8
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-20202-8
Online ISBN: 978-3-540-45193-8
eBook Packages: Springer Book Archive