OptiMUS-0.3: Using Large Language Models to Model and Solve Optimization Problems at Scale

AhmadiTeshnizi, Ali, Gao, Wenzhi, Brunborg, Herman, Talaei, Shayan, Udell, Madeleine

arXiv.org Artificial Intelligence 

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. We introduce a Large Language Model (LLM)-based system designed to formulate and solve (mixed integer) linear programming problems from their natural language descriptions. Our system is capable of developing mathematical models, writing and debugging solver code, evaluating the generated solutions, and improving efficiency and correctness of its model and code based on these evaluations.