TY - GEN
T1 - Search by constraint propagation
AU - Martinez, Thierry
AU - Fages, François
AU - Soliman, Sylvain
N1 - Publisher Copyright:
© Copyright 2015 ACM.
PY - 2015/7/14
Y1 - 2015/7/14
N2 - Constraint programming is traditionally presented as the combination of two components: a constraint model and a search procedure. In this paper we show that tree search procedures can be fully internalized in the constraint model with a fixed enumeration strategy. This approach has several advantages: 1) it makes search strategies declarative, and modeled as constraint satisfaction problems; 2) it makes it possible to express search strategies in existing front-end modeling languages supporting reified constraints without any extension; 3) it opens up constraint propagation algorithms to search constraints and to the implementation of novel search procedures based on constraint propagation. We illustrate this approach with a Horn clause extension of the MiniZinc modeling language and the modeling in this language of a variety of search procedures, including dynamic symmetry breaking procedures and limited discrepancy search, as constraint satisfaction problems. We show that this generality does not come with a significant overhead, and can in fact exhibit exponential speedups over procedural implementations, thanks to the propagation of the search constraints.
AB - Constraint programming is traditionally presented as the combination of two components: a constraint model and a search procedure. In this paper we show that tree search procedures can be fully internalized in the constraint model with a fixed enumeration strategy. This approach has several advantages: 1) it makes search strategies declarative, and modeled as constraint satisfaction problems; 2) it makes it possible to express search strategies in existing front-end modeling languages supporting reified constraints without any extension; 3) it opens up constraint propagation algorithms to search constraints and to the implementation of novel search procedures based on constraint propagation. We illustrate this approach with a Horn clause extension of the MiniZinc modeling language and the modeling in this language of a variety of search procedures, including dynamic symmetry breaking procedures and limited discrepancy search, as constraint satisfaction problems. We show that this generality does not come with a significant overhead, and can in fact exhibit exponential speedups over procedural implementations, thanks to the propagation of the search constraints.
KW - Constraint programming
KW - Horn clauses
KW - Modeling languages
KW - Search
UR - https://www.scopus.com/pages/publications/84959921477
U2 - 10.1145/2790449.2790527
DO - 10.1145/2790449.2790527
M3 - Conference contribution
AN - SCOPUS:84959921477
T3 - Proceedings of the 17th International Symposium on Principles and Practice of Declarative Programming, PPDP 2015
SP - 173
EP - 183
BT - Proceedings of the 17th International Symposium on Principles and Practice of Declarative Programming, PPDP 2015
PB - Association for Computing Machinery, Inc
T2 - 17th International Symposium on Principles and Practice of Declarative Programming, PPDP 2015
Y2 - 14 July 2015 through 16 July 2015
ER -