I have multiple constraints and they are straight forward to enter in linprog, but I have two constraints that has a binary component in them. Following is the one:
1 or 0 is Nabc
Mabc - 11(1) <= 0 <-- M111 - 11(1) or Mabc - 11(0) <= 0 <-- M111 - 11(0)
abc are subscripts
How do I implement this in linprog module or possibly make it such that binary is not required.
Here is the one that I can implement in python because there is no binary number associated with it:
Mabc <= 40