[Tests] Remove the MadNLP barrier bypass once CTSolvers ≥ 0.7.1 is used
Maintainer thường phản hồi trong vòng 1 ngày
@ocots đang làm issue này rồi.
Từ ngày 7/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Context
The robustness tests (#378) solve with MadNLP under other barrier options. With CTSolvers 0.5, the MadNLP strategy accepts mu_init but MadNLP 0.10 ignores it, and barrier is not declared. So test/common/solve_optimalcontrol.jl (function barrier) builds MadNLP.MonotoneUpdate(; mu_init) or MadNLP.LOQOUpdate() itself and passes it with OptimalControl.bypass(...).
Fixed upstream in control-toolbox/CTSolvers.jl#321 (control-toolbox/CTSolvers.jl#322, merged): mu_init and mu_min now reach MadNLP, and barrier is a declared option. The fix is on CTSolvers 0.7.x. OptimalControl and CTDirect still require CTSolvers = "0.5", so it cannot be used here yet.
To do, once the test environments resolve CTSolvers ≥ 0.7.1
- In
test/common/solve_optimalcontrol.jl, remove thebypass: passmu_initas is, andbarrier=MadNLP.LOQOUpdate()as a declared option (or remove the functionbarrier). - Keep the robustness option sets of
test/common/configs.jlunchanged, and check on one problem that the iterates are the same as with thebypass(e.g.mountain_carwithmu_init=1e-5reaches 102.39757). - Update
test/README.mdif it mentions thebypass.
Refs #378, #306
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Julia
- Star
- 13
- Fork
- 1
- Merge trung bình
- 3 giờ 9 phút
- Pull request đã merge (30 ngày)
- 47
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
-
[Cron] cron-convergenceĐang mởcron-convergence
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
control-toolbox/OptimalControlProblems.jl#418 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Dev] Split src into submodules (ct-conventions MOD1, MOD2), keeping the public exportsCó thể đã có người làm @ocots đã nhận hôm nay. Đang mởdev
control-toolbox/OptimalControlProblems.jl#413 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Metadata] Reference solutions with how they were obtained: typed references and APICó thể đã có người làm @ocots đã nhận hôm nay. Đang mởfeature
control-toolbox/OptimalControlProblems.jl#409 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[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 1 ngày trước. Đang mở
control-toolbox/OptimalControlProblems.jl#391 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Restore the full CI matrix (Julia 1.10, macOS, Windows) after the reorganisationCó thể đã có người làm @ocots đã nhận 2 ngày trước. Đang mở
control-toolbox/OptimalControlProblems.jl#344 · 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ự
-
lux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
JuliaGraphs/GraphNeuralNetworks.jl#732 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
erfinv(::Float16) and erfcinv(::Float16) are wrong for abs(x) <= 0.75 (erfinv(Float16(0)) == 0.2201)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
JuliaMath/SpecialFunctions.jl#571 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100