MATLAB Answers

Binary Decision Variable in MPC

10 views (last 30 days)
Arjun Sarin
Arjun Sarin on 21 Feb 2020
I want to create a model-predictive contoller using Matlab's MPC Toolbox. However, the contraints involve binary decisions variables. Can the MPC Toolbox cope with them as well?
For more detail, basically, I have contraints which need to change depending on the plant's state. This could be solved by using binary variables, but maybe there is another approach as well?

  0 Comments

Sign in to comment.

Answers (1)

Emmanouil Tzorakoleftherakis
This should be doable with custom constraints in nonlinear MPC. You can create your own function that decides how the constraint works.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!