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
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to