<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><SPAN 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><FONT 
face="Times New Roman">&nbsp;Hi ikhail<BR>there can be multiple solutions for 
the same objective function value. If you are only after pruning, you can set 
the cutoff in CbcModel,<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>and be 
careful of the small increment. Thanks.<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></FONT><BR 
style="mso-special-character: line-break"><BR 
style="mso-special-character: line-break"></SPAN></DIV>
<DIV><SPAN 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Gabrielle</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><BR>&nbsp;</DIV></SPAN>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=MNediak@business.queensu.ca 
  href="mailto:MNediak@business.queensu.ca">Mikhail Nediak</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=stefan@math.hu-berlin.de 
  href="mailto:stefan@math.hu-berlin.de">Stefan Vigerske</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=cbc@list.coin-or.org 
  href="mailto:cbc@list.coin-or.org">cbc@list.coin-or.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 14, 2008 6:30 AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cbc] Incumbent 
  solution</DIV>
  <DIV><BR></DIV><BR><FONT face=sans-serif size=2>Hi Stefan,</FONT> 
  <BR><BR><FONT face=sans-serif size=2>Thanks much for the reply.</FONT> 
  <BR><BR><FONT face=sans-serif size=2>There are two functions by that name. One 
  of them requires "CBC_Message how" as a first parameter. Do you know which one 
  should be used?</FONT> <BR><FONT face=sans-serif size=2>I actually tried to 
  use them in the following manner:</FONT> <BR><BR><FONT face=sans-serif 
  size=2>OsiCbcSolverInterface test;</FONT> <BR><FONT face=sans-serif 
  size=2>//....</FONT> <BR><FONT face=sans-serif 
  size=2>test.getModelPtr()-&gt;setBestSolution(...);</FONT> <BR><BR><FONT 
  face=sans-serif size=2>with very strange outcomes.</FONT> <BR><BR><FONT 
  face=sans-serif size=2>Would setBestObjectiveValue() achieve similar effects 
  in terms of B&amp;B node pruning behavior?</FONT> <BR><BR><FONT 
  face=sans-serif size=2>Thanks in advance.</FONT> <BR><FONT face=sans-serif 
  size=2>Best,</FONT> <BR><FONT face=sans-serif 
  size=2>Mikhail<BR></FONT><BR><BR><BR>
  <TABLE width="100%">
    <TBODY>
    <TR vAlign=top>
      <TD width="40%"><FONT face=sans-serif size=1><B>Stefan Vigerske 
        &lt;stefan@math.hu-berlin.de&gt;</B> </FONT>
        <P><FONT face=sans-serif size=1>14/07/2008 05:17 AM</FONT> </P>
      <TD width="59%">
        <TABLE width="100%">
          <TBODY>
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
            <TD><FONT face=sans-serif size=1>cbc@list.coin-or.org</FONT> 
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
            <TD><FONT face=sans-serif size=1>Mikhail Nediak 
              &lt;MNediak@business.queensu.ca&gt;</FONT> 
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
            <TD><FONT face=sans-serif size=1>Re: [Cbc] Incumbent 
              solution</FONT></TD></TR></TBODY></TABLE><BR>
        <TABLE>
          <TBODY>
          <TR vAlign=top>
            <TD>
            <TD></TD></TR></TBODY></TABLE><BR></TD></TR></TBODY></TABLE><BR><BR><BR><TT><FONT 
  size=2>Hi,<BR><BR>&gt; Right now I use CBC via OSI and would like to pass an 
  incumbent solution to the <BR>&gt; B&amp;B (a single solution vector at the 
  start of the run).<BR>&gt; Does anyone know of an easy and tested way to do 
  it? &nbsp;Do I need to go through <BR>&gt; CbcModel &amp; setBestSolution() or 
  definition of a new heuristic, etc?<BR><BR>I think going through CbcModel is 
  the easiest solution.<BR>John recently added another function 
  CbcModel::setBestSolution(...) <BR>which you can give a primal solution and 
  then it checks whether it is <BR>feasible and keeps it if 
  so.<BR><BR>Stefan<BR><BR>-- <BR>Stefan Vigerske<BR>Humboldt University Berlin, 
  Numerical 
  Mathematics<BR>http://www.math.hu-berlin.de/~stefan<BR></FONT></TT><BR>
  <P></P><FONT face="Lucida Console"></FONT>
  <HR>

  <P></P>_______________________________________________<BR>Cbc mailing 
  list<BR>Cbc@list.coin-or.org<BR>http://list.coin-or.org/mailman/listinfo/cbc<BR></BLOCKQUOTE></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=MNediak@business.queensu.ca 
  href="mailto:MNediak@business.queensu.ca">Mikhail Nediak</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=stefan@math.hu-berlin.de 
  href="mailto:stefan@math.hu-berlin.de">Stefan Vigerske</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=cbc@list.coin-or.org 
  href="mailto:cbc@list.coin-or.org">cbc@list.coin-or.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 14, 2008 6:30 AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cbc] Incumbent 
  solution</DIV>
  <DIV><BR></DIV><BR><FONT face=sans-serif size=2>Hi Stefan,</FONT> 
  <BR><BR><FONT face=sans-serif size=2>Thanks much for the reply.</FONT> 
  <BR><BR><FONT face=sans-serif size=2>There are two functions by that name. One 
  of them requires "CBC_Message how" as a first parameter. Do you know which one 
  should be used?</FONT> <BR><FONT face=sans-serif size=2>I actually tried to 
  use them in the following manner:</FONT> <BR><BR><FONT face=sans-serif 
  size=2>OsiCbcSolverInterface test;</FONT> <BR><FONT face=sans-serif 
  size=2>//....</FONT> <BR><FONT face=sans-serif 
  size=2>test.getModelPtr()-&gt;setBestSolution(...);</FONT> <BR><BR><FONT 
  face=sans-serif size=2>with very strange outcomes.</FONT> <BR><BR><FONT 
  face=sans-serif size=2>Would setBestObjectiveValue() achieve similar effects 
  in terms of B&amp;B node pruning behavior?</FONT> <BR><BR><FONT 
  face=sans-serif size=2>Thanks in advance.</FONT> <BR><FONT face=sans-serif 
  size=2>Best,</FONT> <BR><FONT face=sans-serif 
  size=2>Mikhail<BR></FONT><BR><BR><BR>
  <TABLE width="100%">
    <TBODY>
    <TR vAlign=top>
      <TD width="40%"><FONT face=sans-serif size=1><B>Stefan Vigerske 
        &lt;stefan@math.hu-berlin.de&gt;</B> </FONT>
        <P><FONT face=sans-serif size=1>14/07/2008 05:17 AM</FONT> </P>
      <TD width="59%">
        <TABLE width="100%">
          <TBODY>
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
            <TD><FONT face=sans-serif size=1>cbc@list.coin-or.org</FONT> 
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
            <TD><FONT face=sans-serif size=1>Mikhail Nediak 
              &lt;MNediak@business.queensu.ca&gt;</FONT> 
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
            <TD><FONT face=sans-serif size=1>Re: [Cbc] Incumbent 
              solution</FONT></TR></TBODY></TABLE><BR>
        <TABLE>
          <TBODY>
          <TR vAlign=top>
            <TD>
            <TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><TT><FONT 
  size=2>Hi,<BR><BR>&gt; Right now I use CBC via OSI and would like to pass an 
  incumbent solution to the <BR>&gt; B&amp;B (a single solution vector at the 
  start of the run).<BR>&gt; Does anyone know of an easy and tested way to do 
  it? &nbsp;Do I need to go through <BR>&gt; CbcModel &amp; setBestSolution() or 
  definition of a new heuristic, etc?<BR><BR>I think going through CbcModel is 
  the easiest solution.<BR>John recently added another function 
  CbcModel::setBestSolution(...) <BR>which you can give a primal solution and 
  then it checks whether it is <BR>feasible and keeps it if 
  so.<BR><BR>Stefan<BR><BR>-- <BR>Stefan Vigerske<BR>Humboldt University Berlin, 
  Numerical 
  Mathematics<BR>http://www.math.hu-berlin.de/~stefan<BR></FONT></TT><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Cbc mailing 
  list<BR>Cbc@list.coin-or.org<BR>http://list.coin-or.org/mailman/listinfo/cbc<BR></BLOCKQUOTE></BODY></HTML>