TL;DR
When optimizing massive industrial systems with millions of variables, searching for a single "silver bullet" heuristic fails because what works early in an optimization run can be actively harmful later on. This paper introduces PALL, a framework that evolves a diverse toolkit of specialized heuristics offline and trains an 8B-parameter LLM to dynamically pick the right tool at the right moment based on the solver's live history. By overlapping LLM "thinking" time with solver computation, PALL beats commercial heavyweights like Gurobi and outpaces existing LLM-based methods by over $6\times$.
What Problem Does This Paper Address?
Behind supply chains, power grids, and production schedules lies Mixed-Integer Linear Programming (MILP)—optimizing a linear objective over discrete and continuous variables. Exact solvers (like Branch-and-Bound) guarantee perfection, but throw a million variables at them, and combinatorial explosion leaves them struggling to find even a basic feasible solution.
To survive at this scale, practitioners use Large Neighborhood Search (LNS). Think of LNS like renovating a massive Lego city: instead of rebuilding from scratch, you repeatedly "destroy" (unfix) a small neighborhood of variables and "repair" (re-optimize) just that chunk while keeping everything else frozen. The magic—and the bottleneck—lies entirely in choosing which variables to unfix.
Recently, researchers started using LLMs to automatically write code for these neighborhood-selection heuristics. However, existing LLM frameworks suffer from two major blind spots:
- Expensive isolation: They evolve a brand-new heuristic from scratch for every problem class.
- Static rigidity: They search for one monolithic rule to use for the entire run. Yet optimization has distinct phases—aggressive structural changes are great for early exploration, while delicate tweaks are needed for late-stage convergence. Using one static rule leaves solvers blind to shifting dynamics and trapped in local optima.
Methods
Instead of hunting for one master heuristic, PALL (Process-Aware Evolutionary LNS) decouples how to search from when to use each strategy across three stages:
- Tail-Aware Stepwise Operator Evolution (Offline): Rather than evolving a single best program, an LLM generates a complementary bank of 10 Python scoring functions (operators). Crucially, candidates are evaluated as an ensemble on snapshots of solver states. A new operator is only swapped into the bank if it improves coverage on "tail states"—stagnant moments where the existing toolkit struggles.
- Hindsight Oracle Fine-Tuning (Easy-to-Hard Transfer): To teach an LLM when to deploy each operator, the authors run an exhaustive "hindsight oracle" on cheap, small-scale MILP instances. At every step, the oracle tests all 10 operators and labels the winner based on the best objective improvement per second. They then Supervised Fine-Tune (SFT/LoRA) a Qwen3-8B model on these trajectories, embedding scheduling intuition that transfers zero-shot to million-variable problems.
- Context-Enhanced & Asynchronous Online Selection: During live million-variable runs, Qwen3-8B acts as a real-time dispatcher. Its prompt includes the current solver state plus a compact history of recent operators chosen and their normalized rewards. To prevent LLM latency from slowing down the solver, PALL prefetches the next operator decision asynchronously while the solver is busy repairing the current sub-MIP.
Datasets
PALL is evaluated on standard MILP benchmarks spanning four classic combinatorial families:
- Minimization: Set Cover (SC) and Minimum Vertex Cover (MVC).
- Maximization: Maximum Independent Set (MIS) and Multidimensional Knapsack (MIKS).
Operator evolution and oracle fine-tuning happen strictly on small-scale instances, while testing leaps to million-variable hard instances (for example, MIKS test instances feature ~750,000 binary and ~250,000 continuous variables). Notably, the exact same 10-operator bank and fine-tuned selector are reused across all four problem families without retraining.
Key Insights and Ideas
- Diversity beats dominance: Ablations testing each of the 10 evolved operators solo show that no single operator wins across all problem families—and PALL beats the best static operator in every family. Dynamic orchestration genuinely matters.
- Short-term memory prevents stagnation: Stripping the recent action–reward history from the LLM's prompt causes performance to tank (on Set Cover, the minimization score balloons from 169,880 to 416,137). Seeing what just worked—or failed—lets the LLM pivot from exploration to refinement in real time.
- Small-scale physics scale up: Evaluating an exhaustive oracle on million-variable instances is computationally impossible, but optimization dynamics on small instances look remarkably similar when summarized via solver statistics—making "easy-to-hard" SFT transfer surprisingly potent.
- Free intelligence via overlap: Sub-MIP repairs take enough wall-clock time that running the 8B LLM in parallel hides 80.8% to 93.2% of its inference latency.
Key Results
Under a strict 600-second wall-clock budget on million-variable instances:
- Outperforms all baselines: PALL achieves the best objective values across all four problem families, beating exact commercial solvers (Gurobi, SCIP), classical LNS (RINS, ACP), and learning-based solvers (Light-MILPopt—improving objectives by 44.4% on SC, 7.5% on MVC, and 10.0% on MIS; GNN&GBDT failed to find feasible solutions in time).
- Massive speedups over LLM-LNS methods: Given up to 10,000 seconds to match what PALL achieves in 600 seconds, state-of-the-art LLM heuristic frameworks lag far behind—PALL delivers an overall 8.58× speedup over LLM-LNS and 6.50× over EoH-S.
- Beats bandits and un-tuned LLMs: Using the exact same 10-operator bank, PALL outperforms online multi-armed bandits (like Thompson sampling by 5.35% on average, and BALANS-Softmax) as well as zero-shot Qwen3-8B (by 3.77% overall, and 14.47% on SC).
Limitations and Future Work
Currently, PALL's LLM selector weights remain frozen once deployed online—it adapts via in-context history, but cannot permanently update its policy if it encounters radically unfamiliar optimization dynamics at test time. Additionally, asynchronous prefetching relies on the context available before the ongoing repair finishes, introducing a one-step feedback lag. For future work, the authors plan to integrate online reinforcement learning to continuously adapt the LLM selector during live deployment.
Summary updated