mlsanityData to 7 Oct 2026

ConstraintBench: Benchmarking LLM Constraint Reasoning on Direct Optimization

arXiv 2602.22465 ↗First posted 25 Feb 2026cs.AIcited by 6

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

  1. 2025OptiMind: Teaching LLMs to Think Like Optimization Experts26 Sep

Other references · 7

  1. 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
  2. 2024OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Modelscited by 105
  3. 2024LLMs for Mathematical Modeling: Towards Bridging the Gap between Natural and Mathematical Languagescited by 46
  4. 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modelingcited by 44
  5. 2024OptiMUS-0.3: Using Large Language Models to Model and Solve Optimization Problems at Scalecited by 37
  6. 2024Self-Guiding Exploration for Combinatorial Problemscited by 21
  7. 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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling
  2. 2026FrontierOR: Benchmarking LLMs' Capacity for Efficient Algorithm Design in Large-Scale Optimization
  3. 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
  4. 2026Reasoning in a Combinatorial and Constrained World: Benchmarking LLMs on Natural-Language Combinatorial Optimization
  5. 2025R-ConstraintBench: Evaluating LLMs on NP-Complete Scheduling
  6. 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validation
  7. 2026OptiSkill: A Hierarchical and Evolving SkillBank for LLM-Based Optimization Modeling
  8. 2025Max It or Miss It: Benchmarking LLM On Solving Extremal Problems