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 个评论
Mert Buyukkopru
2023-1-6
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!