Skip to content

Commit f62b79a

Browse files
committed
bench: debug bench
1 parent d83acd4 commit f62b79a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

benchmark/3_bench_predictive_control.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ UNIT_MPC["NonLinMPC"]["moveinput!"]["NonLinModel"]["MultipleShooting"] =
8383
UNIT_MPC["NonLinMPC"]["moveinput!"]["NonLinModel"]["TrapezoidalCollocation"] =
8484
@benchmarkable(
8585
moveinput!($nmpc_nonlin_tc, $y_c, $d_c),
86-
setup=preparestate!($nmpc_nonlin_ms, $y_c, $d_c),
86+
setup=preparestate!($nmpc_nonlin_tc, $y_c, $d_c),
8787
samples=samples, evals=evals, seconds=seconds
8888
)
8989

@@ -240,7 +240,6 @@ CASE_MPC["CSTR"]["LinMPC"]["With feedforward"]["Ipopt"]["MultipleShooting"] =
240240
samples=samples, evals=evals
241241
)
242242

243-
244243
# ----------------- Case study: Pendulum noneconomic -----------------------------
245244
model, p = pendulum_model, pendulum_p
246245
σQ = [0.1, 1.0]; σR=[5.0]; nint_u=[1]; σQint_u=[0.1]

benchmark/benchmarks.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ SUITE["UNIT TESTS"] = BenchmarkGroup(["allocation-free", "allocations", "singl
88
SUITE["CASE STUDIES"] = BenchmarkGroup(["performance", "speed" ,"integration"])
99

1010
include("0_bench_setup.jl")
11-
#include("1_bench_sim_model.jl")
12-
#include("2_bench_state_estim.jl")
11+
include("1_bench_sim_model.jl")
12+
include("2_bench_state_estim.jl")
1313
include("3_bench_predictive_control.jl")

0 commit comments

Comments
 (0)