[gecode-users] Questions about Gecode/J version 2.1

Guido Tack tack at ps.uni-sb.de
Tue Mar 4 14:37:24 CET 2008


Hello!

Ujhelyi Zoltan wrote:
> First: has the eq constraint filling method removed in version 2.1?
> Eclipse gives me a warning about it. If it is only moved or renamed,
> how is it accessible in the new version? (Of course if it is not
> available, I know, that the rel() method could be used instead of it).

It's been removed, you should use rel now.

> Second: is it possible to get a look at which constraints cause
> failures? I would like to produce additional feedback to the output,
> but I need some information about the solution process. Is there any
> construct for this goal (e.g. a notification subsystem or something
> like that)?

That's currently not possible at all.  It is also not very helpful  
most of the time, as the constraint that detected failure may have  
done so only because some other constraint restricted a variable  
domain in a way the user did not plan.  I.e., if your model is  
incorrect, it will most of the time not be the incorrect constraint  
that causes failure.

Cheers,
	Guido

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2436 bytes
Desc: not available
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20080304/3562d8cb/attachment.bin>


More information about the gecode-users mailing list