OptimAI: Optimization from Natural Language Using LLM-Powered AI Agents

Optimization plays a vital role in scientific research and practical applications. However, translating a concrete optimization problem described in natural language into a mathematical formulation and selecting a suitable solver require substantial domain expertise. We introduce OptimAI, a framework for solving optimization problems described in natural language by leveraging LLM-powered AI agents, and achieve superior performance over current state-of-the-art methods. Our framework is built upon the following key roles: (1) a formulator that translates natural language problem descriptions into mathematical formulations; (2) a planner that constructs a high-level solution strategy prior to execution; and (3) a coder and a code critic capable of interacting with the environment and reflecting to refine future actions. Ablation studies confirm that all roles are essential; removing the planner or code critic results in $5.8\times$ and $3.1\times$ drops in productivity, respectively. Furthermore, we introduce UCB-based debug scheduling to dynamically switch between alternative plans, yielding an additional $3.3\times$ productivity gain. Our design emphasizes multi-agent collaboration, and our experiments confirm that combining diverse models leads to performance gains. The best OptimAI configurations attain 88.1% accuracy on the NLP4LP dataset and 82.3% on the Optibench dataset, reducing error rates by 58% and 52%, respectively, over prior best results.

Authors

Institutions

Publication Details

Journal
Journal of Machine Learning
Published
2026-09-29
DOI
https://doi.org/10.4208/jml.260208
Primary Topic
Multimodal Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

OptimAI: Optimization from Natural Language Using LLM-Powered AI Agents

Ling Liang, Haizhao Yang, Raghav Thind
Journal of Machine Learning
Multimodal Machine Learning Applications
article

OptimAI: Optimization from Natural Language Using LLM-Powered AI Agents

Ling Liang, Haizhao Yang, Raghav Thind
article en

Abstract

Optimization plays a vital role in scientific research and practical applications. However, translating a concrete optimization problem described in natural language into a mathematical formulation and selecting a suitable solver require substantial domain expertise. We introduce OptimAI, a framework for solving optimization problems described in natural language by leveraging LLM-powered AI agents, and achieve superior performance over current state-of-the-art methods. Our framework is built upon the following key roles: (1) a formulator that translates natural language problem descriptions into mathematical formulations; (2) a planner that constructs a high-level solution strategy prior to execution; and (3) a coder and a code critic capable of interacting with the environment and reflecting to refine future actions. Ablation studies confirm that all roles are essential; removing the planner or code critic results in $5.8\times$ and $3.1\times$ drops in productivity, respectively. Furthermore, we introduce UCB-based debug scheduling to dynamically switch between alternative plans, yielding an additional $3.3\times$ productivity gain. Our design emphasizes multi-agent collaboration, and our experiments confirm that combining diverse models leads to performance gains. The best OptimAI configurations attain 88.1% accuracy on the NLP4LP dataset and 82.3% on the Optibench dataset, reducing error rates by 58% and 52%, respectively, over prior best results.

Journal of Machine Learning
University of Maryland, College Park (US)
National Science Foundation, Defense Advanced Research Projects Agency, Office of Naval Research
Openalex Percentile: Top 98%
Multimodal Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

OptimAI: Optimization from Natural Language Using LLM-Powered AI Agents — Ling Liang, Haizhao Yang, et al. · Journal of Machine Learning (2026) | TGRS Research Map | TGRS