Mixed-Integer #320
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 |
Answered by
alphaville
Mar 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.