Custom cost function in linear MPC

Hi all,
in the last release (R2018b) it is dismissed the so called "Economic MPC", which allowed to set a custom cost function to be solved by a QP algorithm.
Actually only the NonlinearMPC allows to define a custom cost function, but it uses fmincon as solver.
What to do to still use QP (KWIK)?
Thanks in advance
Cheers

1 Comment

If the problem is only quadratic and convex, the performances are the same using QP or SQP?

Sign in to comment.

Answers (0)

Products

Release

R2018b

Asked:

on 13 Nov 2018

Commented:

on 13 Nov 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!