{"title":"Automated optimization modeling and auditing via dual-team multi-LLM-agent cooperative framework","authors":"Yuan Chiang, Wenhui Fan","doi":"10.1007/s10489-026-07536-z","DOIUrl":null,"url":null,"abstract":"<div><p>Translating natural language descriptions into solvable mathematical programs utilizing large language models (LLMs) remains a significant challenge in optimization modeling. Traditional approaches often struggle with error propagation between logical modeling and code implementation, while existing evaluation metrics frequently overlook the structural integrity of the mathematical models. This paper presents a dual-team multi-LLM-agent cooperative framework designed to automate optimization modeling and auditing through a decoupled architecture. The proposed system separates the task into a logical abstraction team that formalizes and audits the mathematical model and a physical implementation team that transcribes the audited model into solver code, with an audited mathematical model as their only interface. To improve the reliability of the generated results, we design an automated auditing protocol comprising a model auditor that jointly checks semantic fidelity and variable definitions, together with an execution-based syntax evaluator and a semantic evaluator for the generated program. Furthermore, we employ Graph Edit Distance to provide a structural assessment of model quality without requiring manual annotation on problem texts. Experimental results on the NL4Opt, ComplexOR, and MAMO datasets with (mixed-integer) linear problems demonstrate that our framework effectively reduces implementation failure and enhances the accuracy of both the mathematical formulation and the final solver code.</p></div>","PeriodicalId":8041,"journal":{"name":"Applied Intelligence","volume":"56 16","pages":""},"PeriodicalIF":3.5000,"publicationDate":"2026-10-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Intelligence","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s10489-026-07536-z","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Translating natural language descriptions into solvable mathematical programs utilizing large language models (LLMs) remains a significant challenge in optimization modeling. Traditional approaches often struggle with error propagation between logical modeling and code implementation, while existing evaluation metrics frequently overlook the structural integrity of the mathematical models. This paper presents a dual-team multi-LLM-agent cooperative framework designed to automate optimization modeling and auditing through a decoupled architecture. The proposed system separates the task into a logical abstraction team that formalizes and audits the mathematical model and a physical implementation team that transcribes the audited model into solver code, with an audited mathematical model as their only interface. To improve the reliability of the generated results, we design an automated auditing protocol comprising a model auditor that jointly checks semantic fidelity and variable definitions, together with an execution-based syntax evaluator and a semantic evaluator for the generated program. Furthermore, we employ Graph Edit Distance to provide a structural assessment of model quality without requiring manual annotation on problem texts. Experimental results on the NL4Opt, ComplexOR, and MAMO datasets with (mixed-integer) linear problems demonstrate that our framework effectively reduces implementation failure and enhances the accuracy of both the mathematical formulation and the final solver code.
期刊介绍:
With a focus on research in artificial intelligence and neural networks, this journal addresses issues involving solutions of real-life manufacturing, defense, management, government and industrial problems which are too complex to be solved through conventional approaches and require the simulation of intelligent thought processes, heuristics, applications of knowledge, and distributed and parallel processing. The integration of these multiple approaches in solving complex problems is of particular importance.
The journal presents new and original research and technological developments, addressing real and complex issues applicable to difficult problems. It provides a medium for exchanging scientific research and technological achievements accomplished by the international community.