ORGEval: Graph-Theoretic Evaluation of LLMs in Optimization Modeling
Not on the map. Why?
Abstract (arXiv)
Formulating optimization problems for industrial applications demands significant manual effort and domain expertise. While Large Language Models (LLMs) show promise in automating this process, evaluating their performance remains difficult due to the absence of robust metrics. Existing solver-based approaches often face inconsistency, infeasibility issues, and high computational costs. To address these issues, we propose ORGEval, a graph-theoretic evaluation framework for assessing LLMs' capabilities in formulating linear and mixed-integer linear programs. ORGEval represents optimization models as graphs, reducing equivalence detection to graph isomorphism testing. We identify and prove a sufficient condition, when the tested graphs are symmetric decomposable (SD), under which the Weisfeiler-Lehman (WL) test is guaranteed to correctly detect isomorphism. Building on this, ORGEval integrates a tailored variant of the WL-test with an SD detection algorithm to evaluate model equivalence. By focusing on structural equivalence rather than instance-level configurations, ORGEval is robust to numerical variations. Experimental results show that our method can successfully detect model equivalence and produce 100% consistent results across random parameter configurations, while significantly outperforming solver-based methods in runtime, especially on difficult problems. Leveraging ORGEval, we construct the Bench4Opt dataset and benchmark state-of-the-art LLMs on optimization modeling. Our results reveal that although optimization modeling remains challenging for all LLMs, DeepSeek-V3 and Claude-Opus-4 achieve the highest accuracies under direct prompting, outperforming even leading reasoning models.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 24 of its 50 references that are in the map. First posted on arXiv 31 Oct 2025.
Builds on
24 of 50 references.
References · 24
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,576
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2017Smart "Predict, then Optimize"cited by 339
- 2019Exact Combinatorial Optimization with Graph Convolutional Neural Networkscited by 318
- 2021SMAC3: A Versatile Bayesian Optimization Package for Hyperparameter Optimizationcited by 230
- 2019SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solvercited by 173
- 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 135
- 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
- 2024OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Modelscited by 109
- 2024MathBench: Evaluating the Theory and Application Proficiency of LLMs with a Hierarchical Mathematics Benchmarkcited by 105
- 2024LLMOPT: Learning to Define and Solve General Optimization Problems from Scratchcited by 102
12 more
- 2024OptiBench Meets ReSocratic: Measure and Improve LLMs for Optimization Modelingcited by 68
- 2023ARB: Advanced Reasoning Benchmark for Large Language Modelscited by 60
- 2022Augmenting Operations Research with Auto-Formulation of Optimization Models from Problem Descriptionscited by 54
- 2025OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modelingcited by 49
- 2024Is Your Model Really A Good Math Reasoner? Evaluating Mathematical Reasoning with Checklistcited by 48
- 2022On Representing Linear Programs by Graph Neural Networkscited by 39
- 2021Mixed-Integer Optimization with Constraint Learningcited by 31
- 2019JANOS: An Integrated Predictive and Prescriptive Modeling Frameworkcited by 27
- 2025MM-Agent: LLM as Agents for Real-world Mathematical Modeling Problemcited by 25
- 2022A Deep Reinforcement Learning Framework For Column Generationcited by 22
- 2025EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulationscited by 9
- 2021A Reinforcement Learning Approach to Parameter Selection for Distributed Optimal Power Flowcited by 5
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026Constructing Industrial-Scale Optimization Modeling Benchmarkcited by 12
- 2026OptArgus: A Multi-Agent System to Detect Hallucinations in LLM-based Optimization Modelingcited by 3
- 2026MM-OptBench: A Solver-Grounded Benchmark for Multimodal Optimization Modelingcited by 2
- 2026Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limitscited by 1
- 2026SLAI T-Rex: Full-Parameter Post-training of the DeepSeek-V4 Family on Ascend SuperPODcited by 1
- 2026FLARE: Verifying MILP Reformulations with LLM-Based Theorem Provingcited by 1
- 2026RankLLM: Weighted Ranking of LLMs by Quantifying Question Difficultycited by 0
- 2026ModelEquivBench: Certifying Multi-Relational Evaluation of LLM-Generated Optimization Modelscited by 0
- 2026Right Answers, Costly Models: The Efficiency Gap in LLM-based Optimization Modelingcited by 0
- 2026CIPHER-MoE: Balancing Efficiency and Routing Fidelity in Trillion-Scale MoE Trainingcited by 0
- 2026CIPHER-MoE: Balancing Efficiency and Routing Fidelity in Trillion-Scale MoE Training5 Oct 2026
- 2026Right Answers, Costly Models: The Efficiency Gap in LLM-based Optimization Modeling30 Sep 2026
- 2026FLARE: Verifying MILP Reformulations with LLM-Based Theorem Proving25 Aug 2026
- 2026ModelEquivBench: Certifying Multi-Relational Evaluation of LLM-Generated Optimization Models31 Jul 2026
- 2026SLAI T-Rex: Full-Parameter Post-training of the DeepSeek-V4 Family on Ascend SuperPOD22 Jul 2026
- 2026Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limits18 Jul 2026
- 2026MM-OptBench: A Solver-Grounded Benchmark for Multimodal Optimization Modeling12 May 2026
- 2026OptArgus: A Multi-Agent System to Detect Hallucinations in LLM-based Optimization Modeling12 May 2026
- 2026RankLLM: Weighted Ranking of LLMs by Quantifying Question Difficulty12 Feb 2026
- 2026Constructing Industrial-Scale Optimization Modeling Benchmark11 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling
- 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validation
- 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
- 2026ConstraintBench: Benchmarking LLM Constraint Reasoning on Direct Optimization
- 2026OptGraph: Large Language Models Enhanced Evolutionary Optimization Via Graph Retrieval-Augmented Generation
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solving
- 2026Opti-Agent-Bench: Benchmarking End-to-End Optimization R&D Agents on Real-World Business Problems
- 2025OptiMind: Teaching LLMs to Think Like Optimization Experts