<div dir="ltr"><div>Hi Kish,<br><br>I fixed things up so that if you have just one objective, you do not need to specify the name. With multiple objectives, you need the names in order to separate the expressions. There&#39;s no easy way around this, but it only affects users of SYMPHONY&#39;s bicriteria solve anyway. With rows, the right-hand side serves as a separator so it is possible to leave the row names out even when there are multiple rows.<br><br></div>I committed the fix to trunk. Please let me know if everything seems OK.<br><br>Cheers,<br><br>Ted<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 22, 2014 at 9:44 PM, Kish Shen <span dir="ltr">&lt;<a href="mailto:kisshen@cisco.com" target="_blank">kisshen@cisco.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi John and Ted,<br>
<br>
Thanks for your replies. I had wondered if the problem is with the file, but I forgot to mention that in my posting, as I was in a rush.<br>
<br>
Some context: I did some checking on this failing test, and it seems<br>
the test has been in our system for 10 years, pre-dating our interfacing to CBC. It is so long ago that it is difficult to be absolutely certain, but I think the LP file was generated by XPRESS,<br>
which suggest that XPRESS, at least at the time (2oo4) was generating objectives without a name for LP format files.<br>
<br>
Cheers,<br>
<br>
Kish<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 22/10/2014 23:49, Ted Ralphs wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am the guilty party who made the changes to CoinLpIO. I was extending the<br>
reader so that it recognizes multiple objectives. I am also not an expert<br>
on the LP format, but what is wrong here is that the objective does not<br>
have a name. If you change it to:<br>
<br>
Minimize<br>
   obj: C1<br>
<br>
then it should work as expected. If there is only one objective, It is<br>
supposed to assign the default name of &quot;obj&quot; and looking at the code, it<br>
seems it should still be doing that. However, it is throwing an error. I<br>
will debug it and let you know.<br>
<br>
Cheers,<br>
<br>
Ted<br>
<br>
On Wed, Oct 22, 2014 at 2:46 PM, John Forrest &lt;<a href="mailto:john.forrest@fastercoin.com" target="_blank">john.forrest@fastercoin.com</a>&gt;<br>
wrote:<br>
<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<br>
to do with no objective name possibly.  Coding has changed for CoinlpIO but<br>
I am not an expert.  Will look at it tomorrow morning, unless whoever made<br>
changes to CoinLpIO fixes problem before then.<br>
<br>
John<br>
<br>
<br>
On 22/10/14 18:28, Kish Shen wrote:<br>
<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<br>
message handlers -- thanks John!), but this CBC is failing one of our<br>
existing tests. It looks like the problem is in CLP, as CLP seems to be<br>
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<br>
the earlier CBC 2.8 that I was using, which was probably downloaded about a<br>
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>
<br>
</blockquote>
______________________________<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>
</blockquote>
<br>
<br>
<br>
<br>
<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>
</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>