Hello,
Could somebody tell me how to express the following condition in a linear
constraint ?
if A = 1 and B = 1 then C = 1
if A = 1 and B = 0 then C = 0
if A = 0 and B = 1 then C = 0
if A = 0 and B = 0 then C = 0
Ps: just for precision it is not a logical AND the difference is that in my
case i should to have the value zero for C if A or B or both are equal to 0.
All the best
Esma
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk