[gecode-users] Removing constraints from a Space

Christian Schulte cschulte at kth.se
Mon Jan 25 19:25:43 CET 2010


No, it is not (and never will be). What you can do, though: create a clone
of a space before you add a constraint. That is exactly how search in Gecode
works!

 

Cheers

Christian

 

From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Nacho
Sent: Monday, January 25, 2010 6:41 PM
To: users at gecode.org
Subject: [gecode-users] Removing constraints from a Space

 

Hi all, 

I am using Gecode for reason about models. I know how to add new constraints
from anywhere in my C++ application, but I don't know how to remove any of
the constraints previously imposed. I have read the Modeling with Gecode
documentation, but I haven't found any reference on how to do it. Is it
possible?

 

Thank you very much in advance.

Nacho

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20100125/777e1089/attachment.htm>


More information about the users mailing list