Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/controller/construct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ end

Augment defect equality constraints with slack variable ϵ if `nϵ == 1`.

It returns the ``\mathbf{Ẽŝ}`` matrix that appears in the defect equation
It returns the ``\mathbf{Ẽ_ŝ}`` matrix that appears in the defect equation
``\mathbf{Ŝ = Ẽ_ŝ Z̃ + F_ŝ}`` and the ``\mathbf{A}`` matrix for the equality constraints:
```math
\mathbf{A_ŝ Z̃} = - \mathbf{F_ŝ}
Expand Down
2 changes: 1 addition & 1 deletion src/controller/nonlinmpc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ for the two respective constraints. Note that `g_oracle` only includes the non-`
inequality constraints, thus it must be re-constructed if they change. This method is really
intricate because the oracles are used inside the nonlinear optimization, so they must be
type-stable and as efficient as possible. All the function outputs and derivatives are
ached and updated in-place if required to use the efficient [`value_and_jacobian!`](@extref DifferentiationInterface DifferentiationInterface.value_and_jacobian!).
cached and updated in-place if required to use the efficient [`value_and_jacobian!`](@extref DifferentiationInterface DifferentiationInterface.value_and_jacobian!).
"""
function get_nonlincon_oracle(mpc::NonLinMPC, ::JuMP.GenericModel{JNT}) where JNT<:Real
# ----------- common cache for all functions ----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/controller/transcription.jl
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ end
@doc raw"""
set_warmstart!(mpc::PredictiveController, ::OrthogonalCollocation, Z̃var) -> Z̃s

Set and return the warm-start value of `Z̃var` for other [`OrthogonalCollocation`](@ref).
Set and return the warm-start value of `Z̃var` for [`OrthogonalCollocation`](@ref).

It warm-starts the solver at:
```math
Expand Down
Loading