mlsanityData to 14 Oct 2026

Synthesizing mixed-integer linear programming models from natural language descriptions

arXiv 2311.15271 ↗First posted 26 Nov 2023math.OCcited by 18

Not on the map. Why?

Abstract (arXiv)

Numerous real-world decision-making problems can be formulated and solved using Mixed-Integer Linear Programming (MILP) models. However, the transformation of these problems into MILP models heavily relies on expertise in operations research and mathematical optimization, which restricts non-experts' accessibility to MILP. To address this challenge, we propose a framework for automatically formulating MILP models from unstructured natural language descriptions of decision problems, which integrates Large Language Models (LLMs) and mathematical modeling techniques. This framework consists of three phases: i) identification of decision variables, ii) classification of objective and constraints, and iii) finally, generation of MILP models. In this study, we present a constraint classification scheme and a set of constraint templates that can guide the LLMs in synthesizing a complete MILP model. After fine-tuning LLMs, our approach can identify and synthesize logic constraints in addition to classic demand and resource constraints. The logic constraints have not been studied in existing work. To evaluate the performance of the proposed framework, we extend the NL4Opt dataset with more problem descriptions and constraint types, and with the new dataset, we compare our framework with one-step model generation methods offered by LLMs. The experimental results reveal that with respect to the accuracies of generating the correct model, objective, and constraints, our method which integrates constraint classification and templates with LLMs significantly outperforms the others. The prototype system that we developed has a great potential to capture more constraints for more complex MILPs. It opens up opportunities for developing training tools for operations research practitioners and has the potential to be a powerful tool for automatic decision problem modeling and solving in practice.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). First posted on arXiv 26 Nov 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 12; 2026: 4.

18 papers.

Sort:

By area:

  1. 2026Constructing Industrial-Scale Optimization Modeling Benchmarkcited by 12
  2. 2024From Large Language Models and Optimization to Decision Optimization CoPilot: A Research Manifestocited by 11
  3. 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solvingcited by 11
  4. 2025EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulationscited by 9
  5. 2025Large Language Models in Operations Research: Methods, Applications, and Challengescited by 6
  6. 2024City-LEO: Toward Transparent City Management Using LLM with End-to-End Optimizationcited by 5
  7. 2025Performance of LLMs on Stochastic Modeling Operations Research Problems: From Theory to Practicecited by 3
  8. 2026Opti-Agent-Bench: Benchmarking End-to-End Optimization R&D Agents on Real-World Business Problemscited by 2
  9. 2025Large Language Model-Based Automatic Formulation for Stochastic Optimization Modelscited by 1
  10. 2025Teaching LLMs to Think Mathematically: A Critical Study of Decision-Making via Optimizationcited by 1
  11. 2025NLD-LLM: A systematic framework for evaluating small language transformer models on natural language descriptioncited by 1
  12. 2025From User Preferences to Optimization Constraints Using Large Language Modelscited by 0
6 more
  1. 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflowscited by 0
  2. 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validationcited by 0
  3. 2025LinearizeLLM: An Agent-Based Framework for LLM-Driven Exact Linear Reformulation of Nonlinear Optimization Problemscited by 0
  4. 2025LM4Opt-RA: A Multi-Candidate LLM Framework with Structured Ranking for Automating Network Resource Allocationcited by 0
  5. 2026Text2Model: Modeling Copilots for Text-to-Model Translationcited by 0
  6. 2026Learn2Zinc: Fine-tuning Small Language Models for Text-to-Model Translation in MiniZinccited by 0