Proceedings

Learning When to Use Automatic Tabulation in Constraint Model Reformulation

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 1902-1910.

https://doi.org/10.24963/ijcai.2023/211

Abstract

Combinatorial optimisation has numerous practical applications, such as planning, logistics, or circuit design. Problems such as these can be solved by approaches such as Boolean Satisfiability (SAT) or Constraint Programming (CP). Solver performance is affected significantly by the model chosen to represent a given problem, which has led to the study of model reformulation. One such method is tabulation: rewriting the expression of some of the model constraints in terms of a single “table” constraint. Successfully applying this process means identifying expressions amenable to trans- formation, which has typically been done manually. Recent work introduced an automatic tabulation using a set of hand-designed heuristics to identify constraints to tabulate. However, the performance of these heuristics varies across problem classes and solvers. Recent work has shown learning techniques to be increasingly useful in the context of automatic model reformulation. The goal of this study is to understand whether it is possible to improve the performance of such heuristics, by learning a model to predict whether or not to activate them for a given instance. Experimental results suggest that a random forest classifier is the most robust choice, improving the performance of four different SAT and CP solvers.

  1. [Akgün et al., 2018] Özgür Akgün, Ian P. Gent, Christopher Jefferson, Ian Miguel, Peter Nightingale, and András Z. Salamon. Automatic discovery and exploitation of promis- ing subproblems for tabulation. In Proceedings of the 24th International Conference on Principles and Practice of Constraint Programming, (CP), volume 11008 of Lecture Notes in Computer Science, pages 3-12. Springer, Cham, 2018.
  2. [Akgün et al., 2022] Özgür Akgün, Ian P. Gent, Christopher Jefferson, Zeynep Kiziltan, Ian Miguel, P. Nightingale, András Z. Salamon, and Felix Ulrich-Oltean. Automatic tabulation in constraint models. ArXiv, abs/2202.13250, 2022.
  3. [Amadini et al., 2014] Roberto Amadini, Maurizio Gab- brielli, and Jacopo Mauro. An enhanced features extrac- tor for a portfolio of constraint solvers. In Proceedings of the 29th Annual ACM Symposium on Applied Comput- ing, SAC '14, page 1357-1359. Association for Comput- ing Machinery, 2014.
  4. [Bacchus, 2007] Fahiem Bacchus. Gac via unit propagation. In International conference on principles and practice of constraint programming, pages 133-147. Springer, 2007.
  5. [Biere et al., 2009] Armin Biere, Marijn J. H. Heule, Hans van Maaren, and Toby Walsh. Handbook of satisfiability, volume 185 of Frontiers in Artificial Intelligence and Ap- plications. IOS Press, first edition, 2009.
  6. [Biere et al., 2020] Armin Biere, Katalin Fazekas, Mathias Fleury, and Maximillian Heisinger. Cadical, kissat, para- cooba entering the sat competition 2021. In Proceedings of SAT Competition 2020: Solver and Benchmark Descrip- tions, volume B-2020-1 of Department of Computer Sci- ence Report Series B, pages 51-53. University of Helsinki, 2020.
  7. [Breiman, 2001] Leo Breiman. Random forests. Machine Learning, 45(1):5-32, 2001.
  8. [Cocke, 1970] John Cocke. Global common subexpression elimination. The Association for Computing Machin- ery Special Interest Group on Programming Languages, 5(7):20-24, 1970.
  9. [Dekker et al., 2017] Jip J. Dekker, Gustav Björdal, Mats Carlsson, Pierre Flener, and Jean-Noël Monette. Auto- tabling for subproblem presolving in minizinc. Con- straints, 22(4):512-529, 2017.
  10. [Demeulenaere et al., 2016] Jordan Demeulenaere, Renaud Hartert, Christophe Lecoutre, Guillaume Perez, Laurent Perron, Jean-Charles Régin, and Pierre Schaus. Compact- table: Efficiently filtering table constraints with reversible sparse bit-sets. In Michel Rueher, editor, Principles and Practice of Constraint Programming, pages 207-223. Springer International Publishing, 2016.
  11. [Espasa et al., 2022] Joan Espasa, Ian Miguel, and Mateu Villaret. Plotting: A planning problem with complex tran- sitions. In International Conference on Principles and Practice of Constraint Programming, (CP), volume 235 of Leibniz International Proceedings in Informatics (LIPIcs), pages 22:1-22:17. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2022.
  12. [Gargani and Refalo, 2007] Antoine Gargani and Philippe Refalo. An efficient model and strategy for the steel mill slab design problem. In International Conference on Prin- ciples and Practice of Constraint Programming, 2007.
  13. [Gent et al., 2006] Ian P. Gent, Chris Jefferson, and Ian Miguel. Minion: A fast, scalable, constraint solver. In Proceedings of the 2006 Conference on Artificial Intelli- gence, page 98-102. IOS Press, 2006.
  14. [Gent et al., 2007] Ian P. Gent, Christopher Jefferson, Tom Kelsey, Inês Lynce, Ian Miguel, Peter Nightingale, Bar- bara M. Smith, and S. Armagan Tarim. Search in the patience game 'black hole'. AI Commununications, 20(3):211-226, 2007.
  15. [Gent et al., 2010] Ian P. Gent, Christopher Jefferson, Lars Kotthoff, Ian Miguel, Neil C. A. Moore, Peter Nightingale, and Karen E. Petrie. Learning when to use lazy learning in constraint solving. In European Conference on Artificial Intelligence, (ECAI), volume 215 of Frontiers in Artificial Intelligence and Applications, pages 873-878, 2010.
  16. [Hurley et al., 2014] Barry Hurley, Lars Kotthoff, Yuri Mal- itsky, and Barry O'Sullivan. Proteus: A Hierarchical Port- folio of Solvers and Transformations. In Helmut Simonis, editor, Integration of AI and OR Techniques in Constraint Programming, Lecture Notes in Computer Science, pages 301-317. Springer International Publishing, 2014.
  17. [IBM Knowledge Center, 2022] IBM Knowledge Center. The strong constraint, 2022.
  18. [Le Provost and Wallace, 1992] Thierry Le Provost and Mark Wallace. Domain independent propagation. In Proceedings of FGCS: International Conference on Fifth Generation Computer Systems, pages 1004-1011. IOS Press, 1992.
  19. [Lindauer et al., 2015] Marius Lindauer, Holger H. Hoos, Frank Hutter, and Torsten Schaub. AutoFolio: An Au- tomatically Configured Algorithm Selector. Journal of Ar- tificial Intelligence Research, 53:745-778, 2015.
  20. [Lloyd and Shepherdson, 1991] John W. Lloyd and John C. Shepherdson. Partial evaluation in logic programming. The Journal of Logic Programming, 11(3-4):217-242, 1991.
  21. [Nethercote et al., 2007] Nicholas Nethercote, Peter James Stuckey, Ralph Becket, Sebastian Brand, Gregory J. Duck, and Guido Tack. Minizinc: Towards a standard cp mod- elling language. In International Conference on Principles and Practice of Constraint Programming, (CP), volume 4741 of Lecture Notes in Computer Science, pages 529- 543. Springer, Berlin, Heidelberg, 2007.
  22. [Nightingale et al., 2017] Peter Nightingale, Özgür Akgün, Ian P. Gent, Christopher Jefferson, Ian Miguel, and Patrick Spracklen. Automatically improving constraint models in savile row. Artificial Intelligence, 251:35-61, 2017.
  23. [Nightingale, 2022] Peter Nightingale. Savile Row Manual. ArXiv, abs/2201.03472, 2022.
  24. [Rodriguez et al., 2013] María Andreína Francísco Ro- driguez, Pierre Flener, and Justin Pearson. Generation of implied constraints for automaton-induced decompo- sitions. In Proceedings of the 2013 IEEE International Conference on Tools with Artificial Intelligence, ICTAI '13, page 1076-1083. IEEE Computer Society, 2013.
  25. [Rossi et al., 2006] Francesca Rossi, P. V. Beek, and Toby Walsh. Handbook of Constraint Programming. Founda- tions of Artificial Intelligence. Elsevier Science Inc., first edition, 2006.
  26. [Stojadinović and Marić, 2014] Mirko Stojadinović and Filip Marić. meSAT: Multiple encodings of CSP to SAT. Constraints, 19(4):380-403, 2014.
  27. [Ulrich-Oltean et al., 2022] Felix Ulrich-Oltean, Peter Nightingale, and James Alfred Walker. Selecting sat en- codings for pseudo-boolean and linear integer constraints. In International Conference on Principles and Practice of Constraint Programming, (CP), volume 235 of Leibniz International Proceedings in Informatics (LIPIcs), pages 38:1-38:17. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards