[Tests] Remove the MadNLP barrier bypass once CTSolvers ≥ 0.7.1 is used
Los mantenedores suelen responder en 1 día
@ocots ya está trabajando en esto.
Desde el 7/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- Julia
- Estrellas
- 13
- Forks
- 1
- Merge medio
- 3 h 9 min
- PR fusionados (30 d)
- 47
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de control-toolbox/OptimalControlProblems.jl
-
[Cron] cron-convergenceAbiertocron-convergence
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
control-toolbox/OptimalControlProblems.jl#418 ·
Los mantenedores suelen responder en 1 día
-
[Dev] Split src into submodules (ct-conventions MOD1, MOD2), keeping the public exportsPosiblemente ocupada @ocots la tomó hoy. Abiertodev
control-toolbox/OptimalControlProblems.jl#413 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Metadata] Reference solutions with how they were obtained: typed references and APIPosiblemente ocupada @ocots la tomó hoy. Abiertofeature
control-toolbox/OptimalControlProblems.jl#409 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Dev] One source of truth per problem, and the equality of the modelings checked by computationPosiblemente ocupada @ocots la tomó hace 1 día. Abierto
control-toolbox/OptimalControlProblems.jl#391 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Restore the full CI matrix (Julia 1.10, macOS, Windows) after the reorganisationPosiblemente ocupada @ocots la tomó hace 2 días. Abierto
control-toolbox/OptimalControlProblems.jl#344 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de control-toolbox/OptimalControlProblems.jl
Issues similares
-
lux
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
JuliaGraphs/GraphNeuralNetworks.jl#732 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
erfinv(::Float16) and erfcinv(::Float16) are wrong for abs(x) <= 0.75 (erfinv(Float16(0)) == 0.2201)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
JuliaMath/SpecialFunctions.jl#571 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100