-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Issue when using print_level
with :madnlp
(that indeed knows this option):
ocp = @def begin
t ∈ [0, 1], time
x ∈ R², state
u ∈ R, control
x(0) == [-1, 0]
x(1) == [0, 0]
ẋ(t) == [x₂(t), u(t)]
∫( 0.5u(t)^2 ) → min
end
julia> solve(ocp, :madnlp; print_level = 4)
▫ This is OptimalControl version v1.1.0 running with: direct, adnlp, madnlp.
▫ The optimal control problem is solved with CTDirect version v0.15.2.
┌─ The NLP is modelled with ADNLPModels and solved with MadNLP.
│
├─ Number of time steps⋅: 250
└─ Discretisation scheme: trapeze
ERROR: MethodError: no method matching parse_option(::Type{MadNLP.LogLevels}, ::Int64)
The function `parse_option` exists, but no method is defined for this combination of argument types.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working