SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.02545 · ICML · 2026

Strategy-Aware Optimization Modeling with Reasoning LLMs

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

arXiv · PDF · Open in the Atlas

Code that ran

15 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 7 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2605.02545.json · badge: /api/ran/2605.02545.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
rachhhhing/SAGE canonical (classifier label)
classifier basis: census
15 ran · 3 no recorded run
FunctionStatusWhere it lives
add_forced_prefix Ran
ran; our contract draft was wrong, not the code
rachhhhing/SAGE/reward_func/batch_score_no_eff.py
pointer only (licence: NONE) · get_code("34c41c7c653b2aab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_partial_loss_weights Ran
ran; our contract draft was wrong, not the code
rachhhhing/SAGE/segment_weight/ppo_weight/ray_trainer.py
pointer only (licence: NONE) · get_code("dea64a5276dece42")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

efficiency_reward Ran
ran, honoured the contract we drafted
rachhhhing/SAGE/reward_func/batch_score.py
pointer only (licence: NONE) · get_code("f9d4075c4c062110")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_code Ran
ran; our contract draft was wrong, not the code
rachhhhing/SAGE/eval/execute.py
pointer only (licence: NONE) · get_code("dc0fc511d2aa9942")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_obj Ran
ran, honoured the contract we drafted
rachhhhing/SAGE/eval/execute.py
pointer only (licence: NONE) · get_code("96a2b70a79fda250")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_obj Ran
ran, honoured the contract we drafted
rachhhhing/SAGE/reward_func/content_utils.py
pointer only (licence: NONE) · get_code("6f6f2eb4dfe79a92")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_tag_start_position Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rachhhhing/SAGE/segment_weight/ppo_weight/ray_trainer.py
pointer only (licence: NONE) · get_code("038678ff6db42fee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

format_reward Ran
ran, honoured the contract we drafted
rachhhhing/SAGE/reward_func/batch_score.py
pointer only (licence: NONE) · get_code("c15d4169879b293c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

format_reward Ran
ran, honoured the contract we drafted
rachhhhing/SAGE/reward_func/batch_score_no_tem.py
pointer only (licence: NONE) · get_code("ef9fa7347607c290")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

insert_print Ran
ran; our contract draft was wrong, not the code
rachhhhing/SAGE/reward_func/content_utils.py
pointer only (licence: NONE) · get_code("6bc4a431c024319e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_data Ran
ran; our contract draft was wrong, not the code
rachhhhing/SAGE/eval/generate.py
pointer only (licence: NONE) · get_code("d37dd0c22fdd4508")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_tags Ran
ran; our contract draft was wrong, not the code
rachhhhing/SAGE/segment_weight/ppo_weight/ray_trainer.py
pointer only (licence: NONE) · get_code("94d0c4245504c165")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

outcome_reward Ran
ran, honoured the contract we drafted
rachhhhing/SAGE/reward_func/batch_score.py
pointer only (licence: NONE) · get_code("ed2f60e530a69b2b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

outcome_reward Ran
ran, honoured the contract we drafted
rachhhhing/SAGE/reward_func/batch_score_val.py
pointer only (licence: NONE) · get_code("da03e1d0162e413d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

register_adv_est Ran
ran; our contract draft was wrong, not the code
rachhhhing/SAGE/segment_weight/ppo_weight/core_algos.py
pointer only (licence: NONE) · get_code("7f8001a4a7d13a93")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compile_script Not yet run
unverified (harvested, no recorded run)
rachhhhing/SAGE/eval/execute.py
pointer only (licence: NONE) · get_code("3f4159cfe3089da2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

extract_code_block Not yet run
unverified (harvested, no recorded run)
rachhhhing/SAGE/reward_func/content_utils.py
pointer only (licence: NONE) · get_code("eaeb1c20e27a0a8c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_policy_loss_fn Not yet run
unverified (harvested, no recorded run)
rachhhhing/SAGE/segment_weight/ppo_weight/core_algos.py
pointer only (licence: NONE); the stored copy get_code serves, from xcyao00/HTPO, is pointer only (licence: NONE) · get_code("4934c3fc0de3741a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rachhhhing/SAGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 0 later) and 17 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_policy_loss_fn 2 other papers
1 dated earlier, 1 the same month
2507.13833 (2025-07)
DISTFLOW: A Fully Distributed RL Framework for Scalable and Efficient LLM Post-Training
2605.08283 (2026-05)
HTPO: Towards Exploration-Exploitation Balanced Policy Optimization via Hierarchical Token-level Objective Control

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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. SAGE builds a solververified 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 componentlevel 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.02545")
get_code_for_paper("2605.02545")
have("2605.02545")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2605.02545.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2605.02545.svg)](https://syntology.ai/paper/2605.02545)

Connect an agent — have() is free.