Skip to content
Back to formatted view

Raw Message

Message-ID: <DA5DC286-A1BA-4C88-A49A-C969B56EBEBD@gmail.com>
Date: 2010-01-28T09:54:13Z
From: Kohleth Chia
Subject: lpSolve API - add Vs set

Hi,

Using the package lpSolve API, I need to build a 2000*100000 constraint matrix.
I wonder which method is faster:

(a) 
model = make.lp(0,0)
add.constraint(model,	...)

or

(b)
model = make.lp(2000,100000)
set.constraint(model,...)

Thanks
------------
KC