Skip to content

Commit 96c20ca

Browse files
committed
minor doc correction
1 parent 408440e commit 96c20ca

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/controller/explicitmpc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ state estimator, a [`SteadyKalmanFilter`](@ref) with default arguments.
9393
- `Mwt=fill(1.0,model.ny)` : main diagonal of ``\mathbf{M}`` weight matrix (vector).
9494
- `Nwt=fill(0.1,model.nu)` : main diagonal of ``\mathbf{N}`` weight matrix (vector).
9595
- `Lwt=fill(0.0,model.nu)` : main diagonal of ``\mathbf{L}`` weight matrix (vector).
96-
- `M_Hp` / `N_Hc` / `L_Hp` : diagonal matrices ``\mathbf{M}_{H_p}, \mathbf{N}_{H_c},
97-
\mathbf{L}_{H_p}``, for time-varying weights (generated by `Mwt`, `Nwt`, `Lwt` if omitted).
96+
- `M_Hp` / `N_Hc` / `L_Hp` : diagonal matrices ``\mathbf{M}_{H_p}, \mathbf{N}_{H_c},
97+
\mathbf{L}_{H_p}``, for time-varying weights (generated from `Mwt/Nwt/Lwt` args if omitted).
9898
- additionnal keyword arguments are passed to [`SteadyKalmanFilter`](@ref) constructor.
9999
100100
# Examples

src/controller/linmpc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ arguments.
111111
- `optim=JuMP.Model(OSQP.MathOptInterfaceOSQP.Optimizer)` : quadratic optimizer used in
112112
the predictive controller, provided as a [`JuMP.Model`](https://jump.dev/JuMP.jl/stable/api/JuMP/#JuMP.Model)
113113
(default to [`OSQP.jl`](https://osqp.org/docs/parsers/jump.html) optimizer).
114-
- `M_Hp` / `N_Hc` / `L_Hp` : diagonal matrices ``\mathbf{M}_{H_p}, \mathbf{N}_{H_c},
115-
\mathbf{L}_{H_p}``, for time-varying weights (generated by `Mwt`, `Nwt`, `Lwt` if omitted).
114+
- `M_Hp` / `N_Hc` / `L_Hp` : diagonal matrices ``\mathbf{M}_{H_p}, \mathbf{N}_{H_c},
115+
\mathbf{L}_{H_p}``, for time-varying weights (generated from `Mwt/Nwt/Lwt` args if omitted).
116116
- additional keyword arguments are passed to [`SteadyKalmanFilter`](@ref) constructor.
117117
118118
# Examples

src/controller/nonlinmpc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ This method uses the default state estimator :
123123
- `Cwt=1e5` : slack variable weight ``C`` (scalar), use `Cwt=Inf` for hard constraints only.
124124
- `Ewt=0.0` : economic costs weight ``E`` (scalar).
125125
- `JE=(_,_,_)->0.0` : economic function ``J_E(\mathbf{U}_E, \mathbf{Ŷ}_E, \mathbf{D̂}_E)``.
126-
- `M_Hp` / `N_Hc` / `L_Hp` : diagonal matrices ``\mathbf{M}_{H_p}, \mathbf{N}_{H_c},
127-
\mathbf{L}_{H_p}``, for time-varying weights (generated by `Mwt`, `Nwt`, `Lwt` if omitted).
126+
- `M_Hp` / `N_Hc` / `L_Hp` : diagonal matrices ``\mathbf{M}_{H_p}, \mathbf{N}_{H_c},
127+
\mathbf{L}_{H_p}``, for time-varying weights (generated from `Mwt/Nwt/Lwt` args if omitted).
128128
- `optim=JuMP.Model(Ipopt.Optimizer)` : nonlinear optimizer used in the predictive
129129
controller, provided as a [`JuMP.Model`](https://jump.dev/JuMP.jl/stable/api/JuMP/#JuMP.Model)
130130
(default to [`Ipopt.jl`](https://github.com/jump-dev/Ipopt.jl) optimizer).

0 commit comments

Comments
 (0)