From e46cb677aebe3d33c70e7bb86c5407c6c211c576 Mon Sep 17 00:00:00 2001 From: franckgaga Date: Thu, 14 Nov 2024 12:13:39 -0500 Subject: [PATCH] doc: change slmpc speed gain for the real benchmark --- docs/src/manual/nonlinmpc.md | 5 ++--- test/runtests.jl | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/manual/nonlinmpc.md b/docs/src/manual/nonlinmpc.md index 2fc8a3bc..df1699ac 100644 --- a/docs/src/manual/nonlinmpc.md +++ b/docs/src/manual/nonlinmpc.md @@ -402,9 +402,8 @@ savefig("plot11_NonLinMPC.svg"); nothing # hide ![plot11_NonLinMPC](plot11_NonLinMPC.svg) -The computations of the successive linearization MPC are about 125 times faster than the -nonlinear MPC (0.00012 s per time steps versus 0.015 s per time steps, on average), an -impressive gain for similar closed-loop performances! +The computations of the successive linearization MPC are about 75 times faster than the +nonlinear MPC on average, an impressive gain for similar closed-loop performances! ```@setup 1 global_logger(old_logger); diff --git a/test/runtests.jl b/test/runtests.jl index 9ab60014..57954b23 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -24,5 +24,6 @@ DocMeta.setdocmeta!( ) doctest(ModelPredictiveControl, testset="DocTest") +end; -end; \ No newline at end of file +nothing \ No newline at end of file