@@ -123,7 +123,7 @@ This method uses the default state estimator :
123123- `Ewt=0.0` : economic costs weight ``E`` (scalar).
124124- `JE=(_,_,_)->0.0` : economic function ``J_E(\m athbf{U}_E, \m athbf{Ŷ}_E, \m athbf{D̂}_E)``.
125125- `optim=JuMP.Model(Ipopt.Optimizer)` : nonlinear optimizer used in the predictive
126- controller, provided as a [`JuMP.Model`](https://jump.dev/JuMP.jl/stable/reference/models /#JuMP.Model)
126+ controller, provided as a [`JuMP.Model`](https://jump.dev/JuMP.jl/stable/api/JuMP /#JuMP.Model)
127127 (default to [`Ipopt.jl`](https://github.com/jump-dev/Ipopt.jl) optimizer).
128128- additionnal keyword arguments are passed to [`UnscentedKalmanFilter`](@ref) constructor
129129 (or [`SteadyKalmanFilter`](@ref), for [`LinModel`](@ref)).
@@ -259,7 +259,7 @@ function init_optimization!(mpc::NonLinMPC)
259259 model = mpc. estim. model
260260 ny, nu, Hp, Hc = model. ny, model. nu, mpc. Hp, mpc. Hc
261261 nC = (2 * Hc* nu + 2 * nvar + 2 * Hp* ny) - length (mpc. con. b)
262- # inspired from https://jump.dev/JuMP.jl/stable/tutorials/nonlinear/tips_and_tricks/#User-defined-functions -with-vector-outputs
262+ # inspired from https://jump.dev/JuMP.jl/stable/tutorials/nonlinear/tips_and_tricks/#User-defined-operators -with-vector-outputs
263263 Jfunc, Cfunc = let mpc= mpc, model= model, nC= nC, nvar= nvar , nŶ= Hp* ny
264264 last_ΔŨtup_float, last_ΔŨtup_dual = nothing , nothing
265265 Ŷ_cache:: DiffCacheType = DiffCache (zeros (nŶ), nvar + 3 )
0 commit comments