diff --git a/Project.toml b/Project.toml index 11d88959d..b69146f17 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ModelPredictiveControl" uuid = "61f9bdb8-6ae4-484a-811f-bbf86720c31c" -version = "1.16.1" +version = "1.16.2" authors = ["Francis Gagnon"] [deps] diff --git a/benchmark/3_bench_predictive_control.jl b/benchmark/3_bench_predictive_control.jl index 374bdcd45..a9efbfd60 100644 --- a/benchmark/3_bench_predictive_control.jl +++ b/benchmark/3_bench_predictive_control.jl @@ -410,11 +410,11 @@ CASE_MPC["Pendulum"]["NonLinMPC"]["Noneconomic"]["MadNLP"]["SingleShooting"] = sim!($nmpc_madnlp_ss, $N, $ry; plant=$plant, x_0=$x_0, x̂_0=$x̂_0, progress=false), samples=samples, evals=evals, seconds=seconds ) -CASE_MPC["Pendulum"]["NonLinMPC"]["Noneconomic"]["Uno"]["MultipleShooting (Hessian)"] = - @benchmarkable( - sim!($nmpc_uno_ms_hess, $N, $ry; plant=$plant, x_0=$x_0, x̂_0=$x̂_0, progress=false), - samples=samples, evals=evals, seconds=seconds - ) +# CASE_MPC["Pendulum"]["NonLinMPC"]["Noneconomic"]["Uno"]["MultipleShooting (Hessian)"] = +# @benchmarkable( +# sim!($nmpc_uno_ms_hess, $N, $ry; plant=$plant, x_0=$x_0, x̂_0=$x̂_0, progress=false), +# samples=samples, evals=evals, seconds=seconds +# ) # ----------------- Case study: Pendulum economic -------------------------------- model2, p = pendulum_model2, pendulum_p2 diff --git a/src/ModelPredictiveControl.jl b/src/ModelPredictiveControl.jl index c33cc2c85..61fdcf537 100644 --- a/src/ModelPredictiveControl.jl +++ b/src/ModelPredictiveControl.jl @@ -57,14 +57,8 @@ include("state_estim.jl") include("predictive_control.jl") include("plot_sim.jl") -@setup_workload begin - # Putting some things in `@setup_workload` instead of `@compile_workload` can reduce the - # size of the precompile file and potentially make loading faster. - @compile_workload begin - # all calls in this block will be precompiled, regardless of whether - # they belong to your package or not (on Julia 1.8 and higher) - include("precompile.jl") - end -end + +include("precompile.jl") + end \ No newline at end of file