<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks for your reply. This is not an urgent issue. The
save/reset approach works fine for now. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Also, after giving it some thought, I can see justification to
keep an original copy of (quite a big part of) the data.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Mostly, though, I was surprised to have to manually do the save/reset
mechanism. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Is (should) this kind of behavior part of the description of what
any OSI implementation should do?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Jan-Willem<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> cbc-bounces@list.coin-or.org
[mailto:cbc-bounces@list.coin-or.org] <b>On Behalf Of </b>John J Forrest<br>
<b>Sent:</b> Tuesday, April 07, 2009 17:12<br>
<b>Cc:</b> cbc@list.coin-or.org<br>
<b>Subject:</b> Re: [Cbc] More problem with re-solving a model<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p style='margin-bottom:12.0pt'>Jan-Willem,<br>
<br>
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.<br>
<br>
John Forrest<br>
<br>
<img width=16 height=16 id="_x0000_i1025"
src="cid:image001.gif@01C9BCEE.BBF51810"
alt="Inactive hide details for Goossens Jan-Willem ---04/06/2009 09:48:03 AM---Hi,"><span
style='color:#424282'>Goossens Jan-Willem ---04/06/2009 09:48:03 AM---Hi,</span><o:p></o:p></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=96 height=1 id="_x0000_i1026"
  src="cid:image003.png@01C9BCEE.BBF51810"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>From:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=1 height=1 id="_x0000_i1027"
  src="cid:image004.png@01C9BCEE.BBF51810"><br>
  <span style='font-size:10.0pt'>Goossens Jan-Willem
  &lt;Jan-Willem.Goossens@nc3a.nato.int&gt;</span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=96 height=1 id="_x0000_i1028"
  src="cid:image003.png@01C9BCEE.BBF51810"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>To:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=1 height=1 id="_x0000_i1029"
  src="cid:image004.png@01C9BCEE.BBF51810"><br>
  <span style='font-size:10.0pt'>&quot;cbc@list.coin-or.org&quot;
  &lt;cbc@list.coin-or.org&gt;</span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=96 height=1 id="_x0000_i1030"
  src="cid:image003.png@01C9BCEE.BBF51810"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Date:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=1 height=1 id="_x0000_i1031"
  src="cid:image004.png@01C9BCEE.BBF51810"><br>
  <span style='font-size:10.0pt'>04/06/2009 09:48 AM</span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=96 height=1 id="_x0000_i1032"
  src="cid:image003.png@01C9BCEE.BBF51810"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Subject:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=1 height=1 id="_x0000_i1033"
  src="cid:image004.png@01C9BCEE.BBF51810"><br>
  <span style='font-size:10.0pt'>[Cbc] More problem with re-solving a model</span><o:p></o:p></p>
  </td>
 </tr>
</table>

<div class=MsoNormal>

<hr size=2 width="100%" noshade style='color:#8091A5' align=left>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<br>
<span style='font-family:"Calibri","sans-serif"'>Hi,</span><br>
<br>
<span style='font-family:"Calibri","sans-serif"'>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). </span><br>
<br>
<span style='font-family:"Calibri","sans-serif"'>I kept hitting the problem
that after the first solve, the model was littered with extra bounds, I guess
from the B&amp;B process (right?)</span><br>
<span style='font-family:"Calibri","sans-serif"'>Fortunately, I read </span><a
href="http://list.coin-or.org/pipermail/cbc/2008-February/000098.html"><span
style='font-family:"Calibri","sans-serif"'>http://list.coin-or.org/pipermail/cbc/2008-February/000098.html</span></a><br>
<span style='font-family:"Calibri","sans-serif"'>“<i>use saveReferenceSolver()
initially and then use resetToReferenceSolver() to reset bounds and everything</i>”
</span><br>
<br>
<span style='font-family:"Calibri","sans-serif"'>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.. </span><br>
<br>
<span style='font-family:"Calibri","sans-serif"'>Thanks,</span><br>
<br>
<span style='font-family:"Calibri","sans-serif"'>Jan-Willem</span><tt><span
style='font-size:10.0pt'>_______________________________________________</span></tt><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt>Cbc mailing list</tt><br>
<tt>Cbc@list.coin-or.org</tt><br>
<tt><a href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a></tt><br>
<br>
</span><o:p></o:p></p>

</div>

</body>

</html>