<div dir="ltr">Hello <font color="#888888">Hauke,<br>I recently asked a similar question. You can look here...<br><br></font><a href="http://list.coin-or.org/pipermail/coin-discuss/2008-August/003440.html">http://list.coin-or.org/pipermail/coin-discuss/2008-August/003440.html</a><br>
<br>Mustafa <br><div class="gmail_quote">On Mon, Sep 8, 2008 at 9:36 AM, Hauke Pribnow <span dir="ltr">&lt;<a href="mailto:hauke.pribnow@gmx.net">hauke.pribnow@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello everybody!<br>
<br>
I have a pretty small Simplex problem (three rows, about nine to twenty<br>
columns) where almost all columns will stay constant most of the time<br>
whith the exception of the last one which will change quite often.<br>
<br>
The column bounds for the mostly constant colums are 0 &lt;= value &lt;= 1 and<br>
for the often changing one either 0 &lt;= value &lt;= infinity or -infinity &lt;=<br>
value &lt;= 0. The row bounds are set to value = 0 (or 0 &lt;= value &lt;= 0) for<br>
all the time.<br>
<br>
There is only one objective coefficient: the one for the last row, and<br>
that is either -1 or 1. Same goes for the optimization direction... it<br>
is -1 or 1 as well. (When the objective coefficient is 1, the<br>
optimziation direction is -1 and vice-versa. Concerning the col bounds<br>
there&#39;s also such a rule: When the objective coefficient is 1, the col<br>
bounds for the last column is 0 &lt;= value and in the other case value &lt;= 0.)<br>
<br>
This (changing) Simplex problem will have to be solved about 120 times<br>
in a second, which is the reason why I am looking for a way to optimize<br>
the performance of it. Since I think that a lot of time gets lost by<br>
using the deleteColumns() and addColumn() functions, I&#39;m especially<br>
looking for a way to write data directly into the matrix.<br>
<br>
In case you can help me to find a way to do that or even to optimize my<br>
problem further, I&#39;d be happy about any type of reply. :)<br>
<br>
Thanks in advance!<br>
<font color="#888888"><br>
<br>
Hauke Pribnow<br>
_______________________________________________<br>
Clp mailing list<br>
<a href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
</font></blockquote></div><br></div>