LLMs Can Design Near-Optimal OR Algorithms
Jackie Baek
Key points
From the paper's conclusion- These results suggest that frontier LLMs can be a serious empirical baseline for algorithm design in well-specified OR problems.
Abstract
We ask whether large language models (LLMs) can design effective algorithms for well-specified operations research (OR) problems. We study inventory control, queueing network control, and assortment optimization. We evaluate two levels of LLM use: at level 1, the model receives one problem instance and returns a solution for that instance; at level 2, it receives only the problem class description and broad parameter ranges, and returns an algorithm that maps instance parameters to solutions. Human input is minimal: we give one untuned prompt that describes the problem, and the model has access to a Python sandbox tool with a fixed compute budget. The strongest model we test, gpt-5.6-sol, matches or outperforms the best existing method on almost all evaluated instances. This holds even at level 2, where the returned algorithm is fixed before seeing the evaluation instances. Performance also improves sharply across models released less than eight months apart, suggesting that this capability is moving quickly. Thus, for the well-specified operations problems we study, a single untuned LLM query can already produce algorithms competitive with specialized methods. These results suggest that frontier LLMs can be a serious empirical baseline for algorithm design in well-specified OR problems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- OR-License: Evaluating LLM Agents as Real-World Operations Research PractitionersarXiv · 2026
- The FrontierOR Challenge: Agentic Algorithm Design for Operations ResearcharXiv · 2026
- Harnessing Language Models as Optimization Modeling AgentsarXiv · 2026
- Ask Before You Optimize: Dynamic Pre-Formulation Clarification for Interactive OptimizationarXiv · 2026
- Agentic Optimization: LLM Agents Select and Configure Algorithms for Engineering DesignarXiv · 2026
- Agentic AI-Assisted Modeling for Production Scheduling: Assessment in Constraint ProgrammingarXiv · 2026