The mpc ran into some problems

Hello, I use mpc to achieve my optimization goal, but since my optimization goal is (Xk-50) ^2 expansion of 100Xk reduced to the standard form of quadratic programming, the quadratic programming f is not an n*1 matrix; And why can't I use quadratic programming quadprog(H, f) like this, it has to be quadprog(H, f, A1, b, Aeq, Beq, lb, ub, x0, options); I also have some confusion about how I can simplify my optimization objective to standard form if my equation of state contains a measurable perturbation variable. Can you help me? Thank you very much

1 comentario

praguna manvi
praguna manvi el 26 de Nov. de 2024
Hi @面,
Could you share the code file for this, for further investigation?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Model Predictive Control Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

面
el 24 de Oct. de 2024

Comentada:

el 26 de Nov. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by