<br><font size=2 face="sans-serif">Anureet,</font>
<br>
<br><font size=2 face="sans-serif">You can set the hint OsiDoPresolveInInitial
&nbsp;to false to switch off presolve.</font>
<br>
<br><font size=2 face="sans-serif">I am quite happy to add code to scale
down ray in simple cases but this may affect existing code. &nbsp;If I
did it would be to scale down largest until smallest element is as far
from one e.g. smallest 1.0e-5, largest 1.0e-5. &nbsp;It gets more complicated
when largest is 1.0e12 and smallest is 1.0e-15. &nbsp;Obviously the user
can do their own scaling.</font>
<br>
<br><font size=2 face="sans-serif">I can do whatever people want.</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>Anureet Saxena &lt;anureet@yahoo.com&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/25/2006 02:02 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, anureet@cmu.edu,
anureet@yahoo.com</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] getPrimalRay()</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>hi,<br>
<br>
I am trying to use OsiClpSolverInterface::getPrimalRay(const int) to extract<br>
extreme rays of a certain unbounded linear program. I have two questions
and<br>
would &nbsp;really appreciate if someone could help me with these: <br>
<br>
1. The primal rays returned by getPrimalRay() are double arrays with very
large<br>
numbers. Even for a very simple linear program with 2 variables and one<br>
constraint the extreme ray seems to have numbers of the order of 10^8.
A very<br>
simple example and code to illustrate this is available at:<br>
<br>
http://www.andrew.cmu.edu/user/anureets/tmp/primalRay.tgz<br>
<br>
As I understand, OsiClp is performing some kind of persolve analysis which<br>
leads to this behaviour. <br>
<br>
a. Is it possibe to instruct the presolver to return &quot;neat&quot; extreme
rays?<br>
b. Is it possible to turn off this presolve analysis? <br>
<br>
2. The argument to getPrimalRays(const int) seems redundant since the code<br>
anyway returns only one extreme ray (This is also the case with OsiCpx).<br>
<br>
regards,<br>
anureet<br>
<br>
<br>
<br>
<br>
Anureet Saxena<br>
 anureet@cmu.edu<br>
 anureet@yahoo.com<br>
 <br>
--This mail was delivered to you on 100% recyclable electrons.<br>
<br>
__________________________________________________<br>
Do You Yahoo!?<br>
Tired of spam? &nbsp;Yahoo! Mail has the best spam protection around <br>
http://mail.yahoo.com <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>