4
$\begingroup$

I was hoping to get some help in modelling the following logic as an MIP Constraint

enter image description here

c_{m,l}^{RC} is binary decision variable. Simplify it:

enter image description here

$\endgroup$
2
$\begingroup$

You want to model $y=1 \iff x > 0$. The following big-M constraints enforce that relationship, where $\epsilon>0$ is a small tolerance: $$\epsilon y \le x \le M y$$

Because your $x$ is integer, you can take $\epsilon = 1$.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Thank you @RobPratt $\endgroup$ – xuezheng Sep 3 at 2:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.