Synthesizing mixed-integer linear programming models from natural language descriptions
Qingyang Li, Lele Zhang, Vicky Mak-Hau

TL;DR
This paper introduces a framework that uses large language models and structured templates to automatically generate mixed-integer linear programming models from natural language problem descriptions, making MILP more accessible.
Contribution
The authors develop a novel approach combining LLMs with constraint classification and templates to synthesize complete MILP models from unstructured natural language descriptions.
Findings
Framework outperforms one-step LLM generation methods in accuracy
Incorporates logic constraints not previously studied in this context
Extends dataset for better evaluation of natural language to MILP translation
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research
