diff --git a/src/controller/transcription.jl b/src/controller/transcription.jl index 55e32dd21..b737092f5 100644 --- a/src/controller/transcription.jl +++ b/src/controller/transcription.jl @@ -952,13 +952,13 @@ linconstrainteq!(::PredictiveController, ::SimModel, ::SingleShooting) = nothing linconstrainteq!(::PredictiveController, ::SimModel, ::MultipleShooting) = nothing @doc raw""" - set_warmstart!(mpc::PredictiveController, transcription::SingleShooting, Z̃var) -> Z̃0 + set_warmstart!(mpc::PredictiveController, transcription::SingleShooting, Z̃var) -> Z̃s Set and return the warm start value of `Z̃var` for [`SingleShooting`](@ref) transcription. If supported by `mpc.optim`, it warm-starts the solver at: ```math -\mathbf{ΔŨ} = +\mathbf{Z̃_s} = \begin{bmatrix} \mathbf{Δu}(k+0|k-1) \\ \mathbf{Δu}(k+1|k-1) \\ @@ -983,13 +983,13 @@ function set_warmstart!(mpc::PredictiveController, transcription::SingleShooting end @doc raw""" - set_warmstart!(mpc::PredictiveController, transcription::MultipleShooting, Z̃var) -> Z̃0 + set_warmstart!(mpc::PredictiveController, transcription::MultipleShooting, Z̃var) -> Z̃s Set and return the warm start value of `Z̃var` for [`MultipleShooting`](@ref) transcription. It warm-starts the solver at: ```math -\mathbf{ΔŨ} = +\mathbf{Z̃_s} = \begin{bmatrix} \mathbf{Δu}(k+0|k-1) \\ \mathbf{Δu}(k+1|k-1) \\ diff --git a/src/model/nonlinmodel.jl b/src/model/nonlinmodel.jl index d6c0c5d98..25566a7c6 100644 --- a/src/model/nonlinmodel.jl +++ b/src/model/nonlinmodel.jl @@ -111,7 +111,7 @@ form. The optional parameter `NT` explicitly set the number type of vectors (def !!! warning The two functions must be in pure Julia to use the model in [`NonLinMPC`](@ref), [`ExtendedKalmanFilter`](@ref), [`MovingHorizonEstimator`](@ref) and [`linearize`](@ref), - except if a finite difference backend is used (e.g. [`AutoFiniteDiff`](@extref DifferentiationInterface List). + except if a finite difference backend is used (e.g. [`AutoFiniteDiff`](@extref DifferentiationInterface List)). See also [`LinModel`](@ref).