A three-stage system produced correct optimization models for 29 of 30 tested problems.
The system uses large language models alongside mathematical templates and a knowledge-representation structure. It first identifies decision variables, then classifies each part of a description as an objective or constraint, and finally generates the equations, including additional links needed for logical conditions.
On a dataset of 30 problems containing 177 paragraph-level descriptions, the system generated correct models for 29 problems and 176 of 177 expressions. It performed better than direct prompting and other automatic model-generation approaches tested by the researchers, which often missed implicit constraints and logical relationships.
Evidence and caveats
The evidence comes from a numerical evaluation on a newly developed dataset of 30 problems and 177 paragraph-level descriptions, with comparisons against direct-prompting and other automatic-generation methods. The results show strong performance on this test set, but the dataset is small and the researchers say it needs more contexts, constraint types and optimization problem types. The system currently assumes that users provide a complete problem description, with the partitioning of constraint descriptions done manually. Turning the generated models into solver-ready modeling-language files was outside this study, and the researchers propose future work on interactive question-and-answer systems that gather missing information.
// Source
INFOR Information Systems and Operational Research · 2026 · DOI: 10.1080/03155986.2026.2753960
Authors: Qingyang Li, Vicky H. Mak-Hau
Institutions: The University of Melbourne, Deakin University