OptiAgent: End-to-End Optimization Modeling via Multi-Agent Iterative Refinement

Adriana Laurindo Monteiro, Nayse Fagundes, Gabriel Mattos Langeloh, Gustavo de Oliveira Kanno, Priscila Louise Aguirre +2 more
7/6/2026
cs.AIcs.MA

No confident code implementation found for this paper.

Abstract

We propose OptiAgent, a multi-agent framework that, given a natural language description of an Operations Research problem, is able to output a solver-ready mathematical formulation as well as executable code. Our architecture prioritizes the mathematical modeling step, where dedicated agents extract structures, such as decision variables and constraints, enabling iterative self-correction.

Show full abstract

We introduce a novel multi-loop validation architecture with four specialized feedback mechanisms, each targeting a distinct failure mode such as misinterpretation, structural defects, mathematical inconsistencies, validation failures, and code errors. Alongside accuracy, our modular design improves the process of solving optimization problems by improving transparency, as each agent exposes its reasoning and feedback, making the full modeling process auditable. Our framework achieves state-of-the-art performance on 3 out of 4 benchmarks across LP, MILP, and Nonlinear Programming tasks, while remaining highly competitive on the remaining dataset.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{monteiro2026optiagent,
  title  = {OptiAgent: End-to-End Optimization Modeling via Multi-Agent Iterative Refinement},
  author = {Adriana Laurindo Monteiro and Nayse Fagundes and Gabriel Mattos Langeloh and Gustavo de Oliveira Kanno and Priscila Louise Aguirre and Thiago Costa Rizuti da Rocha and Victor Leme Beltran},
  year   = {2026},
  eprint = {2607.05346},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.05346v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.05346.svg)](https://codeofpaper.com/paper/2607.05346)

Discussion