[Dev] JuMP models for Euler, implicit Euler and midpoint

Aperta
#369 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 2 of 5. Depends on part 1 (https://github.com/control-toolbox/OptimalControlProblems.jl/issues/368). Should start after #363 (#360) is merged: it touches the same test files.

Scope

  • :euler, :euler_implicit, :midpoint in schemes.jl, with the CTDirect conventions of the spec comment of #284 (N controls; path constraints at the N+1 nodes, the extreme node reusing U_N, or U_1 for implicit Euler).
  • API: grid_size and scheme named and valued as in OptimalControl.Collocation; model[:scheme].
  • Control counts per scheme in the JuMP accessors, in the construction of a Solution (#329: control time grid, control_interpolation), and in the contract tests (#304).

Done when

  • Four schemes for every JuMP problem.
  • Accessors, Solution construction and contract tests handle N vs N+1 controls.

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.