[Cbc] More problem with re-solving a model

John J Forrest jjforre at us.ibm.com
Tue Apr 7 11:12:13 EDT 2009


Jan-Willem,

I am a bit unavailable at present but can try and improve things for you by
early next week.  If you send me some pseudo code and details of how
desperate you are to save memory, I can think what would be useful for you
and others.

John Forrest


                                                                                                                
  From:       Goossens Jan-Willem <Jan-Willem.Goossens at nc3a.nato.int>                                           
                                                                                                                
  To:         "cbc at list.coin-or.org" <cbc at list.coin-or.org>                                                     
                                                                                                                
  Date:       04/06/2009 09:48 AM                                                                               
                                                                                                                
  Subject:    [Cbc] More problem with re-solving a model                                                        
                                                                                                                





Hi,

I’m trying to solve a problem with CBC, add a constraint that cuts off the
last integer solution, and solve again (it’s a covering problem, and I’m
trying to find all covers).

I kept hitting the problem that after the first solve, the model was
littered with extra bounds, I guess from the B&B process (right?)
Fortunately, I read
http://list.coin-or.org/pipermail/cbc/2008-February/000098.html
“use saveReferenceSolver() initially and  then use resetToReferenceSolver()
to reset bounds and everything”

So is this Reference Solver instance a full copy of the problem? I’m having
problems fitting the problem into memory as it is, let alone keeping two
around..

Thanks,

Jan-Willem_______________________________________________
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/20090407/4a179b7a/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/20090407/4a179b7a/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/20090407/4a179b7a/attachment-0001.gif 


More information about the Cbc mailing list