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

Abierto
#375 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@ocots ya está trabajando en esto.

Desde el 5/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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

Lenguaje dominante
Julia
Estrellas
13
Forks
1
Merge medio
3 h 20 min
PR fusionados (30 d)
27

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de control-toolbox/OptimalControlProblems.jl

Todos los issues de control-toolbox/OptimalControlProblems.jl

Issues similares

Más issues de Julia

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.