<br><font size=2 face="sans-serif">Didrik,</font>
<br>
<br><font size=2 face="sans-serif">Without the matrix it is impossible
to make any comments.</font>
<br>
<br><font size=2 face="sans-serif">If you wish, you may send me a matrix
where this occurs with the two outputs.</font>
<br>
<br><font size=2 face="sans-serif">John Forrest</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Didrik Pinte &lt;dpinte@itae.be&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: coin-lpsolver-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">10/23/2007 08:28 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">coin-lpsolver@list.coin-or.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Coin-lpsolver] clp duals</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi,<br>
<br>
I am including clp in one of our matlab's project. It's replacing some<br>
lpsolve calls. The problem is that the order of the duals variables we<br>
get from both solvers is not the same ;-)<br>
<br>
Here is an example :<br>
<br>
CLP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lpsolve<br>
<br>
duals = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;duals
=<br>
<br>
 &nbsp; 1.0e+04 * &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;1.0e+04 *<br>
<br>
 &nbsp; &nbsp;0.0001 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; 1.1281<br>
 &nbsp; &nbsp;1.1281 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; 0.5339<br>
 &nbsp; &nbsp;0.5339 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; 0.0001<br>
<br>
<br>
I'm using the following call from CLP to get the duals (within my mex<br>
file) :<br>
<br>
dual = modelPrimalDual-&gt;dualRowSolution();<br>
<br>
How can I check who is wrong ?<br>
<br>
Thanks in advance for any help<br>
<br>
<br>
-- <br>
Didrik Pinte<br>
IT for the Agro-Environment - http://www.itae.be<br>
Mobile : +32 475 665 668 &nbsp; &nbsp;- info@itae.be<br>
_______________________________________________<br>
Coin-lpsolver mailing list<br>
Coin-lpsolver@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-lpsolver<br>
</font></tt>
<br>