Hello everyone,
Please could you help me to express the following constraint if possible.
for i in {1..2} if V[i] =1 then 2<= sum {x in MySet} V2[x] <=3                  
  else (V[i] =0) then sum {x in MySet} V2[x]  may have any value (i do not care 
about the value in this case)

with V and V2 are boolean variables

Thank you in advanceEsma
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to