[Clp] Solving a lot of small and similar LPs

Mueller, Martin C martin.c.mueller at siemens.com
Fri Feb 5 12:59:29 EST 2010


Hi Carlos,

You'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.

With best regards,
Martin C Mueller

Siemens AG
Corporate Technology
CT T DE TC3
Otto-Hahn-Ring 6
81739 Munich, Germany
Tel.: +49 (89) 636-42373 
Fax: +49 (89) 636-42284 
Mobile: +49 (170) 9950406
mailto:martin.c.mueller at siemens.com 

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

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.
  

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




More information about the Clp mailing list