Published by the Foundation for Open Access Statistics
Editors-in-chief: Bettina Grün, Torsten Hothorn, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Calling the lp_solve Linear Program Software from R, S-PLUS and Excel | Buttrey | Journal of Statistical Software
Authors: Samuel E. Buttrey
Title: Calling the lp_solve Linear Program Software from R, S-PLUS and Excel
Abstract: We present a link that allows R, S-PLUS and Excel to call the functions in the lp_solve system. lp_solve is free software (licensed under the GNU Lesser GPL) that solves linear and mixed integer linear programs of moderate size (on the order of 10,000 variables and 50,000 constraints). R does not include this ability (though two add-on packages offer linear programs without integer variables), while S-PLUS users need to pay extra for the NuOPT library in order to solve these problems. Our link manages the interface between these statistical packages and lp_solve.

Excel has a built-in add-in named Solver that is capable of solving mixed integer programs, but only with fewer than 200 variables. This link allows Excel users to handle substantially larger problems at no extra cost. While our primary concern has been the Windows operating system, the package has been tested on some Unix-type systems as well.

Page views:: 21441. Submitted: 2004-10-08. Published: 2005-05-01.
Paper: Calling the lp_solve Linear Program Software from R, S-PLUS and Excel     Download PDF (Downloads: 22641)
Supplements:
lpSolve_1.0.2.tar.gz: R source package Download (Downloads: 1515; 136KB)

DOI: 10.18637/jss.v014.i04

by
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.