atlas

Research map / Large language models / Agents, code and math

OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Models

ICML 2024 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces OptiMUS, a modular multi-agent LLM system (manager, formulator, programmer, evaluator) with a connection graph that formulates and solves LP/MILP problems from natural language, plus a new NLP4LP benchmark.

Problem

Automating optimization modeling from natural-language descriptions is hard for LLMs due to ambiguous terms, long problem descriptions, large data, and unreliable code/formulations.

Approach

A manager-coordinated team of LLM agents (formulator, programmer, evaluator) that processes each constraint/objective clause independently via a connection graph linking clauses, parameters, and variables, with data separated from the problem text so prompts stay short.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use OptiMUS instead of CoEGPT-4 optimization modeling · NL4OPTaccuracy: 64.2% -> 78.8%Helped
use OptiMUS instead of CoEGPT-4 optimization modeling · ComplexORaccuracy: 38.1% -> 66.7%Helped
use OptiMUS instead of CoEGPT-4 optimization modeling · NLP4LPaccuracy: 53.1% -> 72.0%Helped
add programmer debugging (ablation)OptiMUS (GPT-4) · NL4OPTaccuracy: 72.3% -> 78.7%Helped
add programmer debugging (ablation)OptiMUS (GPT-4) · ComplexORaccuracy: 57.1% -> 66.7%Helped
add programmer debugging (ablation)OptiMUS (GPT-4) · NLP4LPaccuracy: 58.2% -> 71.6 %Helped
use GPT-4 rather than GPT-3.5 for the manager (ablation)OptiMUS · NL4OPTaccuracy: 74.9% -> 78.7%Helped
use GPT-4 rather than GPT-3.5 for the manager (ablation)OptiMUS · ComplexORaccuracy: 52.4% -> 66.7%Helped
use GPT-4 rather than GPT-3.5 for the manager (ablation)OptiMUS · NLP4LPaccuracy: 53.7% -> 71.6 %Helped
use GPT-4 instead of GPT-3.5 across agents (ablation)OptiMUS · NL4OPTaccuracy: 28.6% -> 78.7%Helped
use GPT-4 instead of GPT-3.5 across agents (ablation)OptiMUS · ComplexORaccuracy: 9.5% -> 66.7%Helped
use GPT-4 instead of GPT-3.5 across agents (ablation)OptiMUS · NLP4LPaccuracy: 14.4% -> 71.6 %Helped

Surprising findings

Limitations

Experimental setup

Datasets: NL4Opt ComplexOR NLP4LP

Benchmarks: NL4Opt ComplexOR NLP4LP

Metrics: accuracy compilation error rate runtime error rate average prompt length

Baselines: Standard prompting Reflexion Chain-of-Experts

Builds on: Reflexion Chain-of-Experts

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy