Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling

About

Optimization modeling is fundamental to decision-making across diverse domains. Despite progress in automating optimization formulation from natural language descriptions, Large Language Models (LLMs) often struggle to generate formally correct and usable models against hallucinations, posing a challenge for reliable automation. Inspired by the success of Reinforcement Learning (RL) in enhancing Large Reasoning Models, we present Solver-Informed Reinforcement Learning (SIRL), a novel framework that significantly improves the authenticity of LLMs for optimization modeling using Reinforcement Learning with Verifiable Reward by leveraging external optimization solvers as verifiers. These verifiers automatically assess the executable code and the instance-level mathematical model represented by the associated LP file, yielding precise and comprehensive feedback signals -- including syntax, feasibility, and solution quality, serving as direct rewards for the RL process. This automated verification process, particularly from classic optimization solvers, also underpins our instance-enhanced self-consistency method to synthesize high-quality training data. Extensive experiments on diverse public benchmarks demonstrate that SIRL achieves state-of-the-art performance, substantially outperforming existing methods in generating accurate and executable optimization models. Our code is publicly available at https://github.com/Cardinal-Operations/SIRL.

Yitian Chen, Jingfan Xia, Siyu Shao, Dongdong Ge, Yinyu Ye• 2025

Related benchmarks

TaskDatasetResultRank
Optimization ModelingOptMATH
Accuracy Rate (AR)71.1
60
Optimization ModelingNL4OPT
Accuracy (pass@1)98
53
Optimization ModelingNL4OPT
Accuracy96.3
29
Optimization ModelingIndustryOR
Accuracy (pass@1)48
23
Optimization ModelingIndustryOR
Accuracy45
17
Optimization ModelingMAMO Complex
Accuracy67.9
15
Optimization ModelingMAMO Easy
Accuracy91.7
15
Optimization ModelingMamo EasyLP
Accuracy (pass@1)94.6
13
Optimization ModelingMamo ComplexLP
Accuracy (pass@1)61.1
13
VRP optimization-modelingVRP Optimization-Modeling Benchmark 4
Pass@130
12
Showing 10 of 24 rows

Other info

Follow for update