Which method is used in the Matlab nonlinear mpc (nmpc) to transform the Optimal Control Problem (OCP) to a Nonlinear Problem (NLP)?
Show older comments
Hello,
For my masters thesis I'd like to know which method is used in the matlab nonlinear mpc to transform the optimal control problem to a nonlinear problem.
Would this be a single shooting method, multiple shooting method, direct colloccation etc.
From the documentation it wasn't clear to me what is used.
Thanks in advance
1 Comment
Ouali
on 23 May 2024
"The sparse formulation is the default used by Model Predictive Control Toolbox™ for nonlinear MPC problems (when fmincon is used as a solver)." From MathWorks documentation.
Sparse formulation = multiple-shooting formulation.
Answers (1)
ly w
on 26 Oct 2021
I think it is multiple shooting method, you can found this through the code in line 216-243 of nlmpc_confun.m. You can view this file using
edit nlmpc_confun
Categories
Find more on Model Predictive Control Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!