[gecode-users] assigning IntVars
Tarek Garoui
tgaroui at yahoo.de
Sat Sep 12 21:35:34 CEST 2009
Hello,
I am working with Gecode/J for my master thesis.
I created an IntVar like this:
IntVar id = new IntVar(this, "ID", new Integer(0), new Integer(max));
After that, I want to post a constraint consisting of a BExpr where I need the value of the IntVar id. But I get the following exception:
org.gecode.NotAssigned.
How can I assign values to an IntVar ?
Thanks.
More information about the gecode-users
mailing list