[Tests] NLP equivalence tests between JuMP, ADNLP and Exa

Aperta
#371 0 commenti 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

paper

Sub-issue of #284 (theme), part 4 of 5. Depends on parts 2 and 3; should start after #363 (#360) is merged.

Scope

In the comparison environment, small grid, every problem :valid in both modelings, every scheme and ordering:

  • JuMP (MathOptNLPModel) ↔ ADNLP: exact (nvar, ncon, bounds, x0, NLPModelsTest.consistent_nlps; Hessian values, not counts).
  • JuMP ↔ Exa: exact for :trapeze. For :euler, :midpoint, :euler_implicit, the gap reported in #284 (Exa has m more controls; only the extreme path constraint differs) is recognised by computation and recorded as a warning in the report; any other difference fails. No hand-written list.

Done when

  • Tests pass exactly JuMP ↔ ADNLP for all schemes and orderings.
  • JuMP ↔ Exa exact for trapeze; the recognised gap reported as a warning for the other schemes, shown to fail on any other difference.

Refs #284

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.