Hello all

I've been using Gecode for several months, and this is my first e-mail to
the users list.
First I want to say congratulations  to Christian Schulte , Mikael
Lagerkvist, Gido Tack , and all the people that work on gecode.  You've done
a nice job!.

Second I have a question about how to post a constraint, here is the
problem:

There are two IntVarArray :

IntVarArray a(this, size, 0 ,size)
IntVarArray b(this, size, 0 ,size)

I need to post a constraint over the var b[a[i]] for all i between 0 and
size. (I know I can do this using Arguments, and Element),

but what if I need to post that constraint over b[a[i] only when a[i]<4 and
another constraint when a[i]>=4?

I've been trying to figure out how to do this but I cant find an answer, do
you have any ideas?.

thank you  for your help.
_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to