Javad,<br><br>Did you remember to use maximization ?<br><br>This is what I get with Sulum :<br><br>sulum command &gt;&gt; --read /home/bj/Downloads/maximize_infeasible.mps<br>&lt;Info&gt;     Read problem file : /home/bj/Downloads/maximize_infeasible.mps<br>
&lt;Info&gt;     Reading MPS file 78 cons 217 vars 424 non zeroes<br>&lt;Info&gt;     Read time : 0.046<br>sulum command &gt;&gt; --param-int-set SlmPrmIntObjSense SlmObjSenseMax<br>sulum command &gt;&gt; --opt<br>&lt;Log&gt;      Starting optimizer<br>
&lt;Info&gt;     No license checkout, problem fits limited trial size.<br>&lt;Log&gt;      Starting presolve<br>&lt;Info&gt;     Problem to be optimized has 78 constraints 217 variables and 424 non zeroes in A matrix.<br>
&lt;Info&gt;     Presolved problem has 54 constraints 145 variables and 280 non zeroes in A matrix.<br>&lt;Log&gt;      Completed presolve<br>&lt;Log&gt;      Presolve time : 0.080<br>&lt;Log&gt;      Starting Simplex Optimizer<br>
&lt;Info&gt;     No hotstart used<br>&lt;Log&gt;      Starting Dual Simplex Optimizer<br>&lt;Log&gt;      Iters :  0           DInf :  0.0000000e+00  <br>&lt;Log&gt;      Iters :  0           DObj :  1.4779100e+08  <br>&lt;Log&gt;      Iters :  84          DObj :  1.4622627e+08  <br>
&lt;Log&gt;      Solution is optimal<br>&lt;Log&gt;      Completed Dual Simplex Optimizer<br>&lt;Log&gt;      Completed Simplex Optimizer<br>&lt;Log&gt;      Starting postsolve<br>&lt;Log&gt;      Completed postsolve<br>&lt;Log&gt;      Completed optimizer<br>
&lt;Log&gt;      Optimizer Time  : 0.195       <br>&lt;Info&gt;     Optimizer Return Key : SlmRetOk<br>sulum command &gt;&gt; --sol-quality<br>&lt;Info&gt;     Quality LP sol : <br><br>&lt;Info&gt;      Primal solution                                            <br>
&lt;Info&gt;      ---------------                                            <br>&lt;Info&gt;      Primal obj                                            :    1.4622627e+08<br>&lt;Info&gt;      Primal basic inf.                                     :    0.0000000e+00<br>
&lt;Info&gt;      Primal basic num inf.                                 :    0<br>&lt;Info&gt;      Primal non basic bound inf.                           :    0.0000000e+00<br>&lt;Info&gt;      Primal max super basic                                :    0.0000000e+00<br>
&lt;Info&gt;      Primal max eq. inf i.e ||Ax-s||                       :    1.5133992e-08<br>&lt;Info&gt;      Primal invalid status keys                            :    0<br><br>&lt;Info&gt;      Dual solution                                              <br>
&lt;Info&gt;      -------------                                              <br>&lt;Info&gt;      Dual obj                                              :    1.4622627e+08<br>&lt;Info&gt;      Dual basic inf .                                      :    0.0000000e+00<br>
&lt;Info&gt;      Dual basic num inf.                                   :    0<br>&lt;Info&gt;      Dual non basic bound inf.                             :    1.6816624e-14<br>&lt;Info&gt;      Dual max super basic                                  :    4.5474735e-13<br>
&lt;Info&gt;      Dual max eq. inf i.e max(||c-yA-rc||,||y-cb*inv(B)||) :    2.9000000e-07<br><br>sulum command &gt;&gt; <br><br><br><div class="gmail_quote">On Thu, Jun 21, 2012 at 7:29 PM, Ahmadi, Javad <span dir="ltr">&lt;<a href="mailto:javad.ahmadi@amd.com" target="_blank">javad.ahmadi@amd.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div bgcolor="white" link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I ran this with CLP, CPLEX and GUROBI; all say infeasible!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Javad<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></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:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"> <a href="mailto:clp-bounces@list.coin-or.org" target="_blank">clp-bounces@list.coin-or.org</a> [mailto:<a href="mailto:clp-bounces@list.coin-or.org" target="_blank">clp-bounces@list.coin-or.org</a>]
<b>On Behalf Of </b>John Forrest<br>
<b>Sent:</b> Thursday, June 21, 2012 10:57 AM<br>
<b>To:</b> <a href="mailto:clp@list.coin-or.org" target="_blank">clp@list.coin-or.org</a><br>
<b>Subject:</b> Re: [Clp] CLP finds feasible model infeasible<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Nils,<br>
<br>
Something to do with scaling.<br>
<br>
By fiddling about I can get it to be primal infeasible OR dual infeasible with scaling.<br>
<br>
Looking more closely Clp is correct and all the other codes are wrong! <br>
<br>
You have sell/buy variables e.g.<br>
<br>
    sell_23 OBJROW 44.66755905  auto_constraint_000069 1.          <br>
    buy_23 OBJROW  -44.667559  auto_constraint_000069  -1.        <br>
<br>
So the code wants to buy an infinite amount and then sell it at a small profit.<br>
<br>
This was on about half the sell/buy pairs.  When I made all those bad ones equal cost then it was fine.<br>
<br>
John Forrest<br>
On 21/06/12 15:49, Nils Löhndorf wrote: <u></u><u></u></p>
<p class="MsoNormal">Dear CLP mailing list members, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have been testing CLP as part of a cutting planes algorithm to solve stochastic optimization problems. My problem is that CLP frequently finds a problem infeasible although the problem is definitely feasible. I have tested the same model
 with other solvers such as Gurobi, Xpress and Sulum, where I did not encounter this problem.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have attached the mps file of a prototypical LP. When I read the file from the console and solve the problem using &quot;clp maximize_infeasible.mps -max -dualsimplex&quot;, it returns &quot;primal infeasible&quot;. I have found out that with some LPs like
 the one attached, I just need to increase the dual tolerance, e.g. using &quot;clp maximize_infeasible.mps -max -dualT 1.0 -dualsimplex&quot;. However, this does not always work.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Does anyone have an idea what is wrong here or what I have to do with my model to avoid this behavior?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Best regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Nils<u></u><u></u></p>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Dr. Nils Löhndorf<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Institut für Produktionsmanagement<br>
Wirtschaftsuniversität Wien<br>
Nordbergstraße 15, 1090 Wien, Austria <u></u><u></u></p>
<div>
<p class="MsoNormal"><a href="http://prodman.wu.ac.at" target="_blank">http://prodman.wu.ac.at</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="tel:%2B43%201%2031336%205629" value="+431313365629" target="_blank">+43 1 31336 5629</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:nils.loehndorf@wu.ac.at" target="_blank">nils.loehndorf@wu.ac.at</a><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<u></u><u></u></p>
<pre>_______________________________________________<u></u><u></u></pre>
<pre>Clp mailing list<u></u><u></u></pre>
<pre><a href="mailto:Clp@list.coin-or.org" target="_blank">Clp@list.coin-or.org</a><u></u><u></u></pre>
<pre><a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><u></u><u></u></pre>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</div>

<br>_______________________________________________<br>
Clp mailing list<br>
<a href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
<br></blockquote></div><br>