File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -491,7 +491,8 @@ If supported by `mpc.optim`, it warm-starts the solver at:
491491where ``\m athbf{Δu}_{k-1}(k+j)`` is the input increment for time ``k+j`` computed at the
492492last control period ``k-1``. It then calls `JuMP.optimize!(mpc.optim)` and extract the
493493solution. A failed optimization prints an `@error` log in the REPL and returns the
494- warm-start value.
494+ warm-start value. A failed optimization also prints [`getinfo`](@ref) results in
495+ the debug log [if activated](https://docs.julialang.org/en/v1/stdlib/Logging/#Example:-Enable-debug-level-messages).
495496"""
496497function optim_objective! (mpc:: PredictiveController{NT} ) where {NT<: Real }
497498 model, optim = mpc. estim. model, mpc. optim
Original file line number Diff line number Diff line change @@ -369,7 +369,8 @@ If supported by `estim.optim`, it warm-starts the solver at:
369369where ``\m athbf{ŵ}_{k-1}(k-j)`` is the input increment for time ``k-j`` computed at the
370370last time step ``k-1``. It then calls `JuMP.optimize!(estim.optim)` and extract the
371371solution. A failed optimization prints an `@error` log in the REPL and returns the
372- warm-start value.
372+ warm-start value. A failed optimization also prints [`getinfo`](@ref) results in
373+ the debug log [if activated](https://docs.julialang.org/en/v1/stdlib/Logging/#Example:-Enable-debug-level-messages).
373374"""
374375function optim_objective! (estim:: MovingHorizonEstimator{NT} ) where NT<: Real
375376 model, optim = estim. model, estim. optim
You can’t perform that action at this time.
0 commit comments