[Dev] Factorise the trapezoidal JuMP models in schemes.jl
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Julia
- Star
- 13
- Fork
- 1
- Merge trung bình
- 3 giờ 24 phút
- Pull request đã merge (30 ngày)
- 34
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của control-toolbox/OptimalControlProblems.jl
-
[Dev] One source of truth per problem, and the equality of the modelings checked by computationCó thể đã có người làm @ocots đã nhận hôm nay. Đang mở
control-toolbox/OptimalControlProblems.jl#391 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Cron] cron-failureĐang mởcron-failure
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 25/100
control-toolbox/OptimalControlProblems.jl#381 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Metadata] Declared fields: tags, references, Corleone, reference solutionCó thể đã có người làm @ocots đã nhận 1 ngày trước. Đang mở
control-toolbox/OptimalControlProblems.jl#379 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Metadata] Shared initial guess in the metadata, read by every modelingCó thể đã có người làm @ocots đã nhận 1 ngày trước. Đang mở
control-toolbox/OptimalControlProblems.jl#377 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Dev] Precompile the problems so that users and tests do not recompile them every timeCó thể đã có người làm @ocots đã nhận 1 ngày trước. Đang mở
control-toolbox/OptimalControlProblems.jl#373 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của control-toolbox/OptimalControlProblems.jl
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
backport 1.14 GC
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày