ConstraintBench: Benchmarking LLM Constraint Reasoning on Direct Optimization
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Large language models are increasingly applied to operational decision-making where the underlying structure is constrained optimization. Existing benchmarks evaluate whether LLMs can formulate optimization problems as solver code, but leave open a complementary question. Can LLMs directly produce correct solutions to fully specified constrained optimization problems without access to a solver? We introduce ConstraintBench, a benchmark for evaluating LLMs on direct constrained optimization across 10 operations research domains, with all ground-truth solutions verified by the Gurobi solver. Each task presents a natural-language scenario with entities, constraints, and an optimization objective; the model must return a structured solution that a deterministic verifier checks against every constraint and the solver-proven optimum. We evaluate six frontier models on 200 tasks and find that feasibility, not optimality, is the primary bottleneck. The best model achieves only 65.0% feasibility, yet feasible solutions average 89 to 96% of the Gurobi-optimal objective. No model exceeds 30.5% on joint feasibility and optimality within 0.1% of the solver reference. Per-domain analysis shows large variation in difficulty, with average feasibility spanning from 85.0% in the facility location domain to 0.8% in the crew assignment domain. Further, systematic failure modes include duration constraint misunderstanding, entity hallucination, and a feasibility-optimality decoupling in facility location and vehicle routing where models achieve high feasibility but 0% optimality. ConstraintBench and all evaluation infrastructure will be publicly released.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 8 of its 20 references that are in the map. First posted on arXiv 25 Feb 2026.
Builds on
8 of 20 references.
Closest ancestors · 1
Same direction, newest first
Other references · 7
- 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 105
- 2024LLMs for Mathematical Modeling: Towards Bridging the Gap between Natural and Mathematical Languagescited by 46
- 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modelingcited by 44
- 2024OptiMUS-0.3: Using Large Language Models to Model and Solve Optimization Problems at Scalecited by 37
- 2024Self-Guiding Exploration for Combinatorial Problemscited by 21
- 2024Exploring Combinatorial Problem Solving with Large Language Models: A Case Study on the Travelling Salesman Problem Using GPT-3.5 Turbocited by 8
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limitscited by 1
- 2026SCHEDBench: A Benchmark for Evaluating LLM Constraint Faithfulness in Natural-Language Combinatorial Schedulingcited by 1
- 2026SemVerBench: Benchmarking LLM Comprehension of Version-Constraint Resolution Semanticscited by 1
- 2026Blind-Spots-Bench: Evaluating Blind Spots in Multimodal Modelscited by 0
- 2026Tasks over Application Manuals: Revealing Gaps in Long-Horizon Procedural Reasoning for Language Modelscited by 0
- 2026Blackboard Intelligence Can Surpass Autoregressive on Globally Constrained Problemscited by 0
- 2026Blackboard Intelligence Can Surpass Autoregressive on Globally Constrained Problems30 Sep 2026
- 2026Tasks over Application Manuals: Revealing Gaps in Long-Horizon Procedural Reasoning for Language Models11 Sep 2026
- 2026SemVerBench: Benchmarking LLM Comprehension of Version-Constraint Resolution Semantics10 Sep 2026
- 2026SCHEDBench: A Benchmark for Evaluating LLM Constraint Faithfulness in Natural-Language Combinatorial Scheduling2 Aug 2026
- 2026Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limits18 Jul 2026
- 2026Blind-Spots-Bench: Evaluating Blind Spots in Multimodal Models9 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling
- 2026FrontierOR: Benchmarking LLMs' Capacity for Efficient Algorithm Design in Large-Scale Optimization
- 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
- 2026Reasoning in a Combinatorial and Constrained World: Benchmarking LLMs on Natural-Language Combinatorial Optimization
- 2025R-ConstraintBench: Evaluating LLMs on NP-Complete Scheduling
- 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validation
- 2026OptiSkill: A Hierarchical and Evolving SkillBank for LLM-Based Optimization Modeling
- 2025Max It or Miss It: Benchmarking LLM On Solving Extremal Problems