<div>Hi Martin and all.</div><div><br></div><div>I just tried this out: I add all needed rows/constraint just once and after that I just turn &quot;on&quot; and &quot;off&quot; (setting upper and lower bounds to double -max()/+max()) the ones that are and are not needed, respectively. So far, the performance dropped down steeply. Could I be doing something wrong? Or could this be the correct result?</div>

<div><br></div><div>Regards,</div>--<br>Carlos E. Knippschild<br>
<br><br><div class="gmail_quote">On Fri, Feb 5, 2010 at 16:07, Carlos Eduardo Knippschild <span dir="ltr">&lt;<a href="mailto:carlos.eduardo@audaces.com.br">carlos.eduardo@audaces.com.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hey Martin.<div><br></div><div>Thanks for the prompt answer! </div><div><br></div><div>So you mean I should add all constraints that would ever be used and then just &quot;enable&quot; and &quot;disable&quot; according to the current model I want to solve, right? Instead of &quot;real&quot; slacks variables, couldn&#39;t I just use the values row/constraint upper and lower bounds to do the enabling/disabling?</div>


<div><br></div><div>Best wishes!<br clear="all"><font color="#888888">--<br>Carlos E. Knippschild</font><div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Fri, Feb 5, 2010 at 15:59, Mueller, Martin C <span dir="ltr">&lt;<a href="mailto:martin.c.mueller@siemens.com" target="_blank">martin.c.mueller@siemens.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi Carlos,<br>
<br>
You&#39;re probably better off changing bounds instead of adding or deleting rows. In cases such as yours I usually just add a slack variable to each of these rows. Fixing the variable to zero switches the row on, removing all bounds switches it off. The solver can more easily warmstart the resolve.<br>



<br>
With best regards,<br>
Martin C Mueller<br>
<br>
Siemens AG<br>
Corporate Technology<br>
CT T DE TC3<br>
Otto-Hahn-Ring 6<br>
81739 Munich, Germany<br>
Tel.: +49 (89) 636-42373<br>
Fax: +49 (89) 636-42284<br>
Mobile: +49 (170) 9950406<br>
mailto:<a href="mailto:martin.c.mueller@siemens.com" target="_blank">martin.c.mueller@siemens.com</a><br>
<br>
Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme; Managing Board: Peter Loescher, Chairman, President and Chief Executive Officer; Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen; Registered offices: Berlin and Munich, Germany; Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322<br>



<br>
Important notice: This e-mail and any attachment thereof contain corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank you.<br>



<div><div></div><div><br>
<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:clp-bounces@list.coin-or.org" target="_blank">clp-bounces@list.coin-or.org</a><br>
&gt; [mailto:<a href="mailto:clp-bounces@list.coin-or.org" target="_blank">clp-bounces@list.coin-or.org</a>] On Behalf Of Carlos<br>
&gt; Eduardo Knippschild<br>
&gt; Sent: Friday, February 05, 2010 6:44 PM<br>
&gt; To: CLP user list<br>
&gt; Subject: [Clp] Solving a lot of small and similar LPs<br>
&gt;<br>
&gt; Hello.<br>
&gt;<br>
&gt; I&#39;d like to know if anyone has some suggestions on how to<br>
&gt; improve solving performance for our case, for which we&#39;re<br>
&gt; currently using CLP.<br>
&gt;<br>
&gt; We&#39;re trying to solve tens to hundreds of thousands of<br>
&gt; dynamically generated LPs, ranging from 30 variables by 500<br>
&gt; constraints to a maximum of 400 variables by 100 000<br>
&gt; constraints. Each new generated LP is a small modification<br>
&gt; from the one previously solved, where these modifications are<br>
&gt; always the addition or removal of constraints (the number of<br>
&gt; variables remains always the same) by using methods &quot;addRow&quot;<br>
&gt; and &quot;deleteRows&quot; on the existing model.<br>
&gt;<br>
&gt; I&#39;ve already played a little bit with some of the parameters<br>
&gt; I&#39;ve found, and so far I discovered that by disabling<br>
&gt; presolve and scaling we improve a little our times.<br>
&gt;<br>
&gt; So, does anyone have any ideas on how to get even better<br>
&gt; results? Are there better ways of keeping this ever changing<br>
&gt; model? What other parameters should I play with?<br>
&gt;<br>
&gt; Or even, if another project from COIN-OR would be more<br>
&gt; suitable for our case. Recently I read about DyLP: would it<br>
&gt; be an interesting option for this case?<br>
&gt;<br>
&gt;<br>
&gt; Thank you for your time! Any help will be much appreciated.<br>
&gt;<br>
&gt; Regards,<br>
&gt; --<br>
&gt; Carlos E. Knippschild<br>
&gt; </div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>