Skip to content

Commit 6a0639b

Browse files
committed
bench: debug benchmarks
1 parent 415b992 commit 6a0639b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

benchmark/3_bench_predictive_control.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ nmpc_nonlin_ss = NonLinMPC(
4747
Mwt=[1, 1], Nwt=[0.1, 0.1], Lwt=[0.1, 0.1], Hp=10
4848
)
4949
nmpc_nonlin_ss_hess = NonLinMPC(
50-
nonlinmodel_c, transcription=SingleShooting(), hessian=true,
51-
Mwt=[1], Nwt=[0.1], Lwt=[0.1], Hp=10
50+
nonlinmodel, transcription=SingleShooting(), hessian=true,
51+
Mwt=[1, 1], Nwt=[0.1, 0.1], Lwt=[0.1, 0.1], Hp=10
5252
)
5353
nmpc_nonlin_ms = NonLinMPC(
5454
nonlinmodel, transcription=MultipleShooting(),
5555
Mwt=[1, 1], Nwt=[0.1, 0.1], Lwt=[0.1, 0.1], Hp=10
5656
)
5757
nmpc_nonlin_ms_hess = NonLinMPC(
58-
nonlinmodel_c, transcription=MultipleShooting(), hessian=true,
59-
Mwt=[1], Nwt=[0.1], Lwt=[0.1], Hp=10
58+
nonlinmodel, transcription=MultipleShooting(), hessian=true,
59+
Mwt=[1, 1], Nwt=[0.1, 0.1], Lwt=[0.1, 0.1], Hp=10
6060
)
6161
nmpc_nonlin_tc = NonLinMPC(
6262
nonlinmodel_c, transcription=TrapezoidalCollocation(),

0 commit comments

Comments
 (0)