<br><font size=2 face="sans-serif">Thomas,</font>
<br>
<br><font size=2 face="sans-serif">You should have had a message saying
the problem was infeasible and you should be able to check the status i.e.
model.status()!=0 or !model.isProvenOptimal(). &nbsp; The simplex algorithm
always returns a solution but will say if it is infeasible.</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>&quot;Thomas Witkowski&quot;
&lt;s7118188@inf.tu-dresden.de&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/03/2006 02:38 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
s7118188@inf.tu-dresden.de</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">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: How do deal with
a solution out of bounds?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hello,<br>
<br>
I'm new to programming with CLP and I have a problem where I get a<br>
solution which is out of the bounds I have set before. I want to solve
a<br>
set of equations without a min/max function. The coefficient-matrix is
as<br>
follows:<br>
<br>
1 &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 &nbsp;
&nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0<br>
0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp;1 &nbsp;
&nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0<br>
0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;51.32 &nbsp;100 &nbsp; &nbsp;-1
&nbsp; &nbsp; 0<br>
0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;51.92 &nbsp;51.02 &nbsp;-1
&nbsp; &nbsp; 0<br>
48.68 &nbsp;48.08 &nbsp;0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 &nbsp;
&nbsp; &nbsp;-1<br>
0 &nbsp; &nbsp; &nbsp;48.98 &nbsp;0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp;
&nbsp;0 &nbsp; &nbsp; &nbsp;-1<br>
0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;51.92 &nbsp;51.32 &nbsp;-1
&nbsp; &nbsp; 0<br>
0 &nbsp; &nbsp; &nbsp;48.68 &nbsp;0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp;
&nbsp;0 &nbsp; &nbsp; &nbsp;-1<br>
<br>
The first two rows have to be equal to 1 the following four rows have to<br>
be equal to 0 and the both last can range between -100 and 0. The bounds<br>
for the first four columns are 0 - 1 and for the others 0 - 100. Solving<br>
this system with the primal-algorithm I get a solution for the fourth row<br>
to be -0.00365258. But how can this be? The row should be equl to 0! From<br>
an other programm I know that this equations do not have a solution, so<br>
why I get one? Maybe some of you can help me with this problem? I would
be<br>
thankful!<br>
<br>
Regards,<br>
<br>
Thomas<br>
<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>