@@ -269,13 +269,13 @@ Compute the optimal manipulated input value `u` for the current control period.
269269
270270Solve the optimization problem of `mpc` [`PredictiveController`](@ref) and return the
271271results ``\m athbf{u}(k)``. Following the receding horizon principle, the algorithm discards
272- the optimal future manipulated inputs ``\m athbf{u}(k+1), \m athbf{u}(k+2), ...``. Note that
272+ the optimal future manipulated inputs ``\m athbf{u}(k+1), \m athbf{u}(k+2), ...`` Note that
273273the method mutates `mpc` internal data but it does not modifies `mpc.estim` states. Call
274274[`updatestate!(mpc, u, ym, d)`](@ref) to update `mpc` state estimates.
275275
276276Calling a [`PredictiveController`](@ref) object calls this method.
277277
278- See also [`LinMPC`](@ref), [`ExplicitMPC`](@ref) [`NonLinMPC`](@ref).
278+ See also [`LinMPC`](@ref), [`ExplicitMPC`](@ref), [`NonLinMPC`](@ref).
279279
280280# Arguments
281281- `mpc::PredictiveController` : solve optimization problem of `mpc`.
@@ -339,7 +339,8 @@ The function should be called after calling [`moveinput!`](@ref). It returns the
339339- `:R̂u` : predicted manipulated input setpoint over `Hp` ``(\m athbf{R̂_u})``
340340
341341For [`LinMPC`](@ref) and [`NonLinMPC`](@ref), the field `:sol` also contains the optimizer
342- solution summary that can be printed.
342+ solution summary that can be printed. Lastly, the optimal economic cost `:JE` is also
343+ available for [`NonLinMPC`](@ref).
343344
344345# Examples
345346```jldoctest
0 commit comments