EvoCut: Strengthening Integer Programs via Evolution-Guided Language Models

Milad Yazdani, Mahdi Mostajabdaveh, Samin Aref, Zirui ZhouarXiv 2025

TL;DR

EvoCut is a novel framework that uses Large Language Models (LLMs) guided by evolutionary search to automatically design problem-specific "acceleration cuts" for Mixed-Integer Linear Programming (MILP). By operating at the symbolic modeling level, EvoCut discovers reusable mathematical inequalities that reduce optimality gaps by up to 76% and speed up commercial solvers by up to 7.2× on unseen instances.

What Problem Does This Paper Address?

Mixed-Integer Linear Programming (MILP) is the mathematical backbone of industrial optimization, powering everything from logistics scheduling to power grid management. However, because MILPs are NP-hard, solving large-scale instances can take hours or even days.

To speed things up, operations research (OR) experts manually design "acceleration cuts"—additional mathematical constraints that tighten the linear programming (LP) relaxation of the problem without changing the optimal integer solution. This process requires deep mathematical intuition and combinatorial logic, making it notoriously difficult to automate. While recent AI research has used LLMs to translate natural language descriptions into valid optimization models, improving the solving efficiency of those models has remained an open challenge.

Methods

EvoCut bridges this gap by introducing an evolutionary pipeline driven by LLM agents that automatically generates and refines symbolic acceleration cuts.

Figure 1. View of EVOCUT in two stages: during development, EVOCUT learns a reusable set of acceleration cuts for a symbolic model using a natural language description. During deployment, the cuts are instantiated for a concrete instance and appended to its MILP before solving.

The framework operates in two distinct phases:

  1. Development (Evolutionary Search): EvoCut takes a symbolic MILP model and a natural language description of the problem. An Initializer LLM Agent proposes a starting population of candidate cuts. These cuts are iteratively evolved over multiple generations using specialized Mutation and Crossover LLM Agents (e.g., applying lifting techniques or hybridizing features from parent cuts).
  2. Deployment: The best-performing symbolic cuts discovered during development are instantiated with concrete data and appended directly to new, unseen MILP instances before being passed to a standard commercial solver (like Gurobi or HiGHS).

The Three-Stage Verifier

To ensure the LLM-generated cuts are mathematically sound and practically useful, every candidate cut must pass a rigorous three-stage verification process:

  • Code Check: Ensures the generated Python code (using Pyomo syntax) compiles and runs without errors.
  • Optimal Solution Screening (OSS): Verifies that the cut does not accidentally exclude known optimal solutions on a small verification dataset.
  • Usefulness Check: Confirms that the cut actually tightens the model by ensuring it cuts off at least one fractional LP relaxation solution.

Cuts that pass verification are evaluated on a separate dataset to compute a fitness score based on how much they reduce the solver's optimality gap.

Datasets

The authors evaluated EvoCut across seven diverse, NP-hard MILP benchmarks:

  • Traveling Salesman Problem (TSP): Sourced from the classic TSPLIB repository.
  • Multi-Commodity Network Design (MCND): Sourced from the CommaLAB dataset.
  • Capacitated Warehouse Location Problem (CWLP): Sourced from the OR-Library.
  • Job Shop Scheduling Problem (JSSP): Sourced from the widely used Taillard benchmark.
  • Pickup and Delivery Problem with Time Windows (PDPTW): Sourced from MIPLIB 2010.
  • Sub-Hour Unit Commitment (SHUC): Power grid instances from PGLib-UC.
  • IMO6: A newly introduced benchmark derived from Problem 6 of the 2025 International Mathematical Olympiad. Because it is entirely new, LLMs could not rely on memorized OR literature to solve it.

Key Insights and Ideas

  • Symbolic vs. Concrete Reasoning: Instead of learning patterns from specific data instances, EvoCut reasons about the abstract logic of the problem. This allows the discovered cuts to generalize perfectly to much larger or differently distributed test instances.
  • The Power of Evolutionary Feedback: LLMs often struggle to generate complex, multi-part mathematical cuts on the first try. By pairing the LLM with evolutionary crossover and mutation, EvoCut allows the model to iteratively fix its own mistakes and combine simple bounds into highly sophisticated hybrid inequalities.
  • Complementing, Not Replacing, Solvers: EvoCut operates as a lightweight pre-solve step. The cuts it generates work in harmony with the internal, general-purpose cut-generation mechanisms built into commercial solvers like Gurobi.

Key Results

EvoCut was tested using three different state-of-the-art LLM backends (DeepSeek-R1, Gemini Pro 3, and GPT-5.1) and demonstrated massive performance gains across the board.

Table 1. Test set mean relative gap improvement ¯∆g (%) from adding the strongest EVOCUT cut (Gurobi, three LLMs). Mean ±σ. Positive values correspond to gcut < gref at that checkpoint.
  • Optimality Gap Reduction: When evaluated under a fixed time budget, the augmented models consistently outperformed the baselines. For instance, on the CWLP and JSSP benchmarks, EvoCut reduced the remaining optimality gap by up to 76% and 64%, respectively.
  • Solving Speedups: EvoCut reached target optimality gaps significantly faster than the baseline formulations, achieving a shifted geometric mean speedup of up to 7.2× on the JSSP benchmark.
Table 2. Time to reach target gaps g: baseline vs. EVOCUT. B/A: instances reaching g within 2000 s (Baseline/EVOCUT). SGM: shifted geometric mean speedup (> 1 better).
  • Cross-Solver Robustness: Cuts discovered using Gurobi transferred successfully to the open-source HiGHS solver, proving that EvoCut uncovers fundamental problem properties rather than solver-specific exploits.

Limitations and Future Work

While highly effective, EvoCut has a few limitations that open up exciting avenues for future research:

  1. Empirical vs. Formal Verification: The framework relies on empirical screening (testing cuts against a small set of known solutions). It does not provide a formal, mathematical proof of validity. Integrating automated theorem provers could provide ironclad theoretical guarantees.
  2. Static Cuts Only: Currently, EvoCut inserts cuts statically before the solver starts. A powerful extension would be to have LLMs generate dynamic separation algorithms that can inject cuts on-the-fly via solver callbacks during the branch-and-bound process.

Summary updated

BibTeX
@misc{yazdani2025evocut,
  author = {Milad Yazdani and Mahdi Mostajabdaveh and Samin Aref and Zirui Zhou},
  title = {{EvoCut: Strengthening Integer Programs via Evolution-Guided Language Models}},
  year = {2025},
  eprint = {2508.11850},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.11850},
}
Figure