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

Fechada
#375 1 comentário 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@ocots já está trabalhando nisso.

Desde 5/11/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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

Linguagem predominante
Julia
Estrelas
13
Forks
1
Merge médio
3h 9min
PRs com merge (30d)
47

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de control-toolbox/OptimalControlProblems.jl

Todas as issues de control-toolbox/OptimalControlProblems.jl

Issues semelhantes

Mais issues de Julia

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.