Hi, I want to write a constraint such that if x=y then z=1 otherwise z=0 x={0,1,2} y={0,1,2} z={0,1} do you have any idea= asked 08 Dec '15, 15:42 GKGKGK 
Have a look at link text. Make the following substitutions: my \(y\) is your \(xy\), my \(m\) is 0 in your case, and my \(x\) is your \(z\). answered 08 Dec '15, 17:12 Paul Rubin ♦♦ thank you so much!
(09 Dec '15, 09:41)
GKGKGK
