We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NonLinMPC
1 parent e2afbe6 commit de25fcfCopy full SHA for de25fcf
src/controller/nonlinmpc.jl
@@ -538,8 +538,9 @@ function init_optimization!(
538
return nothing
539
end
540
541
+set_nonlincon!(::PredictiveController, _ ) = nothing
542
# TODO: cleanup this function, this is super dirty
-function set_nonlincon_exp(mpc::PredictiveController, optim::JuMP.GenericModel{JNT}) where JNT<:Real
543
+function set_nonlincon_exp(mpc::NonLinMPC, optim::JuMP.GenericModel{JNT}) where JNT<:Real
544
# ========= Test new experimental feature ========================================
545
546
nonlin_constraints = JuMP.all_constraints(optim, JuMP.Vector{JuMP.VariableRef}, Ipopt._VectorNonlinearOracle)
0 commit comments