[gecode-users] Removing propagators from a Space

Christian Schulte cschulte at kth.se
Tue Aug 21 09:49:47 CEST 2012


Removing all is easy and useful. Removing some is a pain in the .

 

I'll do the former.

 

Christian

 

--

Christian Schulte, KTH, web.it.kth.se/~cschulte/

 

From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Max Ostrowski
Sent: Monday, August 20, 2012 9:34 AM
To: cschulte at kth.se
Cc: 'Guido Tack'; users at gecode.org
Subject: Re: [gecode-users] Removing propagators from a Space

 

That would be cool.
I think it is not useful for the normal use of GeCode, so you have to decide
if you want to bloat your code with this.
But I would appreciate it.
If there would be also the possibility to only remove certain constraints,
that would be even more awesome.
But here I see why it is difficult, as Propagators would need to be
identified by something.


Best,
Max

On 08/17/2012 09:17 PM, Christian Schulte wrote: 

But I could add it for Gecode 4.*, should not be that hard. Do you want it?

 

Christian

 

--

Christian Schulte, www.ict.kth.se/~cschulte/

 

From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Guido Tack
Sent: Friday, August 17, 2012 9:06 PM
To: Max Ostrowski
Cc: users at gecode.org
Subject: Re: [gecode-users] Removing propagators from a Space

 

No, that's currently not supported.  You'll have to work around it as you
suggested.

 

Cheers,

Guido

 

-- 

Guido Tack

http://www.csse.monash.edu/~guidot/ <http://www.csse.monash.edu/%7Eguidot/> 

 

 

 

On 17/08/2012, at 11:24 PM, Max Ostrowski <ostrowsk at cs.uni-potsdam.de>
wrote:






Is there a way to remove all propagators from a space "a".
In this way the space contains only the restricted variables so far but
no constraints on them.
I need such a space and i want to avoid creating an empty space "b" and
adding all variables and constraining them to the values they had in "a".


Is this possible?


Best,
Max

_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20120821/dc68a8d4/attachment.html>


More information about the users mailing list