[Cbc] Cbc Digest, Vol 69, Issue 1

Alexis Guigue aguigue at softree.com
Wed Feb 20 14:04:55 EST 2013


Hi John

I finally have implemented your suggestions in my code. It seems
that it is doing what we want from now.

Cheers and thanks a lot!

Alexis

On 2013-02-01 9:00 AM, cbc-request at list.coin-or.org wrote:
> Send Cbc mailing list submissions to
> 	cbc at list.coin-or.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://list.coin-or.org/mailman/listinfo/cbc
> or, via email, send a message with subject or body 'help' to
> 	cbc-request at list.coin-or.org
>
> You can reach the person managing the list at
> 	cbc-owner at list.coin-or.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Cbc digest..."
>
>
> Today's Topics:
>
>     1. Re: Increasing the granularity of CbcEventHandler (Alexis Guigue)
>     2. Re: Increasing the granularity of CbcEventHandler (John Forrest)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 31 Jan 2013 13:53:47 -0800
> From: Alexis Guigue <aguigue at softree.com>
> To: cbc at list.coin-or.org
> Subject: Re: [Cbc] Increasing the granularity of CbcEventHandler
> Message-ID: <510AE7EB.4020804 at softree.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> Essentially, what I am trying to do is to interrupt the optimization
> (from outside). This is the main reason I am using CbcEventHandler.
> Each time the function CbcEventHandler::event is called, I check the
> value of my flag STOP (set from outside) and if true, then
> I return CbcEventHandler::CbcAction stop. This is working. The problem I
> have is that the function CbcEventHandler::event
> is not called very often, essentially after each node is processed.
> Hence, there might be quite delay between the external
> application asking the optimization to stop, i.e.,setting the flag STOP
> to true and the actual stopping of the optimization process.
> Ideally, I would like to stop when (inside) a node is being processed.
> Could we use an instance of a derived class of ClpEventHandler
> for each node? The granularity provided by
> ClpEventHandler::endOfIteration would be more than good enough for me.
>
> Cheers
>
> Alexis
>


-- 
Software Engineer/Research Engineer
Softree Technical Systems Inc.
www.softree.com
Engineering an Easier Way



More information about the Cbc mailing list