Nonlinear model predictive control slack variable negative

Hello,
I'm using the Nonlinear MPC on Simulink.
Why I get the error:
  • All entries of input All entries of input Slack0 must be nonnegative. must be nonnegative.
I have tried to change the weight on the slack variable ε (in the cost function), but this doesn't always work.
Thank you

댓글 수: 1

Hi,
I have same problem in Nonlinear MPC, Could you please share how to define the slack variable in Constraint function ?

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

답변 (0개)

카테고리

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

질문:

2020년 6월 21일

댓글:

2023년 1월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by