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.
1 parent 1ee88f1 commit 5bcd037Copy full SHA for 5bcd037
src/controller/nonlinmpc.jl
@@ -538,9 +538,7 @@ function init_optimization!(
538
return nothing
539
end
540
541
-set_nonlincon!(::PredictiveController, ::JuMP.GenericModel) = nothing
542
-set_nonlincon!(::LinMPC, ::JuMP.GenericModel) = nothing
543
-set_nonlincon!(::ExplicitMPC, ::JuMP.GenericModel) = nothing
+set_nonlincon_exp(::PredictiveController, ::JuMP.GenericModel) = nothing
544
# TODO: cleanup this function, this is super dirty
545
function set_nonlincon_exp(mpc::NonLinMPC, optim::JuMP.GenericModel{JNT}) where JNT<:Real
546
# ========= Test new experimental feature ========================================
0 commit comments