[Paper] Measure, then clean up the `_s` problem variants
Maintainer antworten meist innerhalb von 1 Tag
@ocots arbeitet bereits daran.
Seit 31.10.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Goal
Decide whether the _s problem variants (dynamics written coordinate by coordinate, historically required by Exa) are still useful. Decision taken: measure first whether the scalarized version is significantly better than the vectorial one. If it changes nothing, remove the _s variants; otherwise keep both and compare them in the paper.
What we know
_svariants exist for the 22 problems (ext/OptimalControlModels_s/), with their stubs andtest/test_OptimalControl_s.jl.- In OptimalControl v2,
:exaaccepts the vector form of the dynamics (see the GPU page of the documentation), so the original reason may be gone. CTBenchmarks still runs Exa through<problem>_s. - The coordinate-wise form changes the ExaModels code generated by CTParser, hence possibly the number of expression nodes and the GPU performance.
Proposed measurements
- 22 problems,
:exa(CPU and GPU) and:adnlp; three grid sizes (for instance 500, 2000, 10000). - Model build time, solve time, iterations, objective, nonzeros of the Jacobian and of the Hessian.
- Criterion to fix (for instance median time difference below about 10 %, same iterations and objective).
If the variants are removed
Delete ext/OptimalControlModels_s/, the <problem>_s stubs and the corresponding test; close #174 and #136.
Related
#174, #136. Depends on the v2 port of both packages for a clean measurement.
How to work on this theme
This is a theme issue: it describes the work to do and what is known so far, it is not meant to be closed by a single PR.
- Whoever takes it first defines the work precisely and splits it into sub-issues (they can live in any repository of the organization).
- Work proceeds through the sub-issues; tick the checklist below as they are closed.
- Close the theme when everything is done or explicitly dropped.
Context: tracking issue control-toolbox/CTBenchmarks.jl#200; planning notes: objectives and directions and updating OptimalControlProblems and CTBenchmarks (in control-toolbox/benchmark-paper).
Sub-issues
- to be created when the theme is taken
- Vorherrschende Sprache
- Julia
- Sterne
- 13
- Forks
- 1
- Ø Merge
- 3 Std. 24 Min.
- Gemergte PRs (30 T.)
- 34
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus control-toolbox/OptimalControlProblems.jl
-
[Dev] One source of truth per problem, and the equality of the modelings checked by computationEvtl. vergeben @ocots hat das heute übernommen. Offen
control-toolbox/OptimalControlProblems.jl#391 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Cron] cron-failureOffencron-failure
Schwierigkeit 4/5 1-2 Tage Anfängerfreundlichkeit 25/100
control-toolbox/OptimalControlProblems.jl#381 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Metadata] Declared fields: tags, references, Corleone, reference solutionEvtl. vergeben @ocots hat das vor 1 Tag übernommen. Offen
control-toolbox/OptimalControlProblems.jl#379 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Metadata] Shared initial guess in the metadata, read by every modelingEvtl. vergeben @ocots hat das vor 1 Tag übernommen. Offen
control-toolbox/OptimalControlProblems.jl#377 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Dev] Precompile the problems so that users and tests do not recompile them every timeEvtl. vergeben @ocots hat das vor 1 Tag übernommen. Offen
control-toolbox/OptimalControlProblems.jl#373 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in control-toolbox/OptimalControlProblems.jl
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Add project: Typst_jll.jlEvtl. vergeben @github-actions hat das vor 1 Tag übernommen. Offenadd-project
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 76/100
YDX-2147483647/best-of-typst#590 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100