Confused with MPC basic example

26 views
Skip to first unread message

Hamid Manoochehri

unread,
Dec 3, 2016, 8:43:46 AM12/3/16
to YALMIP
Hello,
I am using MPC in my project,
I am trying to use yalmip for this purpose. So I started studying the "MPC basics" example, but I can't understand its objective function.
I learned that the basic obj.function in mpc should be in form of: Squared Sum of differences between predicted outputs and references across the prediction horizon, however in the "MPC basics" example, Sum( norm(Q*x,1)+norm(R*u{k}) ) is used as the obj.function. i can't adapt these two together
I would be grateful if you help me with this

Sincerely
Hamid

Johan Löfberg

unread,
Dec 3, 2016, 10:14:27 AM12/3/16
to YALMIP
Then you learned wrong. The objective is anything you want to minimize.

Hamid Manoochehri

unread,
Dec 3, 2016, 1:06:32 PM12/3/16
to YALMIP
Oh thank you,
I am new to mpc
I understood
thanks a lot

Sincerely
Hamid
Reply all
Reply to author
Forward
0 new messages