Specify multiple inequalities in form A*x<=b (>=) for default mpc problem

1 次查看(过去 30 天)
Should be simple enough, but I could not find it:
Is there a way to specify inequality constraints for a manipulated variable of dimension M for N prediction steps (varying number of constraints for each prediction step), i.e. I want to be able to specify matrices A,b (where size(A,2)=N*M, see here) for the whole horizon and not for each prediction step separately, as can be achieved using setconstraint.
Appreciate any help!

回答(1 个)

Arkadiy Turevskiy
Arkadiy Turevskiy 2018-8-15
I am afraid you cannot do more than setconstraint allows. Could you please explain why you need to vary number of constraints from one prediction step to another?
Thanks.
Arkadiy Turevskiy
MathWorks

类别

Help CenterFile Exchange 中查找有关 Controller Creation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by