MATLAB Answers

Nonlinear model predictive control slack variable negative

6 views (last 30 days)
Gaetano on 21 Jun 2020
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


Sign in to comment.

Answers (0)