Could i put a restriction in a variable, depending the valor of the same variable?
I try to put:
Code: Select all
Binary Variable: x(i,k)
R(i,k).. x(i,k)$(x(i,k) eq 1) =g= x(i,k+1);
I want that if x(1,1)=1 =>x(1,2)=1 or 0 but if x(1,1)=0=> x(1,2)=1 or 0. (Because if a put x(i,k)=g=x(i,k+1) always x(1,1) will be 1 and i don't want.)
Please, I'm very grateful of your help.
Best Regards