Execution-Verified Reinforcement Learning for Optimization Modeling

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Guan, Runda, Shen, Xiangqing, Zhang, Jiajun, Zhang, Yifan, Cheng, Jian, Xia, Rui
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915905095598080
author Guan, Runda
Shen, Xiangqing
Zhang, Jiajun
Zhang, Yifan
Cheng, Jian
Xia, Rui
author_facet Guan, Runda
Shen, Xiangqing
Zhang, Jiajun
Zhang, Yifan
Cheng, Jian
Xia, Rui
contents Automating optimization modeling with LLMs is a promising path toward scalable decision intelligence, but existing approaches either rely on agentic pipelines built on closed-source LLMs with high inference latency, or fine-tune smaller LLMs using costly process supervision that often overfits to a single solver API. Inspired by reinforcement learning with verifiable rewards, we propose Execution-Verified Optimization Modeling (EVOM), an execution-verified learning framework that treats a mathematical programming solver as a deterministic, interactive verifier. Given a natural-language problem and a target solver, EVOM generates solver-specific code, executes it in a sandboxed harness, and converts execution outcomes into scalar rewards, optimized with GRPO and DAPO in a closed-loop generate-execute-feedback-update process. This outcome-only formulation removes the need for process-level supervision, and enables cross-solver generalization by switching the verification environment rather than reconstructing solver-specific datasets. Experiments on NL4OPT, MAMO, IndustryOR, and OptiBench across Gurobi, OR-Tools, and COPT show that EVOM matches or outperforms process-supervised SFT, supports zero-shot solver transfer, and achieves effective low-cost solver adaptation by continuing training under the target solver backend.
format Preprint
id arxiv_https___arxiv_org_abs_2604_00442
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Execution-Verified Reinforcement Learning for Optimization Modeling
Guan, Runda
Shen, Xiangqing
Zhang, Jiajun
Zhang, Yifan
Cheng, Jian
Xia, Rui
Artificial Intelligence
Computation and Language
Automating optimization modeling with LLMs is a promising path toward scalable decision intelligence, but existing approaches either rely on agentic pipelines built on closed-source LLMs with high inference latency, or fine-tune smaller LLMs using costly process supervision that often overfits to a single solver API. Inspired by reinforcement learning with verifiable rewards, we propose Execution-Verified Optimization Modeling (EVOM), an execution-verified learning framework that treats a mathematical programming solver as a deterministic, interactive verifier. Given a natural-language problem and a target solver, EVOM generates solver-specific code, executes it in a sandboxed harness, and converts execution outcomes into scalar rewards, optimized with GRPO and DAPO in a closed-loop generate-execute-feedback-update process. This outcome-only formulation removes the need for process-level supervision, and enables cross-solver generalization by switching the verification environment rather than reconstructing solver-specific datasets. Experiments on NL4OPT, MAMO, IndustryOR, and OptiBench across Gurobi, OR-Tools, and COPT show that EVOM matches or outperforms process-supervised SFT, supports zero-shot solver transfer, and achieves effective low-cost solver adaptation by continuing training under the target solver backend.
title Execution-Verified Reinforcement Learning for Optimization Modeling
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2604.00442