I have the decision variable $X_{iz}$
And I have two parameters $T_i\in\{0,1\}$ and $IT_z\in\{0,1,2\}$. I can only assign $i$ to $z$ if the following holds:
- for $T_i=0$, $IT_z$ needs to be $0$ or $2$
- for $T_i=1$, $IT_z$ needs to be $1$ or $2$
- So for every value of $T_i$, a value of $2$ for $IT_z$ must satisfy the constraint
- Or $T_i$ needs to be equal to $IT_z$
I cannot seem to figure out how to make a valid constraint for this problem, any tips?