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

praguna manvi
praguna manvi 2024년 11월 26일
Hi @面,
Could you share the code file for this, for further investigation?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Model Predictive Control Toolbox에 대해 자세히 알아보기

태그

질문:

面
2024년 10월 24일

댓글:

2024년 11월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by