Solving General Natural-Language-Description Optimization Problems with Large Language Models
Jihai Zhang, Wei Wang, Siyan Guo, Li Wang, Fangquan Lin, Cheng Yang,, Wotao Yin

TL;DR
This paper introduces OptLLM, a framework that enables large language models to understand natural language optimization problems, convert them into mathematical formulations, and solve them using external solvers, facilitating broader accessibility.
Contribution
The paper presents a novel framework, OptLLM, that integrates LLMs with external solvers for natural language-based optimization problem solving, including multi-round dialogue support and demonstrated effectiveness.
Findings
OptLLM works with various LLMs, including fine-tuned models.
Fine-tuned models outperform prompt-based models in accuracy.
Framework supports multiple optimization applications with promising results.
Abstract
Optimization problems seek to find the best solution to an objective under a set of constraints, and have been widely investigated in real-world applications. Modeling and solving optimization problems in a specific domain typically require a combination of domain knowledge, mathematical skills, and programming ability, making it difficult for general users and even domain professionals. In this paper, we propose a novel framework called OptLLM that augments LLMs with external solvers. Specifically, OptLLM accepts user queries in natural language, convert them into mathematical formulations and programming codes, and calls the solvers to calculate the results for decision-making. In addition, OptLLM supports multi-round dialogues to gradually refine the modeling and solving of optimization problems. To illustrate the effectiveness of OptLLM, we provide tutorials on three typical…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Semantic Web and Ontologies
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Sparse Evolutionary Training · Byte Pair Encoding · Cosine Annealing · Layer Normalization · Linear Layer · Attention Dropout · Adam · Dropout · Weight Decay
