SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.25832 · 2026

MiniOpt: Reasoning to Model and Solve General Optimization Problems with Limited Resources

Yang Yu, Xiangfeng Wang, Jun Zhou, Hong Qian, Ke Tang, Xingyu Lu, Xiang Shu, Bingdong Li, Qitao Shi, Zixiang Di, Yaolin Wen, Ke Zhao

arXiv · PDF · Open in the Atlas

Code that ran

17 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 15 failures of our instrument; 1 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/2606.25832.json · badge: /api/ran/2606.25832.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
antgroup/LLMOPT canonical (classifier label)
classifier basis: census
10 ran · 0 no recorded run
Hsiang-1/MiniOpt community
Papers with Code archive
7 ran · 1 no recorded run
FunctionStatusWhere it lives
PyomoExecutor Ran
ran on a synthesized input · constructed an object; no result was computed
Hsiang-1/MiniOpt/rl/opt_reward.py
pointer only (licence: NONE) · get_code("b36aa87ff3870104")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Hsiang-1/MiniOpt 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.

Q2C Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/prompts/generate_prompt.py
pointer only (licence: NONE) · get_code("11a20109d1d4cded")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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.

Q2F Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/prompts/generate_prompt.py
pointer only (licence: NONE) · get_code("424573ce442f730f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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.

QF2C Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/prompts/generate_prompt.py
pointer only (licence: NONE) · get_code("c29fef2fb87e9fca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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.

aug_0 Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/prompts/augment_prompt.py
pointer only (licence: NONE) · get_code("41f9c49df2146d47")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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.

aug_1 Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/prompts/augment_prompt.py
pointer only (licence: NONE) · get_code("ed125bc4a9ffd75d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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.

aug_2 Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/prompts/augment_prompt.py
pointer only (licence: NONE) · get_code("d74190a8561fcb4d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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.

classification_background Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/prompts/classification_prompt.py
pointer only (licence: NONE) · get_code("6897470becf3bcf2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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.

classification_type Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/prompts/classification_prompt.py
pointer only (licence: NONE) · get_code("1b8cb3d807bbac67")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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
Hsiang-1/MiniOpt/rl/opt_reward.py
pointer only (licence: NONE) · get_code("dd14950a6b76ffbc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Hsiang-1/MiniOpt 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_value Ran
ran; our contract draft was wrong, not the code
Hsiang-1/MiniOpt/rl/opt_reward.py
pointer only (licence: NONE) · get_code("aff277159c256439")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Hsiang-1/MiniOpt 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.

preprocess Ran
ran; our contract draft was wrong, not the code
Hsiang-1/MiniOpt/rl/opt_reward.py
pointer only (licence: NONE) · get_code("cb34672dd4256cd2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Hsiang-1/MiniOpt 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.

preprocess Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/sft/sft.py
pointer only (licence: NONE) · get_code("d1b60aa8fe0416e6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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.

run_pyomo_code Ran
ran; our contract draft was wrong, not the code
Hsiang-1/MiniOpt/rl/opt_reward.py
pointer only (licence: NONE) · get_code("7150c50fb780ee87")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Hsiang-1/MiniOpt 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.

run_pyomo_code_local Ran
ran; our contract draft was wrong, not the code
Hsiang-1/MiniOpt/rl/opt_reward.py
pointer only (licence: NONE) · get_code("31510c72b92d5555")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Hsiang-1/MiniOpt 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.

self_correction Ran
ran; our contract draft was wrong, not the code
antgroup/LLMOPT/prompts/self_correction_prompt.py
pointer only (licence: NONE) · get_code("763114f4e6850981")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, antgroup/LLMOPT 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.

validate_response_structure Ran
ran, violated the contract we drafted
Hsiang-1/MiniOpt/rl/opt_reward.py
pointer only (licence: NONE) · get_code("571a70217fc3155f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Hsiang-1/MiniOpt 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_score_batched Not yet run
unverified (harvested, no recorded run)
Hsiang-1/MiniOpt/rl/opt_reward.py
pointer only (licence: NONE) · get_code("40bf1b9d93101713")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Hsiang-1/MiniOpt 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, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 0 the same month, 0 later) and 7 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
Q2C 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch
Q2F 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch
QF2C 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch
aug_0 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch
aug_1 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch
aug_2 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch
classification_background 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch
classification_type 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch
extract_code
brick of this paper's assembly: data_transform
1 other paper
1 dated earlier
2505.03335 (2025-05)
Absolute Zero: Reinforced Self-play Reasoning with Zero Data
preprocess 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch
self_correction 1 other paper
1 dated earlier
2410.13213 (2024-10)
LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch

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

Achieving strong optimization generalization across diverse optimization problems while requiring limited training resources remains a challenging problem for optimization-oriented large language models (LLMs). Existing approaches typically rely on large-scale supervised datasets, costly reasoning annotations, and expensive intermediate step verification, resulting in substantial training overhead. To address these challenges, we propose MiniOpt, a reinforcement learning framework that learns to solve optimization problems through an reasoning-to-model-andsolve paradigm. MiniOpt decomposes optimization reasoning into structured optimization modeling and executable solver generation. Building upon this paradigm, we introduce OptReward, a reward function with hierarchical score structure that jointly evaluates formulation and solution, enabling effective policy learning without expert demonstrations. We further develop an optimization-oriented policy optimization strategy that improves exploration efficiency and stabilizes reinforcement learning for compact models. Extensive experiments show that MiniOpt-3B exhibits strong optimization generalization across various optimization types, problem scenarios, and task domains. For models with fewer than 10B parameters, MiniOpt series achieves the highest average solving accuracy (SA). For models with more than 10B parameters, MiniOpt still shows competitive performance. These results suggest that optimization-oriented reward design and reinforcement learning provide an effective pathway for developing compact optimization-specialized language models with strong optimization generalization capabilities. The code is available at https://github.com/Hsiang-1/MiniOpt.

For agents

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

get_harvested_code_for_paper("2606.25832")
get_code_for_paper("2606.25832")
have("2606.25832")

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

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

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

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

Connect an agent — have() is free.