<br><font size=2 face="sans-serif">Probably this condition is due to an
unbounded ray being detected but no feasible solution has yet been found?
</font>
<br>
<br><font size=2 face="sans-serif">isAbandoned() might be the most appropriate
test in that case.</font>
<br>
<br><font size=2 face="sans-serif">Sounds like an interesting problem --
might be nice to have in the samples or for a regression test.<br>
</font>
<br><font size=2 face="sans-serif">Alan King</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Matthew Saltzman &lt;mjs@ces.clemson.edu&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">06/17/2005 01:08 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Discussions about open source software for Operations Research &nbsp; &nbsp;
&nbsp; &nbsp;&lt;coin-discuss@list.coin-or.org&gt;</font></div></table>
<br>
<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">Discussions about open source software
for Operations Research &lt;coin-discuss@list.coin-or.org&gt;</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">Re: [Coin-discuss] Strange termination</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On Fri, 17 Jun 2005, Kasper Bonne Rasmussen wrote:<br>
<br>
&gt;<br>
&gt; On Fri, 17 Jun 2005, Matthew Saltzman wrote:<br>
&gt;&gt; On Fri, 17 Jun 2005, Kasper Bonne Rasmussen wrote:<br>
&gt;&gt;&gt; CPXgetstat(env_, getMutableLpPtr()) returns 119 in the call
that fails to<br>
&gt;&gt;&gt; generate an optimal solution. cplex.h defines 119 as<br>
&gt;&gt;&gt; CPXMIP_NODE_FILE_LIM_INFEAS. None of the query methods check
for that.<br>
&gt;&gt;<br>
&gt;&gt; What version of CPLEX are we talking about here?<br>
&gt;&gt;<br>
&gt;&gt; Since at least CPLEX 8.1, code 119 is CPX_MIP_INForUNBD.<br>
&gt;<br>
&gt; Cplex version 9.0 and you are absolutely right. I was looking in a<br>
&gt; cplex-headerfile v7.0, sorry.<br>
&gt;<br>
&gt; ..but there is still no query method that checks for this, as far
as I can<br>
&gt; see.<br>
<br>
I'm not terribly surprised. &nbsp;But which of these should detect it?<br>
<br>
 &nbsp; isAbandoned()<br>
 &nbsp; isProvenOptimal()<br>
 &nbsp; isProvenPrimalInfeasible()<br>
 &nbsp; isProvenDualInfeasible()<br>
 &nbsp; isPrimalObjectiveLimitReached()<br>
 &nbsp; isDualObjectiveLimitReached()<br>
 &nbsp; isIterationLimitReached()<br>
<br>
The docs are not clear what the circumstances are that lead to this return
<br>
code. &nbsp;There is a CPXMIP_UNBOUNDED (unbdd ray found) and a CPXMIP_INFEAS
<br>
(proven infeasible). &nbsp;So I will guess that CPXMIP_INForUNBD must arise
in <br>
some ambiguous case. &nbsp;We'd need to get CPLEX to weigh in on whether
the <br>
two cases are distinguishable with some additional calls.<br>
<br>
&gt; /Kasper<br>
<br>
-- <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Matthew Saltzman<br>
<br>
Clemson University Math Sciences<br>
mjs AT clemson DOT edu<br>
http://www.math.clemson.edu/~mjs<br>
_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-discuss<br>
</tt></font>
<br>