[Metadata] Reference objectives per scheme, computed by a script

Aperta
#375 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@ocots ci sta già lavorando.

Dal 5/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Agents: read the guide for agents in #310 first. Specification: this description, #306 and its comments.

Sub-issue of #306, part 1 of 5. Independent.

Scope

  • :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.
  • Convergence report (#360): gap of each solve to the entry of its grid and scheme; no entry, no gap.
  • Consistency tests: type of the field; every :valid problem has a reference; comparison rule (a problem valid in one modeling only needs a reference).

Done when

  • Every problem has a computed trapezoid reference; the PR shows the agreement table.
  • A cron run shows the gap column filled.
  • READMEs say how to (re)compute the references.

Refs #306, #310

Lingua principale
Julia
Stelle
13
Fork
1
Merge medio
3h 20m
PR unite (30g)
27

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di control-toolbox/OptimalControlProblems.jl

Tutte le issue di control-toolbox/OptimalControlProblems.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.