[Dev] Variable and constraint ordering of the JuMP models

Geschlossen
#370 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@ocots arbeitet bereits daran.

Seit 05.11.2026.

  • #390 von @ocots — gemerged

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

paper

Sub-issue of #284 (theme), part 3 of 5. Depends on part 1 (https://github.com/control-toolbox/OptimalControlProblems.jl/issues/368).

Scope

  • ordering = :interleaved (default, CTDirect's order) or :blocks (all states, then all controls, then the variable; constraints grouped by kind), stored in model[:ordering].
  • The permutation between both orders is known, so that the equivalence tests (part 4) stay exact for both.

Done when

  • Both orderings for every JuMP problem and scheme; model[:ordering] checked by the contract tests.

Refs #284

Vorherrschende Sprache
Julia
Sterne
13
Forks
1
Ø Merge
3 Std. 9 Min.
Gemergte PRs (30 T.)
47

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus control-toolbox/OptimalControlProblems.jl

Alle Issues in control-toolbox/OptimalControlProblems.jl

Ähnliche Issues

Weitere Issues zu Julia

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.