Metraipolis › archive › dc_a34e3c25b0b9
Translating finite-domain integer constraint models to CP/SMT/ILP/PB/SAT solvers with CPMpy — arXiv:2608.15143
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.15143
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T17:13:05.308Z
- SHA-256 of the archived text
0473059b79d31657c49c1b83bab252b56dac9f97d3ae527c59b4a70e7f7834ac- Stable URL of this page
https://metraipolis.com/documento/dc_a34e3c25b0b9
How to cite
Translating finite-domain integer constraint models to CP/SMT/ILP/PB/SAT solvers with CPMpy — arXiv:2608.15143 — arXiv (en), https://arxiv.org/abs/2608.15143 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a34e3c25b0b9 (Metraipolis archive dc_a34e3c25b0b9, sha256 0473059b79d31657c49c1b83bab252b56dac9f97d3ae527c59b4a70e7f7834ac)
BibTeX
@misc{dca34e3c25b0b9,
title = {Translating finite-domain integer constraint models to CP/SMT/ILP/PB/SAT solvers with CPMpy — arXiv:2608.15143},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.15143},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a34e3c25b0b9; sha256 0473059b79d31657c49c1b83bab252b56dac9f97d3ae527c59b4a70e7f7834ac},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.15143. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Constraint solving is a declarative approach for solving combinatorial satisfaction and optimization problems. The user specifies their problem through constraints and decision variables, and a generic solver is used to find a solution. Several constraint-solving technologies exist, and certain solvers perform well on certain problems. Therefore, it is useful to try different solvers given a particular application. However, each solving paradigm supports different types of constraints and decision variables. Our goal is to translate high-level constraint satisfaction and optimization problems into any lower-level formalism, including CP, SMT QF-LIA, ILP, PB and (Max)SAT. This allows for comparing different solving technologies for a particular problem, without requiring a user to manually remodel it for each solving paradigm. We define a high-level language of logical and arithmetic operations, and useful additional functions and constraints, which are known as global constraints in the CP community. We then present a modular framework for transforming our high-level modeling language to CP/SMT/ILP/PB and (Max)SAT solvers. While many transformations are partly described in the literature, we observe that they can be implemented through a modular waterfall of smaller components, where lower-level paradigms reuse the transformations of higher-level paradigms. Two recurring challenges are handling the negation of arbitrary subexpressions and avoiding the introduction of auxiliary variables. Additionally, we take special care linearizing non-linear operators for ILP, PB and SAT-solvers. The transformation waterfall is implemented and evaluated in the open-source CPMpy library. Our results show that constraint models significantly change throughout the transformations, and that optimizations to the linearization of constraints are essential for ILP and PB solvers. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-18 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.15143 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T16:29:13.775Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).