Online Algorithm Configuration for MILP Re-Optimization with LLM Guidance

Ruohong Liu, Xuan He, Yuxin Pan, Jack UmenbergerOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces LLM-MAB, a two-stage framework that slashes the time needed to solve sequences of related Mixed-Integer Linear Programs (MILPs). By using Large Language Models to prune a massive solver configuration space into a small "portfolio" and then using Multi-Armed Bandits to pick the best settings in real-time, the authors achieved solving time reductions of up to 54% without requiring any prior training data.

What Problem Does This Paper Address?

In many real-world applications—like power grid management, vehicle routing, or production planning—we don't just solve one optimization problem and quit. Instead, we solve a sequence of closely related Mixed-Integer Linear Programs (MILPs). These problems share the same basic structure but differ in their data (e.g., changing objective costs or resource constraints). This is called re-optimization.

Modern solvers like Gurobi or SCIP are incredibly powerful but come with hundreds of tunable parameters. Finding the "perfect" settings for a specific family of problems is a nightmare because:

  1. The search space is combinatorial: Changing one parameter affects others.
  2. Data is scarce: We often don't have thousands of "practice" instances to train a machine learning model offline.
  3. Re-optimization adds complexity: We have to decide not just on solver settings, but also on how to reuse "hints" (warm starts) from previous solutions.

The gap the authors tackle is creating a training-free, lightweight way to adapt solver settings online as new problems arrive in a sequence.

Methods

The authors propose a two-stage framework called LLM-MAB:

Stage 1: Configuration Space Reduction via LLMs

Instead of letting a computer blindly guess settings, the authors leverage the "zero-shot" reasoning of LLMs (like GPT-4).

  • The Prompt: They feed the LLM a detailed description of the problem (its mathematical formulation, size, and what parts are changing) and a list of available solver parameters.
  • The Portfolio: The LLM is asked to generate 100 promising configurations. These are then clustered using k-medoids to find the 5 most diverse and representative "candidate" settings. This turns a search space of billions of possibilities into a manageable "portfolio" of five.

Stage 2: Online Selection via Multi-Armed Bandits (MAB)

As the sequence of MILP instances begins, the system needs to decide which of those 5 configurations to use for the next problem.

  • They treat this as a Multi-Armed Bandit problem. Each configuration is an "arm."
  • They use the UCB1 (Upper Confidence Bound) algorithm to balance exploration (trying different configurations to see how they perform) and exploitation (sticking with the one that has been fastest so far).
  • The "reward" is the negative solving time—the faster the solve, the higher the reward.

Datasets

The framework was evaluated on the MIP Workshop 2023 Re-optimization Benchmarks.

  • 10 Datasets: Ranging from "Easy" (single varying component, smaller variables) to "Hard" (multiple varying components, up to 63,000+ variables).
  • Problem Types: Includes scheduling, knapsack problems, vehicle routing, and hydro unit commitment.
  • Comparison: They tested against default SCIP/Gurobi settings and several state-of-the-art baselines, including the winning solution from the 2023 MIP competition.

Key Insights and Ideas

  • LLMs as Domain Experts: The most striking insight is that LLMs can act as effective "zero-shot" algorithm configurators. By providing the LLM with the strengths and limitations of specific parameters (e.g., "this cut is good for binary variables but slow to compute"), the model can suggest high-quality configurations without ever seeing a single training instance.
  • Joint Optimization: Most prior work tunes solver parameters (like cuts) or re-optimization tricks (like warm starts) separately. This paper shows that treating them as a joint configuration space yields much better results.
  • The Power of Diversity: By over-generating 100 configurations and clustering them down to 5, the authors ensure the Bandit algorithm has a "diverse portfolio" to choose from, covering different strategies (e.g., aggressive cutting vs. fast heuristics).

Key Results

  • Massive Speedups: On the obj_3 benchmark (a hard dataset), LLM-MAB reduced solving time by 54.18% compared to default SCIP.
  • Robustness: On the "all" benchmark—where every part of the problem (bounds, matrix, objective) changes—the method still achieved a 25.99% improvement.
  • Outperforming Competition: The method consistently beat "Progressive Tuning" (the 2023 competition winner), proving that reducing the search space with an LLM is more effective than trying to tune every parameter independently.
  • Zero-Shot Advantage: Unlike many "Learning to Optimize" methods, this requires zero offline training. It starts working from the very first instance in a sequence.

Limitations and Future Work

  • Exploration Overhead: In very short sequences (e.g., only 10-20 instances), the "exploration" phase of the Bandit algorithm can be a significant portion of the total time. The authors noted that on some Gurobi benchmarks, the cost of trying sub-optimal configurations early on slightly hurt the average.
  • Limited Parameter Scope: The current study focused primarily on cutting-plane controls and primal hints. It did not yet incorporate branching strategies or more complex heuristic settings.
  • Future Directions: The authors suggest moving toward Contextual Bandits, where the system uses specific features of the current instance to pick a configuration, rather than just relying on the average performance of past instances.

For more details, you can find the full paper under review for ICLR 2026.

Summary updated

BibTeX
@misc{liu2026online,
  author = {Ruohong Liu and Xuan He and Yuxin Pan and Jack Umenberger},
  title = {{Online Algorithm Configuration for MILP Re-Optimization with LLM Guidance}},
  year = {2026},
  url = {https://openreview.net/forum?id=xbyebbS1ZF},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure