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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: AhmadiTeshnizi, Ali, Gao, Wenzhi, Udell, Madeleine
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917590933176320
author AhmadiTeshnizi, Ali
Gao, Wenzhi
Udell, Madeleine
author_facet AhmadiTeshnizi, Ali
Gao, Wenzhi
Udell, Madeleine
contents Optimization problems are pervasive in sectors from manufacturing and distribution to healthcare. However, most such problems are still solved heuristically by hand rather than optimally by state-of-the-art solvers because the expertise required to formulate and solve these problems limits the widespread adoption of optimization tools and techniques. This paper introduces OptiMUS, a Large Language Model (LLM)-based agent designed to formulate and solve (mixed integer) linear programming problems from their natural language descriptions. OptiMUS can develop mathematical models, write and debug solver code, evaluate the generated solutions, and improve its model and code based on these evaluations. OptiMUS utilizes a modular structure to process problems, allowing it to handle problems with long descriptions and complex data without long prompts. Experiments demonstrate that OptiMUS outperforms existing state-of-the-art methods on easy datasets by more than $20\%$ and on hard datasets (including a new dataset, NLP4LP, released with this paper that features long and complex problems) by more than $30\%$.
format Preprint
id arxiv_https___arxiv_org_abs_2402_10172
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Models
AhmadiTeshnizi, Ali
Gao, Wenzhi
Udell, Madeleine
Artificial Intelligence
Multiagent Systems
Optimization problems are pervasive in sectors from manufacturing and distribution to healthcare. However, most such problems are still solved heuristically by hand rather than optimally by state-of-the-art solvers because the expertise required to formulate and solve these problems limits the widespread adoption of optimization tools and techniques. This paper introduces OptiMUS, a Large Language Model (LLM)-based agent designed to formulate and solve (mixed integer) linear programming problems from their natural language descriptions. OptiMUS can develop mathematical models, write and debug solver code, evaluate the generated solutions, and improve its model and code based on these evaluations. OptiMUS utilizes a modular structure to process problems, allowing it to handle problems with long descriptions and complex data without long prompts. Experiments demonstrate that OptiMUS outperforms existing state-of-the-art methods on easy datasets by more than $20\%$ and on hard datasets (including a new dataset, NLP4LP, released with this paper that features long and complex problems) by more than $30\%$.
title OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Models
topic Artificial Intelligence
Multiagent Systems
url https://arxiv.org/abs/2402.10172