From 6604f9edb4d6862f6b22f8f87319dc2fdcf95e4a Mon Sep 17 00:00:00 2001 From: franckgaga Date: Sun, 21 Jun 2026 16:53:20 -0400 Subject: [PATCH] bench: increases `samples` for `LinMPC` 5000 sample is a bit too noisy. --- benchmark/3_bench_predictive_control.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/3_bench_predictive_control.jl b/benchmark/3_bench_predictive_control.jl index 0b4b101e8..cee43de7d 100644 --- a/benchmark/3_bench_predictive_control.jl +++ b/benchmark/3_bench_predictive_control.jl @@ -212,7 +212,7 @@ transcription = MultipleShooting() mpc_ipopt_ms = setconstraint!(LinMPC(model; optim, transcription), ymin=[45, -Inf]) JuMP.unset_time_limit_sec(mpc_ipopt_ms.optim) -samples, evals = 5000, 1 +samples, evals = 10000, 1 CASE_MPC["CSTR"]["LinMPC"]["Without feedforward"]["OSQP"]["SingleShooting"] = @benchmarkable(test_mpc($mpc_osqp_ss, $plant); samples=samples, evals=evals @@ -281,7 +281,7 @@ transcription = MultipleShooting() mpc_d_ipopt_ms = setconstraint!(LinMPC(model_d; optim, transcription), ymin=[45, -Inf]) JuMP.unset_time_limit_sec(mpc_d_ipopt_ms.optim) -samples, evals = 5000, 1 +samples, evals = 10000, 1 CASE_MPC["CSTR"]["LinMPC"]["With feedforward"]["OSQP"]["SingleShooting"] = @benchmarkable(test_mpc_d($mpc_d_osqp_ss, $plant); samples=samples, evals=evals