<div dir="ltr">Hi Tom,<div><br></div><div>This is is a question for the Open Solver team. If I understand well, I don't think it has anything to do with Cbc as a stand-alone solver. I have cc'd Andrew Mason, who can direct you better where to post your question, but I think there are forums on the Open Solver site that would be a beter place to go. Thanks!</div><div><br></div><div>Cheers,</div><div><br></div><div>Ted </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 6, 2016 at 5:34 PM, Favinger, Thomas E CIV USARMY AMSAA (US) <span dir="ltr"><<a href="mailto:thomas.e.favinger.civ@mail.mil" target="_blank">thomas.e.favinger.civ@mail.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ALCON,<br>
<br>
I am having the following issue with Open Solver.  Please refer to the<br>
attached PowerPoint file.  As shown on Slide 1, I created an extremely<br>
simple linear problem.  If I choose the Bonmin solver and run the model, the<br>
result shown on Slide 2 occurs.  As shown on Slide 3, if I try to select the<br>
CBC Linear Solver, then I get the error message shown on Slide 4.  Clicking<br>
Debug leads to the result shown on Slide 5.  The Case statement does not<br>
recognize "Cbc" because it appears to be looking for "CBC".  I have been<br>
able to trace the code to the function GetNameValueIfExists (see Slide 6).<br>
The HasRef value appears to be coming up False.  Eventually, the statement<br>
value = Mid(s, 3, Len(s) - 3) seems to set value to "Cbc".  By adding the If<br>
statement to the bottom of the function, I can actually force it to return<br>
"CBC" which stops the error from occurring and allows the CBC Solver to work<br>
(Slides 7 and 8).  It is not obvious to me why GetNameValueIfExists fails to<br>
return "CBC" without being hacked, but perhaps those of you who live and<br>
breathe the Open Solver software would have an idea?<br>
<br>
Tom Favinger<br>
US AMSAA<br>
410-278-4310<br>
<br>______________________________<wbr>_________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" rel="noreferrer" target="_blank">http://list.coin-or.org/<wbr>mailman/listinfo/cbc</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div>
</div>