QP formulation from the MPC toolbox
29 次查看(过去 30 天)
显示 更早的评论
Hi,
I am studying different QP solvers (e.g. qpOASES, OSQP, DAQP and Gurobi) for a project I am doing at my university. I want to test their capabilites in MPC. I have tested them in the aircraft example and gotten some reasonable results, but now I wonder which QP formulation Matlab's mpc generates.
Does it create some sort of reduced-space condensed QP based on the state-space model? I am guessing this is the case because the hessian (H) of the objective function is only 11x11 for the MPC example mentioned above, with a horizon of 50 (4 states and 2 inputs).
I am guessing that it is not some sort of step-response model formulation (not for the aircraft model at least) because the model has unstable poles.
Does anyone have insights into this?
Thanks
0 个评论
采纳的回答
Emmanouil Tzorakoleftherakis
2023-10-23
编辑:Emmanouil Tzorakoleftherakis
2023-10-23
We are currently using the dense formula as you mentioned, but also working on adding support for sparse problems. The following two links may be helpful:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Refinement 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!