Learn R Programming

lpSolveAPI (version 5.5.0.12-3)

read.lp: Read LP

Description

Read an lpSolve linear program model object from a file.

Usage

read.lp(filename, type = c("lp", "mps", "freemps"))

Arguments

filename
a character string giving the name of the file which the linear programming model is to be read from.
type
the type of file provided in filename. If missing, read.lp will attempt to guess the file type by examining the file's suffix.

Value

  • an lpSolve linear program model object.

References

http://lpsolve.sourceforge.net/5.5/index.htm