MPC basic example

89 views
Skip to first unread message

刘哲宇

unread,
Feb 4, 2022, 2:49:21 PM2/4/22
to YALMIP
Hi:

I write the model predictive control basics code following the example, I found that there is different solutions between explicit and implicit forms. I get two different optimal solutions when all other parameters and models are same. Do you know what's the reason for that??  

Johan Löfberg

unread,
Feb 4, 2022, 2:58:38 PM2/4/22
to YALMIP
non-unique optima I presume

刘哲宇

unread,
Feb 4, 2022, 3:46:39 PM2/4/22
to YALMIP
Hi
Thanks for your quick answer, The optimisation problem in MPC example is convex, it should have an unique optimal solution. I am still confused. I'll be appreciated it if you could give more explanation. Thanks a lot!

Johan Löfberg

unread,
Feb 4, 2022, 4:27:25 PM2/4/22
to YALMIP
convexity does not imply uniqueness. minimize (x+y)^2 is convex but trivially non-unique

hence, if you don't trust, simply take the solution from explicit and compute objective, and compare with solution from implicit

Reply all
Reply to author
Forward
0 new messages