mlsanityData to 14 Oct 2026

Large Language Model-Based Automatic Formulation for Stochastic Optimization Models

arXiv 2508.17200 ↗First posted 24 Aug 2025cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

This paper presents an integrated systematic study of the performance of large language models (LLMs), specifically ChatGPT, for automatically formulating and solving Stochastic Optimization (SO) problems from natural language descriptions. Focusing on three key categories, individual chance-constrained models, joint chance-constrained models, and two-stage stochastic mixed-integer linear programming models, we design several prompts that guide ChatGPT through structured tasks using chain-of-thought and agentic reasoning. We introduce a novel soft-scoring metric that evaluates the structural quality and partial correctness of generated models, addressing the limitations of canonical and execution-based accuracy metrics. Across a diverse set of SO problems, GPT-4-Turbo achieves better partial scores than GPT-3.5 variants except for individual chance-constrained problems. Structured prompts significantly outperform simple prompting, reducing extra-element generation and improving objective matching, although extra-element generation remains a nontrivial task. Our findings reveal that with well-engineered prompts and multi-agent collaboration, LLMs can facilitate SO formulations, paving the way for intelligent, language-driven modeling pipelines for SO in practice.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 29 of its 65 references that are in the map. First posted on arXiv 24 Aug 2025.

Builds on

29 of 65 references.

References · 29

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2023Visual Instruction Tuningcited by 7,869
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  6. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  7. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
  8. 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 165
  9. 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 135
  10. 2023Large Language Models as Evolutionary Optimizerscited by 124
  11. 2024Lean Workbook: A large-scale Lean problem set formalized from natural language math problemscited by 122
  12. 2024Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsalcited by 118
17 more
  1. 2024OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Modelscited by 109
  2. 2024LLMOPT: Learning to Define and Solve General Optimization Problems from Scratchcited by 102
  3. 2025LLM-SRBench: A New Benchmark for Scientific Equation Discovery with Large Language Modelscited by 71
  4. 2022Augmenting Operations Research with Auto-Formulation of Optimization Models from Problem Descriptionscited by 54
  5. 2024OptiMUS-0.3: Using Large Language Models to Model and Solve Optimization Problems at Scalecited by 38
  6. 2023Diagnosing Infeasible Optimization Problems Using Large Language Modelscited by 27
  7. 2024DeLLMa: Decision Making Under Uncertainty with Large Language Modelscited by 21
  8. 2023Synthesizing mixed-integer linear programming models from natural language descriptionscited by 18
  9. 2024LM4OPT: Unveiling the Potential of Large Language Models in Formulating Mathematical Optimization Problemscited by 18
  10. 2024Diversity of Thought Elicits Stronger Reasoning Capabilities in Multi-Agent Debate Frameworkscited by 12
  11. 2023Synthesis of Mathematical programs from Natural Language Specificationscited by 8
  12. 2024Robust and Adaptive Optimization under a Large Language Model Lenscited by 8
  13. 2024Autonomous Multi-Objective Optimization Using Large Language Modelcited by 6
  14. 2024Optimal Decision Making Through Scenario Simulations Using Large Language Modelscited by 3
  15. 2025Performance of LLMs on Stochastic Modeling Operations Research Problems: From Theory to Practicecited by 3
  16. 2016A scenario-based framework for supply planning under uncertainty: stochastic programming versus robust optimization approachescited by 1
  17. 2023An Online Algorithm for Chance Constrained Resource Allocationcited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
  2. 2025OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modeling
  3. 2025Gala: Global LLM Agents for Text-to-Model Translation
  4. 2025Are Language Models Up to Sequential Optimization Problems? From Evaluation to a Hegelian-Inspired Enhancement
  5. 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling
  6. 2025LLMize: A Framework for Large Language Model-Based Numerical Optimization
  7. 2026Let's Have a Conversation: Designing and Evaluating LLM Agents for Interactive Optimization
  8. 2025LILO: Bayesian Optimization with Natural Language Feedback