Re: [gecode-users] assigning IntVars

2009-09-14 Thread Guido Tack
Tarek Garoui wrote: > 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.

[gecode-users] assigning IntVars

2009-09-12 Thread Tarek Garoui
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: