mlsanityData to 7 Oct 2026

LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch

arXiv 2410.13213 ↗First posted 17 Oct 2024cs.AI cs.LGcited by 102

Not on the map. Why?

Cited by 20 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Optimization problems are prevalent across various scenarios. Formulating and then solving optimization problems described by natural language often requires highly specialized human expertise, which could block the widespread application of optimization-based decision making. To automate problem formulation and solving, leveraging large language models (LLMs) has emerged as a potential way. However, this kind of approach suffers from the issue of optimization generalization. Namely, the accuracy of most current LLM-based methods and the generality of optimization problem types that they can model are still limited. In this paper, we propose a unified learning-based framework called LLMOPT to boost optimization generalization. Starting from the natural language descriptions of optimization problems and a pre-trained LLM, LLMOPT constructs the introduced five-element formulation as a universal model for learning to define diverse optimization problem types. Then, LLMOPT employs the multi-instruction tuning to enhance both problem formalization and solver code generation accuracy and generality. After that, to prevent hallucinations in LLMs, such as sacrificing solving accuracy to avoid execution errors, the model alignment and self-correction mechanism are adopted in LLMOPT. We evaluate the optimization generalization ability of LLMOPT and compared methods across six real-world datasets covering roughly 20 fields such as health, environment, energy and manufacturing, etc. Extensive experiment results show that LLMOPT is able to model various optimization problem types such as linear/nonlinear programming, mixed integer programming, and combinatorial optimization, and achieves a notable 11.08% average solving accuracy improvement compared with the state-of-the-art methods. The code is available at https://github.com/caigaojiang/LLMOPT.

Key facts. Cited by 102 papers in the map (data through 7 Oct 2026). Builds on 22 of its 40 references that are in the map. First posted on arXiv 17 Oct 2024.

Builds on

22 of 40 references.

References · 22

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  6. 2023Qwen Technical Reportcited by 3,273
  7. 2024Qwen2 Technical Reportcited by 2,076
  8. 2023Teaching Large Language Models to Self-Debugcited by 963
  9. 2023Large Language Models as Optimizerscited by 830
  10. 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 618
  11. 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
  12. 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 133
10 more
  1. 2024Large Language Models to Enhance Bayesian Optimizationcited by 127
  2. 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
  3. 2023Large Language Models as Evolutionary Optimizerscited by 122
  4. 2024OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Modelscited by 105
  5. 2023Large Language Models for Supply Chain Optimizationcited by 61
  6. 2024LLMs for Mathematical Modeling: Towards Bridging the Gap between Natural and Mathematical Languagescited by 46
  7. 2024LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generationcited by 45
  8. 2023Large Language Model for Multi-objective Evolutionary Optimizationcited by 29
  9. 2023InstOptima: Evolutionary Multi-objective Instruction Optimization via Large Language Model-based Instruction Operatorscited by 16
  10. 2021Derivative-Free Reinforcement Learning: A Reviewcited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 31; 2026: 71.

102 papers.

Sort:

By area:

  1. 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modelingcited by 44
  2. 2025A Survey of Optimization Modeling Meets LLMs: Progress and Future Directionscited by 30
  3. 2025Large Language Models as End-to-end Combinatorial Optimization Solverscited by 27
  4. 2025StepORLM: A Self-Evolving Framework With Generative Process Supervision For Operations Research Language Modelscited by 26
  5. 2025HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimizationcited by 19
  6. 2025OR-R1: Automating Modeling and Solving of Operations Research Optimization Problem via Test-Time Reinforcement Learningcited by 16
  7. 2026Automated Optimization Modeling via a Localizable Error-Driven Perspectivecited by 14
  8. 2025AlphaOPT: Formulating Optimization Programs with Self-Improving LLM Experience Librarycited by 12
  9. 2025ConstraintLLM: A Neuro-Symbolic Framework for Industrial-Level Constraint Programmingcited by 10
  10. 2025SolverLLM: Leveraging Test-Time Scaling for Optimization Problem via LLM-Guided Searchcited by 10
  11. 2026Constructing Industrial-Scale Optimization Modeling Benchmarkcited by 10
  12. 2025MetaBox-v2: A Unified Benchmark Platform for Meta-Black-Box Optimizationcited by 9
38 more
  1. 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solvingcited by 9
  2. 2025OptiMind: Teaching LLMs to Think Like Optimization Expertscited by 9
  3. 2025EvoCut: Strengthening Integer Programs via Evolution-Guided Language Modelscited by 8
  4. 2025SAC-Opt: Semantic Anchors for Iterative Correction in Optimization Modelingcited by 8
  5. 2026ReLoop: Structured Modeling and Behavioral Verification for Reliable LLM-Based Optimizationcited by 8
  6. 2025ORGEval: Graph-Theoretic Evaluation of LLMs in Optimization Modelingcited by 7
  7. 2025Towards Universal Offline Black-Box Optimization via Learning Language Model Embeddingscited by 6
  8. 2025DesignX: Human-Competitive Algorithm Designer for Black-Box Optimizationcited by 5
  9. 2025Toward a Trustworthy Optimization Modeling Agent via Verifiable Synthetic Data Generationcited by 5
  10. 2025HeaRT: A Hierarchical Circuit Reasoning Tree-Based Agentic Framework for AMS Design Optimizationcited by 5
  11. 2026NEMO: Execution-Aware Optimization Modeling via Autonomous Coding Agentscited by 5
  12. 2026Opt-Verifier: Unleashing the Power of LLMs for Optimization Modeling via Dual-Side Verificationcited by 5
  13. 2025LLM-Meta-SR: In-Context Learning for Evolving Selection Operators in Symbolic Regressioncited by 4
  14. 2025Large Language Models in Operations Research: Methods, Applications, and Challengescited by 4
  15. 2026Strategy-Aware Optimization Modeling with Reasoning LLMscited by 4
  16. 2026FrontierOR: Benchmarking LLMs' Capacity for Efficient Algorithm Design in Large-Scale Optimizationcited by 4
  17. 2025Performance of LLMs on Stochastic Modeling Operations Research Problems: From Theory to Practicecited by 3
  18. 2025CALM Before the STORM: Unlocking Native Reasoning for Optimization Modelingcited by 3
  19. 2026From Soliloquy to Agora: Memory-Enhanced LLM Agents with Decentralized Debate for Optimization Modelingcited by 3
  20. 2026AHD Agent: Agentic Reinforcement Learning for Automatic Heuristic Designcited by 3
  21. 2026NC2C: Automated Convexification of Generic Non-Convex Optimization Problemscited by 2
  22. 2026Game-Theoretic Co-Evolution for LLM-Based Heuristic Discoverycited by 2
  23. 2026Canonical Intermediate Representation for LLM-based optimization problem formulation and code generationcited by 2
  24. 2026ContextEvolve: Multi-Agent Context Compression for Systems Code Optimizationcited by 2
  25. 2026MIRROR: A Multi-Agent Framework with Iterative Adaptive Revision and Hierarchical Retrieval for Optimization Modeling in Operations Researchcited by 2
  26. 2026Execution-Verified Reinforcement Learning for Optimization Modelingcited by 2
  27. 2026Let's Have a Conversation: Designing and Evaluating LLM Agents for Interactive Optimizationcited by 2
  28. 2026ORPilot: A Production-Oriented Agentic LLM-for-OR Tool for Optimization Modelingcited by 2
  29. 2026TriVAL: A Tri-Validation Framework for Faithful Automatic Optimization Modelingcited by 2
  30. 2026OptiLoop: Coordination-in-the-Loop Verification and Repair for LLM-Generated Optimization Agentscited by 2
  31. 2026OptSkills: Learning Generalizable Optimization Skills from Problem Archetypes via Cluster-Based Distillationcited by 2
  32. 2026Beyond Objective Equivalence: Constraint Injection for LLM-Based Optimization Modeling on Vehicle Routing Problemscited by 2
  33. 2026VeriSimpl: Robust Optimization Modeling from Natural Language using Simplification-based Verificationcited by 2
  34. 2025OptiHive: Ensemble Selection for LLM-Based Optimization via Statistical Modelingcited by 1
  35. 2025Large Language Model-Based Automatic Formulation for Stochastic Optimization Modelscited by 1
  36. 2025Teaching LLMs to Think Mathematically: A Critical Study of Decision-Making via Optimizationcited by 1
  37. 2025Automated Constraint Specification for Job Scheduling by Regulating Generative Model with Domain-Specific Representationcited by 1
  38. 2025SOCRATES: Simulation Optimization with Correlated Replicas and Adaptive Trajectory Evaluationscited by 1

50 most cited of 102 All 102 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025LLMize: A Framework for Large Language Model-Based Numerical Optimization
  2. 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
  3. 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validation
  4. 2026AutoSG: LLM-Driven Solver Generation Solely from Task Prompts for Expensive Optimization
  5. 2025Exploiting Edited Large Language Models as General Scientific Optimizers
  6. 2025OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modeling
  7. 2025Learn to Relax with Large Language Models: Solving Constraint Optimization Problems via Bidirectional Coevolution
  8. 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling