Re: [gecode-users] Beginner Question

2008-08-14 Thread Jorge Sanchez
Thanks for the quick answers. My problem was with the copy constructor. My example is now working. Thanks, Jorge ___ Gecode users mailing list [EMAIL PROTECTED] https://www.gecode.org/mailman/listinfo/gecode-users

Re: [gecode-users] Beginner Question

2008-08-14 Thread Guido Tack
Ujhelyi Zoltan wrote: Hello, If I am correct, the result is caused by the fact that Gecode calculates all the possible solutions, and in your case they are in the form of result. If you say, none of them can be equal, it can happen both by the array element 1 to be 0 or 1; your constraint does

Re: [gecode-users] Beginner Question

2008-08-14 Thread Guido Tack
Hi! Jorge Sanchez wrote: > Hello, > I am new to Gecode (and to constraints programming for the most part), > and am using Gecode/J 2.1.1. My question relates to undefined > variables. > I have a simple example where I have 2 arrays of Integer Variables > which > may take on a 0 or 1. And a ba

Re: [gecode-users] Beginner Question

2008-08-14 Thread Ujhelyi Zoltan
Hello, If I am correct, the result is caused by the fact that Gecode calculates all the possible solutions, and in your case they are in the form of result. If you say, none of them can be equal, it can happen both by the array element 1 to be 0 or 1; your constraint does not allow Gecode