[Cbc] [CBC] Time limit in Cbc

John J Forrest jjforre at us.ibm.com
Thu Aug 20 09:34:35 EDT 2009


Mathieu,

Cbc does check time after each round of cuts and a solve.  When I played
around with a time limit,  I found that it was still going into heuristics
at root node.  This could be the problem, especially as the time limit
check in an expensive heuristic (i.e. one that does a small branch and
bound) checks the time it has spent against smaller of its time limit and
overall time limit.  It should be checking total time spent.

Will put in a few more checks and fix time check at weekend - see if that
helps.

Solution etc looks OK to me.

John


                                                                                             
  From:       Mathieu Lacroix <lacroix at isima.fr>                                             
                                                                                             
  To:         cbc at list.coin-or.org                                                           
                                                                                             
  Date:       08/19/2009 05:43 AM                                                            
                                                                                             
  Subject:    [Cbc] [CBC] Time limit in Cbc                                                  
                                                                                             
  Sent by:    cbc-bounces at list.coin-or.org                                                   
                                                                                             





Hello everybody,

It is possible to give a time limit to Cbc. However, it seems that cbc
checks whether the time limit is reached only before branching. As in my
problem, the time limit is reached before branching (due to cut
generation at the root node), is it possible to force cbc to check the
time limit after each cut generation? And if the time limit is reached,
how to stop cbc without loosing all the informations (upper bound, lower
bound and best solution found if any)?

Thanks you for any reply,
Cheers,

Mathieu LACROIX

--
Mathieu LACROIX
lacroix at lamsade.dauphine.fr
Laboratoire LAMSADE
Université Paris-Dauphine
Place du Maréchal de Lattre de Tassigny
75775 Paris cedex 16 - France
Tel: +33 (0)1 44 05 48 53
URL: http://epoc.isima.fr/~lacroix/



_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/cbc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cbc/attachments/20090820/9a01ea74/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://list.coin-or.org/pipermail/cbc/attachments/20090820/9a01ea74/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://list.coin-or.org/pipermail/cbc/attachments/20090820/9a01ea74/attachment-0001.gif 


More information about the Cbc mailing list