Skip to content

Commit 771fe8a

Browse files
committed
url update in doc
1 parent f8bb4e3 commit 771fe8a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/controller/linmpc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ arguments.
107107
- `Lwt=fill(0.0,model.nu)` : main diagonal of ``\mathbf{L}`` weight matrix (vector).
108108
- `Cwt=1e5` : slack variable weight ``C`` (scalar), use `Cwt=Inf` for hard constraints only.
109109
- `optim=JuMP.Model(OSQP.MathOptInterfaceOSQP.Optimizer)` : quadratic optimizer used in
110-
the predictive controller, provided as a [`JuMP.Model`](https://jump.dev/JuMP.jl/stable/reference/models/#JuMP.Model)
110+
the predictive controller, provided as a [`JuMP.Model`](https://jump.dev/JuMP.jl/stable/api/JuMP/#JuMP.Model)
111111
(default to [`OSQP.jl`](https://osqp.org/docs/parsers/jump.html) optimizer).
112112
- additionnal keyword arguments are passed to [`SteadyKalmanFilter`](@ref) constructor.
113113

src/controller/nonlinmpc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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(\mathbf{U}_E, \mathbf{Ŷ}_E, \mathbf{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

Comments
 (0)