LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch

刮擦 计算机科学 程序设计语言
作者
Caigao Jiang,Xiang Shu,Hong Qian,Xiong Lu,Jun Zhou,Aimin Zhou,Yu Yang
出处
期刊:Cornell University - arXiv 被引量:3
标识
DOI:10.48550/arxiv.2410.13213
摘要

Optimization problems are prevalent across various scenarios. Formulating and then solving optimization problems described by natural language often requires highly specialized human expertise, which could block the widespread application of optimization-based decision making. To automate problem formulation and solving, leveraging large language models (LLMs) has emerged as a potential way. However, this kind of approach suffers from the issue of optimization generalization. Namely, the accuracy of most current LLM-based methods and the generality of optimization problem types that they can model are still limited. In this paper, we propose a unified learning-based framework called LLMOPT to boost optimization generalization. Starting from the natural language descriptions of optimization problems and a pre-trained LLM, LLMOPT constructs the introduced five-element formulation as a universal model for learning to define diverse optimization problem types. Then, LLMOPT employs the multi-instruction tuning to enhance both problem formalization and solver code generation accuracy and generality. After that, to prevent hallucinations in LLMs, such as sacrificing solving accuracy to avoid execution errors, the model alignment and self-correction mechanism are adopted in LLMOPT. We evaluate the optimization generalization ability of LLMOPT and compared methods across six real-world datasets covering roughly 20 fields such as health, environment, energy and manufacturing, etc. Extensive experiment results show that LLMOPT is able to model various optimization problem types such as linear/nonlinear programming, mixed integer programming, and combinatorial optimization, and achieves a notable 11.08% average solving accuracy improvement compared with the state-of-the-art methods. The code is available at https://github.com/caigaojiang/LLMOPT.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
zwyingg完成签到 ,获得积分10
刚刚
1秒前
2秒前
CC0113发布了新的文献求助888
2秒前
doublemeat发布了新的文献求助10
3秒前
英俊的菲鹰完成签到,获得积分10
3秒前
优秀荔枝完成签到,获得积分10
3秒前
丘比特应助SQC采纳,获得10
4秒前
研友_VZG7GZ应助SQC采纳,获得10
4秒前
4秒前
JamesPei应助SQC采纳,获得10
4秒前
111完成签到 ,获得积分10
4秒前
深情安青应助spz采纳,获得10
5秒前
hahahaha发布了新的文献求助10
6秒前
舒适金鱼完成签到,获得积分10
7秒前
8秒前
RONNIE发布了新的文献求助10
9秒前
唯梦发布了新的文献求助10
10秒前
稳重傲白完成签到 ,获得积分10
11秒前
12秒前
ocean完成签到,获得积分10
13秒前
如意语山完成签到 ,获得积分10
13秒前
整齐觅海关注了科研通微信公众号
16秒前
雪轩完成签到,获得积分10
16秒前
Debra发布了新的文献求助10
17秒前
岁月无痕zxx完成签到,获得积分20
17秒前
Driscoll完成签到 ,获得积分10
18秒前
18秒前
李爱国应助人间采纳,获得10
19秒前
所所应助科研通管家采纳,获得10
19秒前
yang完成签到,获得积分10
19秒前
思源应助科研通管家采纳,获得10
19秒前
吴慧琼发布了新的文献求助10
19秒前
在水一方应助科研通管家采纳,获得10
19秒前
bkagyin应助科研通管家采纳,获得10
20秒前
Frank应助科研通管家采纳,获得10
20秒前
天天快乐应助科研通管家采纳,获得10
20秒前
脑洞疼应助科研通管家采纳,获得10
20秒前
慕青应助科研通管家采纳,获得10
20秒前
科目三应助科研通管家采纳,获得10
21秒前
高分求助中
液晶指向矢仿真分析数据集 8888
Invited Discussant 63O and 64O 1000
Dr. Dirk Wiechmann on Lingual Orthodontics: Part I 888
Ideology and Meaning-Making under the Putin Regime 750
化工技术经济第五版电子版 500
Petrology and Plate Tectonics 500
Writing Systems 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 计算机科学 化学工程 生物化学 物理 内科学 复合材料 催化作用 光电子学 物理化学 电极 细胞生物学 基因 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 6877673
求助须知:如何正确求助?哪些是违规求助? 8577953
关于积分的说明 18227181
捐赠科研通 6258324
什么是DOI,文献DOI怎么找? 3053871
关于科研通互助平台的介绍 2062455
邀请新用户注册赠送积分活动 2031593