<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dave,<br>
      <br>
      I managed to get values of inf but code was quite happy - what
      compiler options were you using?<br>
      <br>
      If you checkout latest stable, it should be fixed - simply changed
      those default initializations to COIN_DBL_MAX*1.0e-50 in
      ClpSolve.cpp<br>
      <br>
      John Forrest<br>
      <br>
      On 05/01/17 13:10, Elwood, Dave wrote:<br>
    </div>
    <blockquote
      cite="mid:b4e3417693df48fcbd9467cb4028d097@EXCMN203v.osii.com"
      type="cite">
      <!-- Template generated by Exclaimer Mail Disclaimers on 07:10:44 Thursday, 5 January 2017 -->
      <style type="text/css">P.3293a8a8-046f-45b8-8066-6084657879b2 {
        MARGIN: 0cm 0cm 0pt
}
LI.3293a8a8-046f-45b8-8066-6084657879b2 {
        MARGIN: 0cm 0cm 0pt
}
DIV.3293a8a8-046f-45b8-8066-6084657879b2 {
        MARGIN: 0cm 0cm 0pt
}
TABLE.3293a8a8-046f-45b8-8066-6084657879b2Table {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style>
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="text-autospace:none">I am using Clp
          1.6.10  and getting a floating point overflow exception at
          ClpSimplexPrimal.cpp line 1244 when calling Clp_dual (C
          interface) with ifValuesPass = 0 and the problem given below.<o:p></o:p></p>
        <p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
        <p class="MsoNormal" style="text-autospace:none">Just prior to
          line 1244 of ClpSimplexPrimal.cpp the variables lastInf,
          lastInf3, thisInf, thisObj, lastObj, and lastObj3 are all set
          to 1.7976931348623157e+308   (the value of COIN_DBL_MAX) via
          calls to progress->lastInfeasibility(…) and
          progress->lastObjective(…).<o:p></o:p></p>
        <p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
        <p class="MsoNormal" style="text-autospace:none">Floating point
          overflows then occur in the three lines of the form:<o:p></o:p></p>
        <p class="MsoNormal">      thisObj += infeasibilityCost_ * 2.0 *
          thisInf;          (line 1239 – where infeasibilityCost_ =
          10000000000.000000)<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="text-autospace:none">This problem is
          infeasible and the two rows of constraints are almost linearly
          dependent. Presumably this is causing the dual solution to
          fail (line 5592 “problemStatus_ = 10;” of ClpSimplexDual.cpp
          is hit), and the primal code to be tried.   I’ve previously
          used Clp to successfully solve similar problems where the
          constraint matrix has linearly dependent rows, this is the
          first time I’ve had any problem.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Any help would be appreciated.  Thanks.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Dave<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">The simplest problem I’ve found (derived
          from a larger problem)  that causes this overflow is:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">numcols = 5<o:p></o:p></p>
        <p class="MsoNormal">numrows =  2<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">           
          collb                                                  
          colub                                            
          obj                                   Row 1
          constraint                      Row 2 constraint<o:p></o:p></p>
        <p class="MsoNormal">0.000000000000000e+000    
          2.499999478459358e-003     6.750000119209290e-001   
          1.758912086486816e+000    -2.412456832826138e-002<o:p></o:p></p>
        <p class="MsoNormal">0.000000000000000e+000    
          2.499997615814209e-003     6.750000119209290e-001  
          -1.758912086486816e+000     2.412456832826138e-002<o:p></o:p></p>
        <p class="MsoNormal">0.000000000000000e+000    
          2.500001341104507e-003     6.750000119209290e-001   
          1.639305591583252e+000    -2.248409017920494e-002<o:p></o:p></p>
        <p class="MsoNormal">0.000000000000000e+000    
          2.500001341104507e-003     6.750000119209290e-001  
          -1.639305591583252e+000     2.248409017920494e-002<o:p></o:p></p>
        <p class="MsoNormal">0.000000000000000e+000 
             2.499997615814209e-003     6.750000119209290e-001   
          2.748087310791016e+001    -3.769172132015228e-001<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">     
          rowlb                                                    
          rowub<o:p></o:p></p>
        <p class="MsoNormal">1.352944225072861e-002    
          6.439730748534203e-001<o:p></o:p></p>
        <p class="MsoNormal">8.794582739938051e-003    
          9.814968082355335e-002<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <br>
      <img id="IMG1" src="cid:part1.5E6CCB26.71059627@fastercoin.com"
        border="0" height="47" width="179"><br>
      <br>
      <table class="3293a8a8-046f-45b8-8066-6084657879b2Table"
        style="BORDER-COLLAPSE: collapse" cols="1" cellpadding="0"
        cellspacing="0" border="0">
        <tbody>
          <tr>
            <td style="FONT-SIZE: 7.5pt; FONT-FAMILY: Arial; COLOR:
              #7d7d7d; PADDING-LEFT: 50px" nowrap="nowrap">
              <span style="font-family:Arial; font-size:x-small; color:
                #808080; font-weight: bold; ">Dave</span><strong><font
                  color="#808080" size="3"> </font></strong><span
                style="font-family:Arial; font-size:x-small; color:
                #808080; font-weight: bold; ">Elwood</span><br>
              <span style="font-family:Arial; font-size:xx-small; color:
                #666666; "></span><span style="font-family:Arial;
                font-size:xx-small; color: #666666; ">Power Systems
                Development</span><br>
              <br>
              <font color="#666666">4101 Arrowhead Drive<br>
                Medina, Minnesota 55340-9457<br>
                Phone: 763 551 0559<br>
              </font><span style="color: #666666; "></span><span
                style="color: #666666; "></span><font color="#666666">Fax:
                763 551 0750<br>
                <strong>Email:</strong></font><strong> </strong><span
                style="font-weight: bold; "><span style="font-weight:
                  bold; "><a moz-do-not-send="true"
                    href="mailto:dave.elwood@osii.com" title="Click to
                    send email to Elwood, Dave" target=""><span
                      style="font-weight: bold; ">dave.elwood@osii.com</span></a></span></span><br>
              <strong><font color="#666666">Website:</font> </strong><a
                moz-do-not-send="true"
href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.osii.com&d=CwMGaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=-7pQasiCjQj7drZevSC58xNNIpt4FXqLLJVQ_hlAY3c&s=I6ynt2t_vzkPLXBqymuTWMH_qsG19-bJLEvOgQ-JRE4&e="><strong><a class="moz-txt-link-abbreviated" href="http://www.osii.com">www.osii.com</a></strong></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Clp mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__list.coin-2Dor.org_mailman_listinfo_clp&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=-7pQasiCjQj7drZevSC58xNNIpt4FXqLLJVQ_hlAY3c&s=Gpj3qNksongE7PGkpfVvGAqY0mA88HL3p9ejb1eJK60&e=">https://urldefense.proofpoint.com/v2/url?u=http-3A__list.coin-2Dor.org_mailman_listinfo_clp&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=-7pQasiCjQj7drZevSC58xNNIpt4FXqLLJVQ_hlAY3c&s=Gpj3qNksongE7PGkpfVvGAqY0mA88HL3p9ejb1eJK60&e=</a> 
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>