You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Metadata] Reference objectives per scheme, computed by a script #375
:reference_objective in the metadata: one entry per scheme at the default grid of the problem (value, source = :computed, grid_size, the configurations that converged and their objectives, their agreement, package versions); optionally an analytic value of the continuous problem with its source, shown as information only.
Computed entries are generated by scripts/reference_objectives.jl into one file per problem (ext/MetaData/references/<p>.toml), never edited by hand. Reference = best objective among the configurations of TestConfigs.CONFIGS that converged (tolerance 1e-8); a disagreement between configurations (local minima) is written and printed, not hidden.
Reference objective per scheme at the default grid, for all 22 problems (trapezoidal rule): ext/MetaData/references/<problem>.toml, generated by tools/references/update.jl from the results of the convergence tests (cron artifacts or local test/reports), never edited by hand. Value = best converged objective; the spread between configurations is recorded, agreement = false above 1e-6.
OptimalControlProblems.reference_objective(problem; grid_size, scheme); generated metadata field :reference_objective.
Convergence report: grid size and scheme columns, objective at full precision, gap to the reference.
Consistency tests: a reference that no longer matches the default grid or parameters fails; the comparison rule fails for a problem without any reference.
Activity
ocots commentedon Nov 5, 2026
Taken by an agent; draft PR to follow.
docs: how the reference objectives are computed and when to compute t…
feat: reference objectives of every problem (trapezoidal rule, defaul…
Merge pull request #380 from control-toolbox/feat/375-reference-objec…
ocots commentedon Nov 5, 2026
Done in #380 (merged).
What was done
ext/MetaData/references/<problem>.toml, generated bytools/references/update.jlfrom the results of the convergence tests (cron artifacts or localtest/reports), never edited by hand. Value = best converged objective; the spread between configurations is recorded,agreement = falseabove 1e-6.OptimalControlProblems.reference_objective(problem; grid_size, scheme); generated metadata field:reference_objective.tools/references/README.md.Left to others
mountain_car(two local solutions, Ipopt 102.3976 vs MadNLP 102.3810),jacksonandrocket(MadNLP 1.5e-6 and 1.7e-6 above Ipopt). Details in feat: reference objectives per scheme, computed from the convergence tests (#375) #380 (comment).🤖 Generated with Claude Code