Answers are grounded in this paper and cite their sources.
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× and 3.1× drops in productivity, respectively. Furthermore, we introduce UCB-based debug scheduling to dynamically switch between alternative plans, yielding an additional 3.3× 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.
No takes yet. Share an insight, caveat, or question.
Thind et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: