Mixed-Integer #320
-
Hi! Kindly asking for some advise or tips on how to implement a mixed-integer problem in OpEn.
where N is the length of the prediction. My question is if the FiniteSet method is the way to go to make the decision variable u an integer or is there another way? Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Marcus. If your decision variable is |
Beta Was this translation helpful? Give feedback.
Hi Marcus. If your decision variable is$(u_0, u_1, ..., u_{N-1})$ , then you can use a Cartesian product of Finite sets. You can find an example here.