Skip to content

Commit c213281

Browse files
committed
added: show TranscriptionMethod when printing PredictiveController
1 parent 9e50689 commit c213281

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/predictive_control.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function Base.show(io::IO, mpc::PredictiveController)
3333
n = maximum(ndigits.((Hp, Hc, nu, nx̂, nym, nyu, nd))) + 1
3434
println(io, "$(typeof(mpc).name.name) controller with a sample time Ts = "*
3535
"$(mpc.estim.model.Ts) s, $(JuMP.solver_name(mpc.optim)) optimizer, "*
36+
"$(typeof(mpc.transcription).name.name) transcription, "*
3637
"$(typeof(mpc.estim).name.name) estimator and:")
3738
println(io, "$(lpad(Hp, n)) prediction steps Hp")
3839
println(io, "$(lpad(Hc, n)) control steps Hc")

0 commit comments

Comments
 (0)