I have problem like below Decision variable x1 >= 0 But it depends on selection variable s1 as binary variable
If s1 = 0 then x1= 0 and if s1 = 1 then x1>0
how I can write this as constraint for mixed integer programming
Operations Research Stack Exchange is a question and answer site for operations research and analytics professionals, educators, and students. It only takes a minute to sign up.
Sign up to join this communityLet $\epsilon$ be a small constant positive tolerance, and let $M$ be a constant upper bound on $x_1$. Now impose linear constraints $$\epsilon s_1 \le x_1 \le M s_1.$$