[Scip] Prune selected node

Gerald Gamrath gamrath at zib.de
Thu Sep 25 10:09:37 CEST 2014


Hi He,

just trust me and the documentation.

It will cut off the node, but not immediately, since this might mess up 
the internal data structures if SCIP is currently processing this node.

Best,
Gerald


Am 25.09.2014 um 01:39 schrieb 何河:
> Hi Gerald,
>
> It seems that SCIPcutoffNode does not free the node. Do I need to free 
> it or it's handled elsewhere? Thanks!
>
> He
>
> On Wed, Sep 24, 2014 at 6:32 PM, 何河 <hehe.rebecca at gmail.com 
> <mailto:hehe.rebecca at gmail.com>> wrote:
>
>     Ah. Didn't realize there's already such a function... That makes
>     it much easier. Thanks a lot!
>
>     He
>
>     On Wed, Sep 24, 2014 at 6:22 PM, Gerald Gamrath <gamrath at zib.de
>     <mailto:gamrath at zib.de>> wrote:
>
>         Dear He,
>
>         what is the difference between pruning and cutting off a node
>         in your case? I don't see why you need an extra method for
>         this and don't use SCIPcutoffNode().
>
>         Best,
>         Gerald
>
>         Am 25.09.2014 um 00:06 schrieb 何河:
>>         Hi there,
>>
>>         I'm adding a node pruning function -- a selected node (not
>>         cutoff) may be optionally pruned. Where is the best place to
>>         do this? Currently I'm thinking of adding the piece of code
>>         in SCIPnodeFocus and the pruned node will be treated the same
>>         as a cutoff node, i.e., freed.
>>
>>         Is this the best way to do this? Do I need take care of other
>>         things regarding the whole cutoff business? Thank you very
>>         much in advance!!
>>
>>         He
>>
>>
>>         _______________________________________________
>>         Scip mailing list
>>         Scip at zib.de  <mailto:Scip at zib.de>
>>         http://listserv.zib.de/mailman/listinfo/scip
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20140925/8a1cb9ec/attachment.html>


More information about the Scip mailing list