Skip to main content

ML-Based Automation of Constraint Satisfaction Model Transformation and Solver Configuration

  • Conference paper
  • First Online:
Distributed Computing and Artificial Intelligence, Special Sessions, 19th International Conference (DCAI 2022)

Abstract

Constraint Programming is a powerful paradigm for tackling many real life challenges in the space of NP-hard combinatorial problems. While many consumer grade implementations of constraint solvers are available, the processes of correctly modelling a problem, as well as choosing and configuring a suitable solver remain an art usually reserved for experts. In this paper we outline a PhD research project aimed to reduce expert knowledge in and improve performance by Constraint Satisfaction/Optimization Problem Transformation and Constraint Solver Configuration. The paper describes the problems, poses research questions, proposes experiments, summarizes the related work and presents the current experimental progress.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 179.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. CSPLib: A Problem Library for Constraints. http://www.csplib.org (1999)

  2. Cheeseman, P.C., Kanefsky, B., Taylor, W.M.: Where the really hard problems are. In: Mylopoulos, J., Reiter, R. (eds.) Proceedings of the 12th International Joint Conference on Artificial Intelligence, Sydney, Australia, 24–30 Aug 1991, pp. 331–340. Morgan Kaufmann (1991)

    Google Scholar 

  3. Dechter, R.: Constraint Processing. Elsevier Morgan Kaufmann (2003)

    Google Scholar 

  4. Gent, I.P., Jefferson, C., Kotthoff, L., Miguel, I., Moore, N.C.A., Nightingale, P., Petrie, K.E.: Learning when to use lazy learning in constraint solving. In: Coelho, H., Studer, R., Wooldridge, M.J. (eds.) ECAI 2010–19th European Conference on Artificial Intelligence, Lisbon, Portugal, 16–20 Aug 2010, Proceedings. Frontiers in Artificial Intelligence and Applications, vol. 215, pp. 873–878. IOS Press (2010)

    Google Scholar 

  5. Gent, I.P., Kotthoff, L., Miguel, I., Nightingale, P.: Machine Learning for Constraint Solver Design—A Case Study for the All Different Constraint. CoRR abs/1008.4326 (2010). http://arxiv.org/abs/1008.4326

  6. Hutter, F., Xu, L., Hoos, H.H., Leyton-Brown, K.: Algorithm runtime prediction: methods & evaluation. Artif. Intell. 206, 79–111 (2014). https://doi.org/10.1016/j.artint.2013.10.003

    Article  MathSciNet  Google Scholar 

  7. Hutter, F., Xu, L., Hoos, H.H., Leyton-Brown, K.: Algorithm runtime prediction: methods and evaluation (extended abstract). In: Yang, Q., Wooldridge, M.J. (eds.) Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI 2015, Buenos Aires, Argentina, 25–31 July 2015, pp. 4197–4201. AAAI Press (2015). http://ijcai.org/Abstract/15/595

  8. Liu, K.: Parallel Constraint Solving for Combinatorial Problems. Ph.D. thesis, Brandenburg University of Technology, Cottbus, Germany (2021). https://opus4.kobv.de/opus4-btu/frontdoor/index/index/docId/5437

  9. Marte, M.: Minizinc-Challenge-Results. https://github.com/informarte/minizinc-challenge-results (2020)

  10. Nethercote, N., Stuckey, P.J., Becket, R., Brand, S., Duck, G.J., Tack, G.: Minizinc: towards a standard CP modelling language. In: Bessiere, C. (ed.) Principles and Practice of Constraint Programming - CP 2007, 13th International Conference, CP 2007, Providence, RI, USA, 23–27 Sept 2007, Proceedings. Lecture Notes in Computer Science, vol. 4741, pp. 529–543. Springer, Heidelberg (2007)

    Google Scholar 

  11. Nudelman, E., Leyton-Brown, K., Hoos, H.H., Devkar, A., Shoham, Y.: Understanding random SAT: beyond the clauses-to-variables ratio. In: Wallace, M. (ed.) Principles and Practice of Constraint Programming - CP 2004, 10th International Conference, CP 2004, Toronto, Canada, September 27–October 1, 2004, Proceedings. Lecture Notes in Computer Science, vol. 3258, pp. 438–452. Springer, Heidelberg (2004)

    Google Scholar 

  12. Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., Duchesnay, E.: Scikit-learn: machine learning in python. J. Mach. Learn. Res. 12, 2825–2830 (2011)

    MathSciNet  Google Scholar 

  13. Stuckey, P.J., Becket, R., Fischer, J.: Philosophy of the MiniZinc challenge. Constraints Int. J. 15(3), 307–316 (2010)

    Article  Google Scholar 

  14. Würfel, H.: FlatZincParser.jl. https://github.com/hexaeder/FlatZincParser.jl (2021)

Download references

Acknowledgements

We would like to thank the organizers of the MiniZinc Challenge both for organizing it, as well as providing all submitted problems and results open access. We would also like to thank Hans Würfel, Michael Marte as well as the scikit-learn contributors for the tools they provide that made this research so far possible [9, 13, 14].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ilja Becker .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Becker, I., Löffler, S., Hofstedt, P. (2023). ML-Based Automation of Constraint Satisfaction Model Transformation and Solver Configuration. In: Machado, J.M., et al. Distributed Computing and Artificial Intelligence, Special Sessions, 19th International Conference. DCAI 2022. Lecture Notes in Networks and Systems, vol 585. Springer, Cham. https://doi.org/10.1007/978-3-031-23210-7_19

Download citation

Publish with us

Policies and ethics