TL;DR
AutoMIP is a new framework that automates research for complex optimization problems (MILP/MINLP) by combining a persistent pool of ideas with a structured tree search. It significantly outperforms existing LLM-based agents by effectively managing long-term experimental trajectories and intelligently reusing historical code artifacts, even discovering new best-known solutions for dozens of established benchmarks.
What Problem Does This Paper Address?
Operations Research (OR) problems—like optimizing supply chains, flight schedules, or power grids—are typically modeled as Mixed-Integer Linear or Nonlinear Programs (MILPs or MINLPs). These problems are NP-hard, meaning they are computationally brutal to solve exactly. While researchers have spent decades developing heuristics to speed them up, the process is manual and requires deep expertise.
Current "autoresearch" agents (AI that can propose, code, and test new algorithms) have seen success in machine learning and chemistry, but they struggle with OR. The reason is that OR research is inherently stateful. A single research run might involve dozens of failed experiments, each producing code, logs, and partial solutions. Existing agents are often too linear; if a research direction fails, they struggle to "backtrack" to a previous working version of the code to try a different hypothesis. They lack a systematic way to manage competing ideas and the complex dependencies of experimental artifacts.
Methods
The authors introduce AutoMIP, a framework designed to handle long-horizon research through two coupled pillars:
- Idea Pooling (Review & Ideation): Instead of just generating the "next step," AutoMIP maintains a persistent pool of 5–10 diverse research hypotheses (e.g., structural decomposition vs. neighborhood search). This ensures the agent doesn't get stuck in a narrow local optimum.
- Algorithm Tree Search: This is the "memory" of the research process. Every experiment is a node in a tree.
- L-edges (Refinement): The agent continues to tweak and improve the current direction.
- R-edges (Switching): If a direction stagnates, the agent selects a new idea from the pool. Crucially, it identifies a compatible historical state in the tree, restores the associated code and artifacts, and starts a new branch from there.
The process is rounded out by a Verification Layer that rigorously checks the LLM-generated code against the original problem constraints to ensure no "hallucinated" solutions are accepted.
Datasets
The framework was evaluated on two major benchmark libraries:
- MIPLib: The standard library for Mixed-Integer Linear Programming. The authors used a 60-instance "Open" set (aiming to beat best-known solutions) and a 60-instance "Hard" set (aiming to reach a target objective quickly).
- MINLPLib: A library for Mixed-Integer Nonlinear Programming, using a 60-instance subset.
AutoMIP was compared against several baselines, including direct coding agents (Codex), iterative improvement loops, and evolutionary frameworks (AutoEoH, EvoX).
Key Insights and Ideas
- Research is Stateful, Not Linear: The core "aha" moment is that effective autoresearch requires managing artifacts (code, solver configs, intermediate files). By coupling a hypothesis to a specific historical state, AutoMIP avoids starting from scratch every time a new idea is tried.
- Coupling Ideas to States: As shown in the tree structure, switching directions isn't just about a new prompt; it's about restoring the environment of a "reusable parent" node.
- Efficiency through Structure: Surprisingly, by doing more complex reasoning about where to start an experiment, AutoMIP actually uses significantly fewer LLM tokens than simpler agents. It works smarter, not harder.
Key Results
- New Best Solutions: AutoMIP discovered new best-known solutions for 31 out of 60 instances in MIPLib and 52 out of 60 instances in MINLPLib, outperforming all other evaluated frameworks.
- Speed and Quality: On the MIPLib Open set, AutoMIP achieved an average speedup of 2.18x over the standard Codex agent and found higher-quality solutions in 85.7% of jointly solved cases.
- Token Usage: AutoMIP reduced token consumption by 32% on the MIPLib Open set compared to Codex, demonstrating that structured exploration is more cost-effective than brute-force iteration.
- Ablation Success: Removing either the Idea Pool or the Algorithm Tree led to significant performance drops, proving that both diversity of thought and structured memory are essential for long-horizon research.
Limitations and Future Work
- Domain Specificity: The current implementation is tailored for MILP/MINLP. Adapting it to other scientific domains would require defining new "task skills" and artifact restoration protocols.
- Computational Budget: While faster than others, some extremely difficult instances still couldn't be solved within the 12-hour experimental window.
- Self-Evolving Skills: The authors suggest that future versions could allow the agent to not just design algorithms, but also evolve the "skills" it uses to evaluate and implement those algorithms, creating a more autonomous research loop.
Summary updated