Synthesizing mixed-integer linear programming models from natural language descriptions
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
Citing papers per year: 2024: 2; 2025: 12; 2026: 4.
18 papers.
Sort:
By area:
- 2026Constructing Industrial-Scale Optimization Modeling Benchmarkcited by 12
- 2024From Large Language Models and Optimization to Decision Optimization CoPilot: A Research Manifestocited by 11
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solvingcited by 11
- 2025EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulationscited by 9
- 2025Large Language Models in Operations Research: Methods, Applications, and Challengescited by 6
- 2024City-LEO: Toward Transparent City Management Using LLM with End-to-End Optimizationcited by 5
- 2025Performance of LLMs on Stochastic Modeling Operations Research Problems: From Theory to Practicecited by 3
- 2026Opti-Agent-Bench: Benchmarking End-to-End Optimization R&D Agents on Real-World Business Problemscited by 2
- 2025Large Language Model-Based Automatic Formulation for Stochastic Optimization Modelscited by 1
- 2025Teaching LLMs to Think Mathematically: A Critical Study of Decision-Making via Optimizationcited by 1
- 2025NLD-LLM: A systematic framework for evaluating small language transformer models on natural language descriptioncited by 1
- 2025From User Preferences to Optimization Constraints Using Large Language Modelscited by 0
6 more
- 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflowscited by 0
- 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validationcited by 0
- 2025LinearizeLLM: An Agent-Based Framework for LLM-Driven Exact Linear Reformulation of Nonlinear Optimization Problemscited by 0
- 2025LM4Opt-RA: A Multi-Candidate LLM Framework with Structured Ranking for Automating Network Resource Allocationcited by 0
- 2026Text2Model: Modeling Copilots for Text-to-Model Translationcited by 0
- 2026Learn2Zinc: Fine-tuning Small Language Models for Text-to-Model Translation in MiniZinccited by 0
- 2026Opti-Agent-Bench: Benchmarking End-to-End Optimization R&D Agents on Real-World Business Problems12 Jul 2026
- 2026Learn2Zinc: Fine-tuning Small Language Models for Text-to-Model Translation in MiniZinc14 May 2026
- 2026Text2Model: Modeling Copilots for Text-to-Model Translation14 Apr 2026
- 2026Constructing Industrial-Scale Optimization Modeling Benchmark11 Feb 2026
- 2025LM4Opt-RA: A Multi-Candidate LLM Framework with Structured Ranking for Automating Network Resource Allocation13 Nov 2025
- 2025LinearizeLLM: An Agent-Based Framework for LLM-Driven Exact Linear Reformulation of Nonlinear Optimization Problems12 Oct 2025
- 2025NLD-LLM: A systematic framework for evaluating small language transformer models on natural language description1 Oct 2025
- 2025Large Language Models in Operations Research: Methods, Applications, and Challenges18 Sep 2025
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solving10 Sep 2025
- 2025Teaching LLMs to Think Mathematically: A Critical Study of Decision-Making via Optimization25 Aug 2025
- 2025Large Language Model-Based Automatic Formulation for Stochastic Optimization Models24 Aug 2025
- 2025Performance of LLMs on Stochastic Modeling Operations Research Problems: From Theory to Practice30 Jun 2025
6 more
- 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validation21 Jun 2025
- 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflows7 May 2025
- 2025From User Preferences to Optimization Constraints Using Large Language Models27 Mar 2025
- 2025EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulations20 Feb 2025
- 2024City-LEO: Toward Transparent City Management Using LLM with End-to-End Optimization16 Jun 2024
- 2024From Large Language Models and Optimization to Decision Optimization CoPilot: A Research Manifesto26 Feb 2024
- 2026Opti-Agent-Bench: Benchmarking End-to-End Optimization R&D Agents on Real-World Business Problemscited by 2
- 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflowscited by 0
- 2025LinearizeLLM: An Agent-Based Framework for LLM-Driven Exact Linear Reformulation of Nonlinear Optimization Problemscited by 0
- 2026Opti-Agent-Bench: Benchmarking End-to-End Optimization R&D Agents on Real-World Business Problems12 Jul 2026
- 2025LinearizeLLM: An Agent-Based Framework for LLM-Driven Exact Linear Reformulation of Nonlinear Optimization Problems12 Oct 2025
- 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflows7 May 2025
- 2026Constructing Industrial-Scale Optimization Modeling Benchmarkcited by 12
- 2024From Large Language Models and Optimization to Decision Optimization CoPilot: A Research Manifestocited by 11
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solvingcited by 11
- 2025EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulationscited by 9
- 2025Large Language Models in Operations Research: Methods, Applications, and Challengescited by 6
- 2024City-LEO: Toward Transparent City Management Using LLM with End-to-End Optimizationcited by 5
- 2025Performance of LLMs on Stochastic Modeling Operations Research Problems: From Theory to Practicecited by 3
- 2025Large Language Model-Based Automatic Formulation for Stochastic Optimization Modelscited by 1
- 2025NLD-LLM: A systematic framework for evaluating small language transformer models on natural language descriptioncited by 1
- 2025From User Preferences to Optimization Constraints Using Large Language Modelscited by 0
- 2026Text2Model: Modeling Copilots for Text-to-Model Translationcited by 0
- 2026Learn2Zinc: Fine-tuning Small Language Models for Text-to-Model Translation in MiniZinccited by 0
- 2026Learn2Zinc: Fine-tuning Small Language Models for Text-to-Model Translation in MiniZinc14 May 2026
- 2026Text2Model: Modeling Copilots for Text-to-Model Translation14 Apr 2026
- 2026Constructing Industrial-Scale Optimization Modeling Benchmark11 Feb 2026
- 2025NLD-LLM: A systematic framework for evaluating small language transformer models on natural language description1 Oct 2025
- 2025Large Language Models in Operations Research: Methods, Applications, and Challenges18 Sep 2025
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solving10 Sep 2025
- 2025Large Language Model-Based Automatic Formulation for Stochastic Optimization Models24 Aug 2025
- 2025Performance of LLMs on Stochastic Modeling Operations Research Problems: From Theory to Practice30 Jun 2025
- 2025From User Preferences to Optimization Constraints Using Large Language Models27 Mar 2025
- 2025EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulations20 Feb 2025
- 2024City-LEO: Toward Transparent City Management Using LLM with End-to-End Optimization16 Jun 2024
- 2024From Large Language Models and Optimization to Decision Optimization CoPilot: A Research Manifesto26 Feb 2024