[Coin-discuss] Quick method to build an ILP model
John J Forrest
jjforre at us.ibm.com
Thu Oct 13 10:46:26 EDT 2005
Salvatore,
The class CoinModel is designed to make it reasonably fast to add rows one
at a time. Try defining a CoinModel, building your model and then create
an OsiSolverInterface object by loadFromCoinModel.
Personally I would use Cbc and OsiClp rather than OsiCbc as that way you
get more flexibility. If I could remember who asked me to add
OsiCbcSolverInterface I would stick pins in a little wax doll of him or
her :-)
John Forrest
"Salvatore Nocella" <salvatore.nocella at di.univaq.it>
Sent by: coin-discuss-bounces at list.coin-or.org
10/13/2005 10:26 AM
Please respond to
Discussions about open source software for Operations Research
To
<coin-discuss at list.coin-or.org>
cc
Subject
[Coin-discuss] Quick method to build an ILP model
Hello,
i'am writing a simple application to build an ILP model to be following
solved by BranchAndBound. My ILP is introduced iteratively calling the
method addRow() on a OsiCbcSolverInterface object instance. However this
procedure seems to be too much time consuming (mostly depending on the
addRow() computing time). I wonder if there is an alternative method to
introduce an ILP formulation row-by-row quicker than the previous.
Thanks! bye
_________________________________________________
Salvatore Nocella
Ph-D Student in Computer Science
Dipartimento di Informatica : Universita' di L'Aquila : Italy
office phone & fax + 39 0862 433736
web http://www.di.univaq.it/people/SalvatoreNocella/
laboratorio O.I.L. http://www.oil.di.univaq.it/
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.14/131 - Release Date:
12/10/2005
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20051013/5387e530/attachment.html>
More information about the Coin-discuss
mailing list