Am 14.02.2008 um 21:23 schrieb Mauricio Toro:
How can I make this constraint?int const x[] = {0,2,5,8,9,10}; answer = IntVarArray(this,n,1,11); for (int i = 0; i < n-1; i++){ // x[i] - x[i] = answer[i] - answer[i]
I guess you mistyped something here, I can't see how the constraint 0=0 can be of any use.
Guido
_______________________________________________ Gecode users mailing list [EMAIL PROTECTED] https://www.gecode.org/mailman/listinfo/gecode-users