DualSchool: How Reliable are LLMs for Optimization Education?
Not on the map. Why?
Abstract (arXiv)
Consider the following task taught in introductory optimization courses which addresses challenges articulated by the community at the intersection of (generative) AI and OR: generate the dual of a linear program. LLMs, being trained at web-scale, have the conversion process and many instances of Primal to Dual Conversion (P2DC) at their disposal. Students may thus reasonably expect that LLMs would perform well on the P2DC task. To assess this expectation, this paper introduces DualSchool, a comprehensive framework for generating and verifying P2DC instances. The verification procedure of DualSchool uses the Canonical Graph Edit Distance, going well beyond existing evaluation methods for optimization models, which exhibit many false positives and negatives when applied to P2DC. Experiments performed by DualSchool reveal interesting findings. Although LLMs can recite the conversion procedure accurately, state-of-the-art open LLMs fail to consistently produce correct duals. This finding holds even for the smallest two-variable instances and for derivative tasks, such as correctness, verification, and error classification. The paper also discusses the implications for educators, students, and the development of large reasoning systems.
Key facts. Cited by 3 papers in the map (data through 13 Oct 2026). Builds on 16 of its 32 references that are in the map. First posted on arXiv 27 May 2025.
Builds on
16 of 32 references.
References · 16
- 2023Large Language Models as Optimizerscited by 842
- 2019Exact Combinatorial Optimization with Graph Convolutional Neural Networkscited by 314
- 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 134
- 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
- 2020Hybrid Models for Learning to Branchcited by 95
- 2022Augmenting Operations Research with Auto-Formulation of Optimization Models from Problem Descriptionscited by 54
- 2025MathTutorBench: A Benchmark for Measuring Open-ended Pedagogical Capabilities of LLM Tutorscited by 47
- 2024OptiMUS-0.3: Using Large Language Models to Model and Solve Optimization Problems at Scalecited by 37
- 2022JuMP 1.0: Recent improvements to a modeling language for mathematical optimizationcited by 34
- 2023Diagnosing Infeasible Optimization Problems Using Large Language Modelscited by 27
- 2023Holy Grail 2.0: From Natural Language to Constraint Modelscited by 24
- 2023"I Want It That Way": Enabling Interactive Decision Support Using Large Language Models and Constraint Programmingcited by 19
4 more
- 2024RLSF: Fine-tuning LLMs via Symbolic Feedbackcited by 14
- 2025Decision Information Meets Large Language Models: The Future of Explainable Operations Researchcited by 9
- 2023Synthesis of Mathematical programs from Natural Language Specificationscited by 8
- 2024LLMs for Cold-Start Cutting Plane Separator Configurationcited by 8
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.