Originally posted by: SystemAdmin
[jfk said:]
Hello,
let's summarize what I understand:
1. you have an integer variable x say in {0,10}, and you have a integer variable y in {0,1}
2. y=0 <=> x=0
y=1 <=> x!=0
if I can assume the above then I suppose you can describe no1,2 with the following constraints:
x<=10*y, y<=x<br />
I hope it helps
cheers
#ConstraintProgramming-General#DecisionOptimization