[Tests] Remove the MadNLP barrier bypass once CTSolvers ≥ 0.7.1 is used
メンテナーはふだん 1 日以内に返信
@ocots がすでに取り組んでいます。
2026年11月7日 から。
評価
この issue はまだ評価されていません。
説明
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
- 主要言語
- Julia
- スター
- 13
- フォーク
- 1
- 平均マージ
- 3時間 9分
- マージ済み PR(30日)
- 47
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
control-toolbox/OptimalControlProblems.jl のほかの issue
-
cron-convergence
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
control-toolbox/OptimalControlProblems.jl#418 ·
メンテナーはふだん 1 日以内に返信
-
[Dev] Split src into submodules (ct-conventions MOD1, MOD2), keeping the public exports対応中かも @ocots が今日担当しました。 オープンdev
control-toolbox/OptimalControlProblems.jl#413 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Metadata] Reference solutions with how they were obtained: typed references and API対応中かも @ocots が今日担当しました。 オープンfeature
control-toolbox/OptimalControlProblems.jl#409 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Dev] One source of truth per problem, and the equality of the modelings checked by computation対応中かも @ocots が 1 日前に担当しました。 オープン
control-toolbox/OptimalControlProblems.jl#391 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Restore the full CI matrix (Julia 1.10, macOS, Windows) after the reorganisation対応中かも @ocots が 2 日前に担当しました。 オープン
control-toolbox/OptimalControlProblems.jl#344 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
control-toolbox/OptimalControlProblems.jl の issue をすべて見る
似ている issue
-
lux
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
JuliaGraphs/GraphNeuralNetworks.jl#732 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
erfinv(::Float16) and erfcinv(::Float16) are wrong for abs(x) <= 0.75 (erfinv(Float16(0)) == 0.2201)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
JuliaMath/SpecialFunctions.jl#571 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100