<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=us-ascii">
<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'>Hi 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 prompt reply. Unfortunately it doesn't work no
matter what parameters I pass. I have also updated to the most recent TRUNK to
make sure I'm not finding old bugs. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Still, the duals don't get updated and the result is infeasible.&nbsp;
<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'>Sebastian<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 style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<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"'> John J Forrest
[mailto:jjforre@us.ibm.com] <br>
<b>Sent:</b> Dienstag, 21. Juli 2009 16:14<br>
<b>To:</b> Sebastian Theophil<br>
<b>Cc:</b> clp@list.coin-or.org; clp-bounces@list.coin-or.org<br>
<b>Subject:</b> Re: [Clp] Problem infeasible after fast dual although only
bound changed?<o:p></o:p></span></p>

</div>

</div>

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

<p style='margin-bottom:12.0pt'>Sebastian,<br>
<br>
If you want the duals updated then it should be startFastDual(2) - see
OsiClpSolverInterface.hpp;<br>
<br>
John Forrest<br>
<br>
<img width=16 height=16 id="_x0000_i1025"
src="cid:image001.gif@01CA0A1F.E14686C0"
alt="Inactive hide details for &quot;Sebastian Theophil&quot; ---07/21/2009 07:33:45 AM---Hi, I have a very simple primal degenerate LP proble"><span
style='color:#424282'>&quot;Sebastian Theophil&quot; ---07/21/2009 07:33:45
AM---Hi, I have a very simple primal degenerate LP problem:</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@01CA0A1F.E14686C0"><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@01CA0A1F.E14686C0"><br>
  <span style='font-size:10.0pt'>&quot;Sebastian Theophil&quot;
  &lt;stheophil@think-cell.com&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@01CA0A1F.E14686C0"><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@01CA0A1F.E14686C0"><br>
  <span style='font-size:10.0pt'>&lt;clp@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@01CA0A1F.E14686C0"><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@01CA0A1F.E14686C0"><br>
  <span style='font-size:10.0pt'>07/21/2009 07:33 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@01CA0A1F.E14686C0"><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@01CA0A1F.E14686C0"><br>
  <span style='font-size:10.0pt'>[Clp] Problem infeasible after fast dual
  although only bound changed?</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_i1034"
  src="cid:image003.png@01CA0A1F.E14686C0"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Sent by:</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_i1035"
  src="cid:image004.png@01CA0A1F.E14686C0"><br>
  <span style='font-size:10.0pt'>clp-bounces@list.coin-or.org</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>
<tt><span style='font-size:10.0pt'>Hi,</span></tt><span style='font-size:10.0pt;
font-family:"Courier New"'><br>
<br>
<br>
<tt>I have a very simple primal degenerate LP problem:</tt><br>
<br>
<tt>\Problem name: </tt><br>
<br>
<tt>Minimize</tt><br>
<tt>obj: x2</tt><br>
<tt>Subject To</tt><br>
<tt>cons0: &nbsp;x0 + x2 &gt;= -0</tt><br>
<tt>cons1: &nbsp;- x0 + x2 &gt;= -10</tt><br>
<tt>cons2: &nbsp;x1 + x2 &gt;= -0</tt><br>
<tt>cons3: &nbsp;- x1 + x2 &gt;= -10</tt><br>
<tt>Bounds</tt><br>
<tt>x0 Free</tt><br>
<tt>x1 Free</tt><br>
<tt>x2 Free</tt><br>
<tt>End</tt><br>
<br>
<tt>The primal solution is (5, 5, -5), but there are two dual solutions</tt><br>
<tt>(0.5, 0.5, 0, 0) and (0, 0, 0.5, 0.5). </tt><br>
<tt>The code below reads the file, searches a dual positive variable and</tt><br>
<tt>changes the RHS of the associated constraint. The constraint can no</tt><br>
<tt>longer be binding, and the dual solution should change &nbsp;solution after
a</tt><br>
<tt>resolve. This works as expected without startFastDual. </tt><br>
<br>
<tt>If startFastDual is active, the dual solution doesn't change though</tt><br>
<tt>although it is no longer feasible. </tt><br>
<br>
<tt>OsiClpSolverInterface solver;</tt><br>
<tt>solver.readLp(&quot;C:\\primaldegenerate1.lp&quot;);</tt><br>
<tt>solver.initialSolve();</tt><br>
<br>
<tt>solver.startFastDual(0);</tt><br>
<br>
<tt>int nRow=0;</tt><br>
<tt>for(; nRow&lt;solver.getNumRows(); ++nRow) {</tt><br>
<br>
<tt>if(abs(solver.getRowPrice()[nRow])&gt;gvEPSILON_CONSTRAINT) {</tt><br>
<tt>break;</tt><br>
<tt>}</tt><br>
<tt>}</tt><br>
<br>
<tt>solver.setRowLower( nRow, solver.getRowLower()[nRow]-1.0</tt><br>
<tt>);</tt><br>
<tt>solver.resolve();</tt><br>
<tt>solver.stopFastDual();</tt><br>
<br>
<br>
<tt>Is this a bug or am I doing sth wrong? I thought bound changes inside</tt><br>
<tt>fast dual were allowed. What would be the fastest way to resolve the</tt><br>
<tt>system after such a change? </tt><br>
<br>
<br>
<tt>Thanks,</tt><br>
<tt>Sebastian</tt><br>
<br>
<tt>--</tt><br>
<tt>Sebastian Theophil . stheophil@think-cell.com</tt><br>
<tt>Software Engineer</tt><br>
<br>
<tt>think-cell Software GmbH . Invalidenstr. 34 . 10115 Berlin, Germany </tt><br>
<tt><a href="http://www.think-cell.com">http://www.think-cell.com</a>&nbsp;.
phone +49-30-666473-10 . toll-free (US) +1-800-891-8091</tt><br>
<tt>Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl . Amtsgericht
Berlin-Charlottenburg, HRB 85229</tt><br>
<br>
<br>
<tt>_______________________________________________</tt><br>
<tt>Clp mailing list</tt><br>
<tt>Clp@list.coin-or.org</tt><br>
<tt><a href="http://list.coin-or.org/mailman/listinfo/clp">http://list.coin-or.org/mailman/listinfo/clp</a></tt><br>
<br>
</span><o:p></o:p></p>

</div>

</div>

<!--[object_id=#0342cca8cd3ef743bdaeaa37dbcc7c82#]--><P style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma,Verdana,Arial">--<BR>Sebastian Theophil (<A href="mailto:stheophil@think-cell.com">stheophil@think-cell.com</A>)<BR>Software Engineer </P><!--[object_id=#think-cell.com#]--><TABLE style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma,Verdana,Arial" cellSpacing=0>
<TBODY>
<TR>
<TD style="PADDING-RIGHT: 10pt">think-cell Software GmbH</TD>
<TD colSpan=2><A href="http://www.think-cell.com/">http://www.think-cell.com</A></TD></TR>
<TR>
<TD style="PADDING-RIGHT: 10pt">Invalidenstr. 34</TD>
<TD style="PADDING-RIGHT: 5pt">phone</TD>
<TD>+49-30-666473-10</TD></TR>
<TR style="HEIGHT: 20pt" vAlign=top>
<TD style="PADDING-RIGHT: 10pt">10115 Berlin, Germany</TD>
<TD style="PADDING-RIGHT: 5pt">toll-free (US)</TD>
<TD>+1-800-891-8091</TD></TR>
<TR>
<TD colSpan=3>Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl</TD></TR>
<TR>
<TD colSpan=3>Amtsgericht Berlin-Charlottenburg, HRB 85229</TD></TR></TBODY></TABLE></body>

</html>