NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Constructing Industrial-Scale Optimization Modeling Benchmark

Zhong Li, Hongliang Lu, Tao Wei, Yuxuan Chen, Wenyu Liu, Yuan Lan, Fan Zhang, Zaiwen Wen

Introduction

Optimization modeling is the mathematical backbone of decision-making across logistics, manufacturing, energy, and finance. Translating messy, natural-language business requirements into clean, solver-executable mathematical models—such as Mixed-Integer Linear Programs (MILPs)—remains a high-stakes, labor-intensive task.

Recently, Large Language Models (LLMs) have shown promise in automating this "Natural Language to Optimization" (NL-to-Opt) pipeline. However, a critical "reality gap" exists: current LLMs are primarily evaluated on toy-sized or synthetic benchmarks. To address this, researchers have introduced MIPLIB-NL, the first industrial-scale benchmark for NL-to-Opt modeling. By reverse-engineering real-world problems from the renowned MIPLIB repository, the authors reveal that while current LLMs excel at simple problems, their performance collapses when faced with the structural complexity and massive scale of actual industrial applications.

The "Reality Gap" in Optimization Modeling

Existing benchmarks, such as NL4Opt or NLP4LP, typically feature between 4 and 120 variables. In stark contrast, real industrial models often involve $10^3$ to $10^6$ variables and constraints. Because current benchmarks are so small, they mask the true difficulty of industrial modeling—specifically, the need to handle complex indexing, data-binding, and repetitive constraint "families."

This scale discrepancy has created a saturation illusion. LLMs have reached 90%+ accuracy on older benchmarks, leading to the false impression that the NL-to-Opt problem is largely "solved." MIPLIB-NL shatters this illusion by providing a benchmark grounded in actual industrial practice, exposing failure modes that are completely invisible at the toy scale.

Methodology: Structure-Aware Reverse Construction

To build MIPLIB-NL, the authors developed a structure-aware reverse construction pipeline to translate flat, solver-ready math files (.mps) back into natural language descriptions. This pipeline operates in three main stages:

  1. Structural Abstraction: Instead of processing millions of individual constraints, domain experts identify "loop-based" structures. For instance, rather than parsing 1,000 separate capacity constraints, the system recovers the high-level logic: "For every warehouse $i$ and time period $t$, the total outflow cannot exceed capacity $C_{it}$."
  2. Structure-Preserving NL Generation: Using these recovered scaffolds, the authors generate natural language blueprints. Crucially, they employ a model-data separation format. The prompt describes the logic of the model, while the actual numerical values are stored in external CSV files. This prevents the LLM context window from exploding in size.
  3. Semantic Validation: To ensure the NL description is sufficient to solve the problem, the pipeline uses a "Human-LLM interaction" loop. If a frontier LLM cannot reconstruct the original model from the description, experts review and refine the text until it is semantically complete.

The MIPLIB-NL Dataset

The primary contribution of this work is the MIPLIB-NL dataset, consisting of 223 one-to-one reconstructions derived from the MIPLIB 2017 repository—the gold standard in the optimization community. The authors compared LLM performance on MIPLIB-NL against 10 existing toy-scale or synthetic benchmarks, including NL4Opt, NLP4LP, IndustryOR, MAMO, OptMath, and LogiOR.

Key Findings and Performance Collapse

The experiments yielded several critical insights into how LLMs handle—and fail to handle—industrial-scale optimization:

  • Dramatic Performance Collapse: Systems that dominate toy benchmarks suffer severe degradation on MIPLIB-NL. The average Pass@1 accuracy across tested models was only 17.85%, compared to 80-90% on simpler datasets.
  • The Frontier Model Gap: Even the most advanced frontier models struggled significantly. The best-performing model only reached approximately 39% accuracy, highlighting a massive gap between current capabilities and industrial requirements.
  • Shift in Failure Modes: On small benchmarks, LLMs mostly make "logic" errors, such as incorrect signs or missing variables. On MIPLIB-NL, the failures shift heavily to data/index coupling errors. The models fail to correctly map how different data tables interact with complex mathematical indices.
  • The Power of Compression: The authors demonstrated that loop-based NL descriptions are thousands of times smaller than raw MPS files. This proves that "intensional" descriptions (describing the logic) are far more efficient and necessary for LLMs than "extensional" ones (listing every single constraint).

Limitations and Future Directions

Constructing MIPLIB-NL is currently an expert-heavy process. Recovering high-level logic from flat solver files requires significant manual effort and domain knowledge, which is why only about 20% of the full MIPLIB 2017 library has been converted so far.

Moving forward, the researchers identify several key areas for future work:

  • Automating the Pipeline: Leveraging agentic workflows to further automate the reverse-engineering of MPS files.
  • Expanding Scope: Moving beyond Mixed-Integer Linear Programming to include conic, non-linear, and multi-objective optimization models.
  • Model Fine-Tuning: Utilizing the MIPLIB-NL dataset to train a new generation of "OR-specialized" LLMs that natively understand industrial optimization structures.

Summary updated

BibTeX
@inproceedings{li2026constructing,
  author = {Zhong Li and Hongliang Lu and Tao Wei and Yuxuan Chen and Wenyu Liu and Yuan Lan and Fan Zhang and Zaiwen Wen},
  title = {{Constructing Industrial-Scale Optimization Modeling Benchmark}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=0Q7adIsv6p},
}

Loading related content...

Figure