[R] any linear programming routine in R

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jun 15 09:27:52 CEST 2004


On Tue, 15 Jun 2004, Yong Wang wrote:

> is there any linear programming routine available for R?

Yes.  help.search shows

print.simplex(boot)     Print Solution to Linear Programming Problem
simplex(boot)           Simplex Method for Linear Programming Problems
simplex.object(boot)    Linear Programming Solution Objects
solveLP(linprog)        solve Linear Programming / Optimization
                        problems
lp.object(lpSolve)      LP (linear programming) object


You would have found linprog and lpsolve by looking in the R FAQ's list of 
packages.

> if not, can you suggest any alternatives? not need to be very powerful, I 
> get only a samll problem to resolve.

You asked on S-news too. `boot' is also available for S-PLUS.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list