ISoLA & AISoLA 2026

International Symposium on Leveraging Applications of Formal Methods, Verification, and Validation • Kos, Greece

Talk

AI-Assisted Evolutionary Code Generation for Combinatorial and Optimization Problems

Time: Wednesday, 28.10

Room: Room 2

Authors: Veronika Semmelrock, Benedetta Strizzolo, Francesco Zuccato, Gerhard Friedrich, Patrick Rodler, Konstantin Schekotihin

Abstract: Breakthroughs in automated software engineering have opened the door to entirely new AI-assisted coding processes, with code evolution being a prominent example. A key element in code evolution is the evaluation of generated programs, which produces a numeric score to rank candidate programs and guides the evolution by determining the likelihood of using parts of candidate solutions in subsequent iterations. As a minimum criterion, given that LLMs are prone to hallucinations, this score should include a measure of program correctness. Since it is unclear how to obtain a full formal specification for automatically generated programs, and human intervention is both undesirable in this automated process and would significantly degrade efficiency, a program testing approach appears particularly reasonable. But this leads to the test oracle problem---how to automatically determine whether a program's output for a given input is correct. To address this, we present CheckMate, a tool that integrates with the open-source code evolution framework OpenEvolve. Besides rigorous program testing, CheckMate provides systematic benchmarking and continuous feedback to LLMs to guide the evolutionary process towards high-quality programs. Providing a natural language prompt to the LLMs specifying the structure of the given inputs and the desired outputs, CheckMate requires only a logical specification of valid program outputs and a small set of sample inputs. Based on particularly hard combinatorial and optimization problems from domains of direct industrial relevance---configuration, scheduling, and planning---we demonstrate that OpenEvolve+CheckMate generates programs that outperform state-of-the-art solvers, both in time and memory performance and in the number of problem instances solved. Notably, this new approach solves, for the first time, all instances of the remarkably hard Combined Configuration Problem and produces programs that outperform CP-Optimizer, the best existing scheduling approach, on all hard instances of a real-world industrial scheduling problem.