Understanding Large Language Models as Numerical Optimizers
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have emerged as potential tools for numerical optimization. Despite promising results, their intrinsic optimization capabilities and limitations remain poorly understood, particularly in high dimensions. This paper investigates the ability of LLMs to exploit mathematical problem structures and generate feasible, near-optimal solutions. We develop an evaluation framework that distinguishes solution quality from execution failures, including numerical inaccuracies, constraint violations, and output-format errors. Using representative problems from convex optimization, fractional programming, and constrained projection, we assess LLM performance against deterministic reference solvers across different dimensions. Our results reveal that LLMs can capture useful optimization structures and produce near-optimal solutions, even when their outputs fail to satisfy numerical or formatting requirements. However, reliability deteriorates with increasing problem dimension and depends strongly on the underlying optimization structure. To further investigate the limitations, we deploy an iterative refinement mechanism that provides targeted feedback on feasibility and solution quality. The results demonstrate that iterative refinement substantially improves reliability and extends the range of problem dimensions over which LLMs produce valid solutions. Nevertheless, persistent numerical and structural errors limit their applicability as standalone optimizers. These findings provide insights into the capacity and limits of LLM-based optimization and motivate hybrid approaches that combine LLM reasoning with deterministic numerical verification.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 23 of its 100 references that are in the map. Submitted 27 Oct 2026.
Builds on
23 of 100 references.
References · 23
- 2020Language Models are Few-Shot Learnerscited by 33,113
- 2022Training language models to follow instructions with human feedbackcited by 16,493
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2020Measuring Massive Multitask Language Understandingcited by 8,473
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,852
- 2021Convex optimizationcited by 2,577
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 2,083
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 2,076
- 2023Large Language Models as Optimizerscited by 985
- 2025ZebraLogic: On the Scaling Limits of LLMs for Logical Reasoningcited by 226
11 more
- 2024Are We Done with MMLU?cited by 225
- 2021Learning to Optimize: A Primer and A Benchmarkcited by 215
- 2016Learning to Optimizecited by 203
- 2023Large Language Models as Evolutionary Optimizerscited by 133
- 2024LLMOPT: Learning to Define and Solve General Optimization Problems from Scratchcited by 112
- 2017Learning to Optimize: Training Deep Neural Networks for Wireless Resource Managementcited by 98
- 2024Large Language Model (LLM) for Telecommunications: A Comprehensive Survey on Principles, Key Techniques, and Opportunitiescited by 89
- 2024Why Do Large Language Models (LLMs) Struggle to Count Letters?cited by 40
- 2024Large Language Model (LLM)-enabled In-context Learning for Wireless Network Optimization: A Case Study of Power Controlcited by 21
- 2024LLMs can Schedulecited by 13
- 2026Large Language Models as Optimizers: A Survey of Direct vs. Tool-Augmented Approaches and Their Performance Frontierscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solving
- 2025LLMize: A Framework for Large Language Model-Based Numerical Optimization
- 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling
- 2025Are Language Models Up to Sequential Optimization Problems? From Evaluation to a Hegelian-Inspired Enhancement
- 2025Exploiting Edited Large Language Models as General Scientific Optimizers
- 2026FrontierOR: Benchmarking LLMs' Capacity for Efficient Algorithm Design in Large-Scale Optimization
- 2024Large Language Model-Based Evolutionary Optimizer: Reasoning with elitism