Papers › Strategy-Aware Optimization Modeling with Reasoning LLMs

Strategy-Aware Optimization Modeling with Reasoning LLMs

4 May 2026ICMLarXiv:2605.02545added by Syntology

Ruiqing Zhao, Fengzhi Li, Yuan Zuo, Rui Liu, Yansong Liu, Yunfei Ma, Fanyu Meng, Junlan Feng

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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. 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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.02545")

Code

Syntology Ran 15 of 18 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 15 ran with no contract checked.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 15 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

rachhhhing/SAGE found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 15 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

15ran
3unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from rachhhhing/SAGE. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_forced_prefix rachhhhing/SAGE/reward_func/batch_score_no_eff.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 34c41c7c653b2aab · report
compute_partial_loss_weights rachhhhing/SAGE/segment_weight/ppo_weight/ray_trainer.py found in paper text by Syntology ran no licence file found · pointer only · dea64a5276dece42 · report
efficiency_reward rachhhhing/SAGE/reward_func/batch_score.py found in paper text by Syntology ran no licence file found · pointer only · f9d4075c4c062110 · report
extract_code rachhhhing/SAGE/eval/execute.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · dc0fc511d2aa9942 · report
extract_obj rachhhhing/SAGE/eval/execute.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 96a2b70a79fda250 · report
extract_obj rachhhhing/SAGE/reward_func/content_utils.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 6f6f2eb4dfe79a92 · report
find_tag_start_position rachhhhing/SAGE/segment_weight/ppo_weight/ray_trainer.py found in paper text by Syntology ran no licence file found · pointer only · 038678ff6db42fee · report
format_reward rachhhhing/SAGE/reward_func/batch_score.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · c15d4169879b293c · report
format_reward rachhhhing/SAGE/reward_func/batch_score_no_tem.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · ef9fa7347607c290 · report
insert_print rachhhhing/SAGE/reward_func/content_utils.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 6bc4a431c024319e · report
load_data rachhhhing/SAGE/eval/generate.py found in paper text by Syntology ran no licence file found · pointer only · d37dd0c22fdd4508 · report
load_tags rachhhhing/SAGE/segment_weight/ppo_weight/ray_trainer.py found in paper text by Syntology ran no licence file found · pointer only · 94d0c4245504c165 · report
outcome_reward rachhhhing/SAGE/reward_func/batch_score.py found in paper text by Syntology ran no licence file found · pointer only · ed2f60e530a69b2b · report
outcome_reward rachhhhing/SAGE/reward_func/batch_score_val.py found in paper text by Syntology ran no licence file found · pointer only · da03e1d0162e413d · report
register_adv_est rachhhhing/SAGE/segment_weight/ppo_weight/core_algos.py found in paper text by Syntology ran no licence file found · pointer only · 7f8001a4a7d13a93 · report
compile_script rachhhhing/SAGE/eval/execute.py found in paper text by Syntology unverified no licence file found · pointer only · 3f4159cfe3089da2 · report
extract_code_block rachhhhing/SAGE/reward_func/content_utils.py found in paper text by Syntology unverified no licence file found · pointer only · eaeb1c20e27a0a8c · report
get_policy_loss_fn rachhhhing/SAGE/segment_weight/ppo_weight/core_algos.py found in paper text by Syntology unverified no licence file found · pointer only · 4934c3fc0de3741a · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.02545, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections