<div dir="ltr"><div><div>I am the guilty party who made the changes to CoinLpIO. I was extending the reader so that it recognizes multiple objectives. I am also not an expert on the LP format, but what is wrong here is that the objective does not have a name. If you change it to:<br><br>Minimize<br>
  obj: C1<br><br></div>then it should work as expected. If there is only one objective, It is supposed to assign the default name of &quot;obj&quot; and looking at the code, it seems it should still be doing that. However, it is throwing an error. I will debug it and let you know.<br><br></div>Cheers,<br><br>Ted <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 22, 2014 at 2:46 PM, John Forrest <span dir="ltr">&lt;<a href="mailto:john.forrest@fastercoin.com" target="_blank">john.forrest@fastercoin.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Kish,<br>
<br>
Seems to be a change to CoinLpIO - objective is being ignored - something to do with no objective name possibly.  Coding has changed for CoinlpIO but I am not an expert.  Will look at it tomorrow morning, unless whoever made changes to CoinLpIO fixes problem before then.<span class="HOEnZb"><font color="#888888"><br>
<br>
John</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 22/10/14 18:28, Kish Shen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I updated CBC yesterday (for dealing with handling of messages via message handlers -- thanks John!), but this CBC is failing one of our existing tests. It looks like the problem is in CLP, as CLP seems to be returning an incorrect objective value for the following LP problem:<br>
<br>
\Problem name: eclipse3<br>
<br>
Minimize<br>
  C1<br>
<br>
Subject To<br>
R1: C1 + C2 &gt;= 7<br>
R2: - C2 + C1 = 0<br>
<br>
Bounds<br>
C1 free<br>
C2 free<br>
<br>
End<br>
<br>
The objective should be 3.5, but 0.0 is returned.<br>
<br>
I have been able to reproduce this problem using the clp executable --<br>
by import(ing) the LP file and then solve.<br>
<br>
This is from CBC 2.8 that I downloaded yesterday. The problem was not in the earlier CBC 2.8 that I was using, which was probably downloaded about a year ago.<br>
<br>
Is this a problem in CLP, or am I doing something wrong?<br>
<br>
Thanks in advance for any help/information!<br>
<br>
Cheers,<br>
<br>
Kish<br>
______________________________<u></u>_________________<br>
Clp mailing list<br>
<a href="mailto:Clp@list.coin-or.org" target="_blank">Clp@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/clp</a><br>
<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Clp mailing list<br>
<a href="mailto:Clp@list.coin-or.org" target="_blank">Clp@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/clp</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br>(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div>
</div>