[gecode-users] Gecode/J

Daniel Araya daniel.araya at gmail.com
Wed Nov 14 23:41:37 CET 2007


Hi, 

I discover that Gecode/J not implemented the function "atleast" and  "atmost",
but it is easy to resolve  with the function "count" and "rel". But I have a
Question:

How I do a restriction like:

VarArray variable;
VarInt Max;

IF(variable.get(0)==1){ //THIS IS THE PROBLEM!!

 linear(this,credits,variable,IRT_LQ,Max);
}

Thanks and sorry for the newbie question!







More information about the gecode-users mailing list