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 comentario

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

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 21 de Jun. de 2020

Comentada:

el 6 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by