Strategy-Aware Optimization Modeling with Reasoning LLMs

Ruiqing Zhao, Fengzhi Li, Yuan Zuo, Rui Liu, Yansong Liu +3 more
5/4/2026
4 citations
cs.AI

Official code: rachhhhing/SAGE (5 stars, Python, last commit 2026-06-26).

Abstract

Large language models (LLMs) can generate syntactically valid optimization programs, yet often struggle to reliably choose an effective modeling strategy, leading to incorrect formulations and inefficient solver behavior. We propose SAGE, a strategy-aware framework that makes Modeling Strategy explicit in both data construction and post-training.

Show full abstract

SAGE builds a solver-verified multi-strategy dataset and trains a student model with supervised fine-tuning followed by Segment-Weighted GRPO using a composite reward over format compliance, correctness, and solver efficiency. Across eight benchmarks spanning synthetic and real-world settings, SAGE improves average pass@1 from 72.7 to 80.3 over the strongest open-source baseline. With multiple generations, SAGE discovers more distinct correct formulations and improves component-level diversity at pass@16 by 19-29%. At the largest scale, SAGE produces more compact constraint systems with 14.2% fewer constraints than the baseline, consistent with solver-efficient modeling. Overall, these results show that making Modeling Strategy explicit improves automated optimization modeling. Code is available at https://github.com/rachhhhing/SAGE.

View on arXivView PDF

Code Implementations(1)

rachhhhing/SAGEOfficial100%
50PythonJan 28, 20265 months ago

Similar Papers

Cite this paper

@article{zhao2026strategyaware,
  title  = {Strategy-Aware Optimization Modeling with Reasoning LLMs},
  author = {Ruiqing Zhao and Fengzhi Li and Yuan Zuo and Rui Liu and Yansong Liu and Yunfei Ma and Fanyu Meng and Junlan Feng},
  year   = {2026},
  eprint = {2605.02545},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.02545v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.02545.svg)](https://codeofpaper.com/paper/2605.02545)

Discussion