Proceedings

Learning to Solve and Optimize by Evolving Code

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 4054-4062.

https://doi.org/10.24963/ijcai.2026/451

Abstract

Combinatorial and optimization problems are fundamental to many industrial AI applications. Solving large-scale real-world instances of such problems typically requires careful problem formalization, specialized solvers, and expert-designed heuristics.

Thus, experts need to specify not only *what* solutions are, but also *how* they are derived.

By introducing the tool CheckMate, we show that algorithm generation via code evolution represents a paradigm shift by eliminating the need to formulate the *how*. CheckMate solely relies on the *what*. Specifically, a formal specification ensures solutions' correctness and enables systematic performance evaluation of the generated programs, while a natural language description guides the evolutionary process.

The effectiveness of our method is demonstrated on selected problems from two industrial domains: configuration and scheduling. In all cases, the evolved algorithms consistently outperform state-of-the-art solvers. This underscores the potential of formal methods in guiding code evolution for automatically solving complex real-world problems.

  1. [Assumpc ¸ão et al., 2025] Henrique S. Assumpc ¸ão, Diego Ferreira, Leandro Lacerda Campos, and Fabricio Mu- rai. Codeevolve: An open source evolutionary coding agent for algorithm discovery and optimization. CoRR, abs/2510.14150, 2025.
  2. [Bengio et al., 2021] Yoshua Bengio, Andrea Lodi, and An- toine Prouvost. Machine learning for combinatorial op- timization: a methodological tour d'horizon. EJOR, 290(2):405-421, 2021.
  3. [Cappart et al., 2025] Quentin Cappart, Tias Guns, Michele Lombardi, Gilles Pesant, and Dimos Tsouros. Combin- ing constraint programming and machine learning: From current progress to future opportunities. JAIR, 84, 2025.
  4. [Comploi-Taupe et al., 2023] Richard Comploi-Taupe, Ger- hard Friedrich, Konstantin Schekotihin, and Antonius Weinzierl. Domain-specific heuristics in answer set pro- gramming: A declarative non-monotonic approach. JAIR, 76:59-114, 2023.
  5. [Da Col and Teppan, 2022] Giacomo Da Col and Erich C Teppan. Industrial-size job shop scheduling with con- straint programming. Oper. Res. Perspect., 9:100249, 2022.
  6. [de Moura et al., 2015] Leonardo Mendonc ¸a de Moura, Soonho Kong, Jeremy Avigad, Floris van Doorn, and Jakob von Raumer. The Lean theorem prover (system description). In Int'l Conf. on Automated Deduction (CADE), Lecture Notes in Computer Science, pages 378- 388. Springer, 2015.
  7. [Dodaro et al., 2024] Carmine Dodaro, Giuseppe Galatà, Martin Gebser, Marco Maratea, Cinzia Marte, Marco Mochi, and Marco Scanu. Operating room scheduling via answer set programming: Improved encoding and test on real data. JLC, 34(8):1556-1579, 2024.
  8. [El-Kholany et al., 2025] Mohammed M. S. El-Kholany, Martin Gebser, and Konstantin Schekotihin. Decompo- sition strategies and multi-shot ASP solving for job-shop scheduling. LMCS, 21(3), 2025.
  9. [Falkner et al., 2016] Andreas A. Falkner, Gerhard Friedrich, Alois Haselböck, Gottfried Schenner, and Herwig Schreiner. Twenty-five years of successful appli- cation of constraint technologies at Siemens. AI Mag., 37(4), 2016. Falkner et al., 2018]
  10. Andreas A. Falkner, Gerhard Friedrich, Konstantin Schekotihin, Richard Taupe, and Erich Christian Teppan. Industrial applications of answer set programming. KI, 32(2-3):165-176, 2018.
  11. [Fleischanderl et al., 1998] Gerhard Fleischanderl, Gerhard Friedrich, Alois Haselböck, Herwig Schreiner, and Markus Stumptner. Configuring large systems using gen- erative constraint satisfaction. IEEE Intell. Syst., 13(4):59- 68, 1998.
  12. [Freuder, 2018] Eugene C. Freuder. Progress towards the holy grail. Constraints, 23(2):158-171, 2018.
  13. [Friedrich et al., 2011] Gerhard Friedrich, Anna Ryabokon, Andreas A. Falkner, Alois Haselböck, Gottfried Schenner, and Herwig Schreiner. (re)configuration based on model generation. In Second Workshop on Logics for Component Configuration, volume 65 of EPTCS, pages 26-35, 2011.
  14. [Gebser et al., 2012] Martin Gebser, Roland Kaminski, Ben- jamin Kaufmann, and Torsten Schaub. Answer Set Solving in Practice. Synthesis Lectures on Artificial Intelligence and Machine Learning. Morgan & Claypool, 2012.
  15. [Gebser et al., 2015] Martin Gebser, Anna Ryabokon, and Gottfried Schenner. Solving combined configuration prob- lems: a heuristic approach. In Int'l Configuration Work- shop, CEUR Workshop Proceedings, pages 55-59. CEUR- WS.org, 2015.
  16. [Gebser et al., 2017] Martin Gebser, Marco Maratea, and Francesco Ricca. The sixth answer set programming com- petition. JAIR, 60:41-95, 2017.
  17. [Gebser et al., 2019] Martin Gebser, Roland Kaminski, Ben- jamin Kaufmann, Marius Lindauer, Max Ostrowski, Javier Romero, Torsten Schaub, Sven Thiele, and Philipp Wanko. Potassco guide version 2.2.0, 2019. Retrieved from https: //github.com/potassco/guide/releases/tag/v2.2.0. Link
  18. [Georgiev et al., 2025] Bogdan Georgiev, Javier Gómez- Serrano, Terence Tao, and Adam Zsolt Wagner. Math- ematical exploration and discovery at scale. CoRR, abs/2511.02864, 2025.
  19. [Gong et al., 2018] Guiliang Gong, Qianwang Deng, Xuran Gong, Wei Liu, and Qinghua Ren. A new double flexible job-shop scheduling problem integrating processing time, green production, and human factor indicators. J. Clean. Prod., 174:560-576, 2018.
  20. [Hubert et al., 2026] Thomas Hubert, Rishi Mehta, Laurent Sartran, Miklós Z. Horváth, Goran Žužić, Eric Wieser, Aja Huang, Julian Schrittwieser, Yannick Schroecker, Hussain Masoom, Ottavia Bertolli, Tom Zahavy, Amol Mandhane, Jessica Yung, Iuliya Beloshapka, Borja Ibarz, Vivek Vee- riah, Lei Yu, Oliver Nash, Paul Lezeau, Salvatore Mercuri, Calle Sönne, Bhavik Mehta, Alex Davies, Daniel Zheng, Fabian Pedregosa, Yin Li, Ingrid von Glehn, Mark Row- land, Samuel Albanie, Ameya Velingker, Simon Schmitt, Edward Lockhart, Edward Hughes, Henryk Michalewski, Nicolas Sonnerat, Demis Hassabis, Pushmeet Kohli, and David Silver. Olympiad-level formal mathematical reason- ing with reinforcement learning. Nature, 651(8106):607- 613, 2026.
  21. [Kaufmann et al., 2016] Benjamin Kaufmann, Nicola Leone, Simona Perri, and Torsten Schaub. Grounding and solving in answer set programming. AI Mag., 37(3):25-32, 2016.
  22. [Kotary et al., 2021] James Kotary, Ferdinando Fioretto, Pascal Van Hentenryck, and Bryan Wilder. End-to-end constrained optimization learning: A survey. In IJCAI, pages 4475-4482. ijcai.org, 2021. IJCAI
  23. [Kotthoff, 2016] Lars Kotthoff. Algorithm selection for combinatorial search problems: A survey. In Data Min- ing and Constraint Programming, volume 10101 of LNCS, pages 149-190. Springer, 2016.
  24. [Laborie et al., 2018] Philippe Laborie, Jerome Rogerie, Paul Shaw, and Petr Vilím. IBM ILOG CP Optimizer for scheduling -20+ years of scheduling with constraints at IBM/ILOG. Constraints, 23(2):210-250, 2018.
  25. [Lange et al., 2025] Robert Tjarko Lange, Yuki Imajuku, and Edoardo Cetin. Shinkaevolve: Towards open- ended and sample-efficient program evolution. CoRR, abs/2509.19349, 2025.
  26. [Liu et al., 2024] Fei Liu, Xialiang Tong, Mingxuan Yuan, Xi Lin, Fu Luo, Zhenkun Wang, Zhichao Lu, and Qingfu Zhang. Evolution of heuristics: towards efficient au- tomatic algorithm design using large language model. ICML. JMLR.org, 2024.
  27. [Liu et al., 2025] Gang Liu, Yihan Zhu, Jie Chen, and Meng Jiang. Scientific algorithm discovery by augmenting al- phaevolve with deep research. CoRR, abs/2510.06056, 2025.
  28. [Lodi and Zarpellon, 2017] Andrea Lodi and Giulia Zarpel- lon. On learning and branching: a survey. TOP, 25(2):207-236, 2017.
  29. [Mouret and Clune, 2015] Jean-Baptiste Mouret and Jeff Clune. Illuminating search spaces by mapping elites. CoRR, abs/1504.04909, 2015.
  30. [Novikov et al., 2025] Alexander Novikov, Ngân Vu, Mar- vin Eisenberger, Emilien Dupont, Po-Sen Huang, Adam Zsolt Wagner, Sergey Shirobokov, Borislav Ko- zlovskii, Francisco J. R. Ruiz, Abbas Mehrabian, M. Pawan Kumar, Abigail See, Swarat Chaudhuri, George Holland, Alex Davies, Sebastian Nowozin, Pushmeet Kohli, and Matej Balog. Alphaevolve: A coding agent for scientific and algorithmic discovery. CoRR, abs/2506.13131, 2025.
  31. [Perron et al., 2023] Laurent Perron, Frédéric Didier, and Steven Gay. The CP-SAT-LP solver (invited talk). In Int'l Conf. on Principles and Practice of CP, CP 2023, LIPIcs, pages 3:1-3:2. Schloss Dagstuhl -Leibniz-Zentrum für In- formatik, 2023.
  32. [Romera-Paredes et al., 2024] Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M. Pawan Kumar, Emilien Dupont, Francisco J. R. Ruiz, Jordan S. Ellenberg, Pengming Wang, Omar Fawzi, Pushmeet Kohli, and Alhussein Fawzi. Mathematical dis- coveries from program search with large language models. Nature, 625(7995):468-475, 2024.
  33. [Rossi et al., 2008] Francesca Rossi, Peter van Beek, and Toby Walsh. Constraint programming. In Handb. Knowl. Represent., volume 3 of Foundations of Artificial Intelli- gence, pages 181-211. Elsevier, 2008.
  34. [Sanghikian et al., 2026] Nathalie Sanghikian, Rafael Meirelles, Anand Subramanian, and Rafael Martinelli. A heuristic algorithm based on beam search and iterated local search for the maritime inventory routing problem. Comput. Oper. Res., 188:107347, 2026.
  35. [Schlenkrich and Parragh, 2022] Manuel Schlenkrich and Sophie N. Parragh. Solving large scale industrial pro- duction scheduling problems with complex constraints: an overview of the state-of-the-art. In Int'l Conf. on Indus- try 4.0 and Smart Manufacturing, Procedia Computer Sci- ence, pages 1028-1037. Elsevier, 2022.
  36. [Semmelrock and Friedrich, 2025] Veronika Semmelrock and Gerhard Friedrich. Investigating the grounding bot- tleneck for a large-scale configuration problem: Existing tools and constraint-aware guessing. In 41st Int'l Conf. on Logic Programming, EPTCS, pages 482-495, January 2025.
  37. [Semmelrock et al., 2026] Veronika Semmelrock, Benedetta Strizzolo, Francesco Zuccato, Gerhard Friedrich, Patrick Rodler, and Konstantin Schekotihin. Checkmate project. https://git-ainf.aau.at/checkmate/ijcai26, 2026. Link
  38. [Sharma, 2025] Asankhaya Sharma. Openevolve: an open-source evolutionary coding agent. https://github. com/algorithmicsuperintelligence/openevolve, 2025. Ac- cessed: 23 September 2025. Link
  39. [Tanese, 1989] Reiko Tanese. Distributed genetic algorithms for function optimization. PhD thesis, University of Michi- gan, USA, 1989.
  40. [Tarzariol et al., 2023] Alice Tarzariol, Martin Gebser, Kon- stantin Schekotihin, and Mark Law. Learning to break symmetries for efficient optimization in answer set pro- gramming. In AAAI, pages 6541-6549. AAAI Press, 2023.
  41. [Taupe et al., 2020] Richard Taupe, Antonius Weinzierl, and Gerhard Friedrich. Conflict generalisation in ASP: learn- ing correct and effective non-ground constraints. Theory Pract. Log. Program., 20(5):799-814, 2020.
  42. [Wolsey, 2020] Laurence A Wolsey. Integer programming. John Wiley & Sons, 2020.
  43. [Yager, 2009] Ronald R. Yager. Prioritized OWA aggrega- tion. Fuzzy Optim. Decis. Mak., 8(3):245-262, 2009.
  44. [Yu et al., 2025] Cunxi Yu, Rongjian Liang, Chia-Tung Ho, and Haoxing Ren. Autonomous code evolution meets np- completeness. CoRR, abs/2509.07367, 2025.
  45. [Zuccato et al., 2025] Francesco Zuccato, Patrick Rodler, Gerhard Friedrich, Konstantin Schekotihin, and Richard Comploi-Taupe. Energy-aware double-flexible job shop scheduling with machine modes and setup times: A real- world industrial case study using constraint programming. In ECAI Workshop on AI-based Planning for Complex Real-World Applications (CAIPI 2025), CEUR Workshop Proceedings, pages 84-99. CEUR-WS.org, 2025.

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

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