Guiding Backtrack Search by Tracking Variables During Constraint Propagation

Authors Gilles Audemard , Christophe Lecoutre, Charles Prud'homme



PDF
Thumbnail PDF

File

LIPIcs.CP.2023.9.pdf
  • Filesize: 1.07 MB
  • 17 pages

Document Identifiers

Author Details

Gilles Audemard
  • CRIL, Univ. Artois & CNRS, France
Christophe Lecoutre
  • CRIL, Univ. Artois & CNRS, France
Charles Prud'homme
  • TASC, IMT-Atlantique, LS2N-CNRS, France

Cite AsGet BibTex

Gilles Audemard, Christophe Lecoutre, and Charles Prud'homme. Guiding Backtrack Search by Tracking Variables During Constraint Propagation. In 29th International Conference on Principles and Practice of Constraint Programming (CP 2023). Leibniz International Proceedings in Informatics (LIPIcs), Volume 280, pp. 9:1-9:17, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2023)
https://doi.org/10.4230/LIPIcs.CP.2023.9

Abstract

It is well-known that variable ordering heuristics play a central role in solving efficiently Constraint Satisfaction Problem (CSP) instances. From the early 80’s, and during more than two decades, the dynamic variable ordering heuristic selecting the variable with the smallest domain was clearly prevailing. Then, from the mid 2000’s, some adaptive heuristics have been introduced: their principle is to collect some useful information during the search process in order to take better informed decisions. Among those adaptive heuristics, wdeg/dom (and its variants) remains particularly robust. In this paper, we introduce an original heuristic based on the midway processing of failing executions of constraint propagation: this heuristic called pick/dom tracks the variables that are directly involved in the process of constraint propagation, when ending with a conflict. The robustness of this new heuristic is demonstrated from a large experimentation conducted with the constraint solver ACE. Interestingly enough, one can observe some complementary between the early, midway and late forms of processing of conflicts.

Subject Classification

ACM Subject Classification
  • Computing methodologies → Discrete space search
Keywords
  • Variable Ordering Heuristics
  • Variable Weighting

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. K.R. Apt. Principles of Constraint Programming. Cambridge University Press, 2003. Google Scholar
  2. G. Audemard, C. Lecoutre, and E. Lonca. Proceedings of the 2022 XCSP3 competition. CoRR, abs/2209.00917, 2022. URL: https://doi.org/10.48550/arXiv.2209.00917.
  3. F. Boussemart, F. Hemery, C. Lecoutre, and L. Sais. Boosting systematic search by weighting constraints. In Proceedings of ECAI'04, pages 146-150, 2004. Google Scholar
  4. F. Boussemart, C. Lecoutre, G. Audemard, and C. Piette. XCSP3: an integrated format for benchmarking combinatorial constrained problems. CoRR, abs/1611.03398, 2016. URL: http://arxiv.org/abs/1611.03398, URL: https://arxiv.org/abs/1611.03398.
  5. R. Dechter. Constraint processing. Morgan Kaufmann, 2003. Google Scholar
  6. R. Dechter and J. Pearl. Network-based heuristics for constraint satisfaction problems. Artificial Intelligence, 34(1):1-38, 1988. Google Scholar
  7. E. Demirovic, G. Chu, and P. Stuckey. Solution-based phase saving for CP: A value-selection heuristic to simulate local search behavior in complete solvers. In Proceedings of CP'18, pages 99-108, 2018. Google Scholar
  8. J.-G. Fages and C. Prud'homme. Making the first solution good! In Proceedings of ICTAI'17, pages 1073-1077, 2017. Google Scholar
  9. S. Gagnon and G. Pesant. Accelerating counting-based search. In Proceedings of CPAIOR'18, pages 245-253, 2018. Google Scholar
  10. P.A. Geelen. Dual viewpoint heuristics for binary constraint satisfaction problems. In Proceedings of ECAI'92, pages 31-35, 1992. Google Scholar
  11. C. Gomes, B. Selman, N. Crato, and H. Kautz. Heavy-tailed phenomena in satisfiability and constraint satisfaction problems. Journal of Automated Reasoning, 24:67-100, 2000. Google Scholar
  12. D. Habet and C. Terrioux. Conflict history based heuristic for constraint satisfaction problem solving. Journal of Heuristics, 27(6):951-990, 2021. Google Scholar
  13. R.M. Haralick and G.L. Elliott. Increasing tree search efficiency for constraint satisfaction problems. Artificial Intelligence, 14:263-313, 1980. Google Scholar
  14. C. Lecoutre. Constraint networks: techniques and algorithms. ISTE/Wiley, 2009. Google Scholar
  15. C. Lecoutre. ACE, a generic constraint solver. CoRR, abs/2302.05405, 2023. URL: https://doi.org/10.48550/arXiv.2302.05405.
  16. C. Lecoutre and O. Roussel. Proceedings of the 2018 XCSP3 competition. CoRR, abs/1901.01830, 2019. URL: https://arxiv.org/abs/1901.01830.
  17. C. Lecoutre, L. Sais, S. Tabary, and V. Vidal. Recording and minimizing nogoods from restarts. Journal on Satisfiability, Boolean Modeling and Computation (JSAT), 1:147-167, 2007. Google Scholar
  18. C. Lecoutre, L. Sais, S. Tabary, and V. Vidal. Reasonning from last conflict(s) in constraint programming. Artificial Intelligence, 173(18):1592-1614, 2009. Google Scholar
  19. C. Lecoutre and N. Szczepanski. PyCSP3: modeling combinatorial constrained problems in Python. CoRR, abs/2009.00326, 2020. URL: https://arxiv.org/abs/2009.00326.
  20. H. Li, M. Yin, and Z. Li. Failure based variable ordering heuristics for solving CSPs. In Proceedings of CP'21, 2021. Google Scholar
  21. J.J. McGregor. Relational consistency algorithms and their application in finding subgraph and graph isomorphisms. Information Sciences, 19:229-250, 1979. Google Scholar
  22. L. Michel and P. Van Hentenryck. Activity-based search for black-box constraint programming solvers. In Proceedings of CPAIOR'12, pages 228-243, 2012. Google Scholar
  23. G. Pesant. From support propagation to belief propagation in constraint programming. Journal of Artificial Intelligence Research, 66:123-150, 2019. Google Scholar
  24. G. Pesant, C.-G. Quimper, and A. Zanarini. Counting-based search: Branching heuristics for constraint satisfaction problems. Journal of Artificial Intelligence Research, 43:173-210, 2012. Google Scholar
  25. P. Refalo. Impact-based search strategies for constraint programming. In Proceedings of CP'04, pages 557-571, 2004. Google Scholar
  26. F. Rossi, P. van Beek, and T. Walsh, editors. Handbook of Constraint Programming. Elsevier, 2006. Google Scholar
  27. J. Vion and S. Piechowiak. Une simple heuristique pour rapprocher DFS et LNS pour les COP. In Proceedings of JFPC'17, pages 39-45, 2017. Google Scholar
  28. H. Wattez, C. Lecoutre, A. Paparrizou, and S. Tabary. Refining constraint weighting. In Proceedings of ICTAI'19, pages 71-77, 2019. Google Scholar
  29. N.-F. Zhou. An XCSP3 Solver in Picat. In XCSP3 Competition 2022 Proceedings, 2022. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail