[Dev] Factorise the trapezoidal JuMP models in schemes.jl
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
Sub-issue of #284 (theme), part 1 of 5. Specification: the comments of #284 (spec comment, and the first-task report).
Scope
ext/JuMPModels/schemes.jlwrites the trapezoidal scheme once: variables, dynamics, path constraints, objective (Lagrange added directly, Mayer and Bolza as today), boundary constraints, in CTDirect's interleaved order.- Each
ext/JuMPModels/<problem>.jldeclares only its data: dimensions and names, bounds, initial guess, dynamics, Lagrange and Mayer costs, path and boundary constraints, as functions returning JuMP expressions. - Metadata keys of the JuMP model unchanged (checked by the contract tests of #304).
Not in scope
Other schemes (part 2), orderings (part 3), equivalence tests (part 4).
Done when
- Every JuMP problem goes through
schemes.jl; problem files hold data only. - Same NLP as before the change for every problem (variables, constraints, bounds, objective and constraint values at the initial point), checked against the current models.
- JuMP tests and contract tests pass.
Refs #284
- 主要语言
- Julia
- 星标
- 13
- 派生
- 1
- 平均合并
- 3 小时 20 分钟
- 30 天内合并 PR
- 27
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
control-toolbox/OptimalControlProblems.jl 的其他 Issue
-
[Metadata] Declared fields: tags, references, Corleone, reference solution可能已有人在做 @ocots 今天认领。 未关闭
control-toolbox/OptimalControlProblems.jl#379 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Cron] Robustness of the initial guess and known local objectives可能已有人在做 @ocots 今天认领。 未关闭
control-toolbox/OptimalControlProblems.jl#378 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Metadata] Shared initial guess in the metadata, read by every modeling可能已有人在做 @ocots 今天认领。 未关闭
control-toolbox/OptimalControlProblems.jl#377 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Metadata] Compute the features of a problem from its model可能已有人在做 @ocots 今天认领。 未关闭
control-toolbox/OptimalControlProblems.jl#376 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Metadata] Reference objectives per scheme, computed by a script可能已有人在做 @ocots 今天认领。 未关闭
control-toolbox/OptimalControlProblems.jl#375 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 control-toolbox/OptimalControlProblems.jl 的全部 Issue
相似的 Issue
-
backport 1.14 GC
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
JuliaDiff/TaylorSeries.jl#445 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
control-toolbox/CTActions#139 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
SciML/Optimization.jl#1448 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
SciML/PETScDiffEq.jl#362 ·
维护者通常 1 天内回复