Learn R Programming

rLindo (version 8.0.1)

rLSsolveFileLP: Optimizes a large LP from an MPS file.

Description

R interface function for LINDO API function LSsolveFileLP. For more information, please refer to LINDO API User Manual.

Usage

rLSsolveFileLP(model,szFileNameMPS,szFileNameSol,nNoOfColsEvaluatedPerSet, nNoOfColsSelectedPerSet,nTimeLimitSec)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
szFileNameMPS
The path and name of the input MPS file.
szFileNameSol
The path and name of the output solution file.
nNoOfColsEvaluatedPerSet
Number of columns evaluated together in one set.
nNoOfColsSelectedPerSet
Number of columns selected from one set.
nTimeLimitSec
Time limit for the program in seconds.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
pnSolStatusParam
The status of the optimization.
pnNoOfConsMps
Number of constraints in the problem.
pnNoOfColsMps
Number of variables (columns) in the problem.
pnErrorLine
Line number at which a structural error was found.

Details

This routine is appropriate only for LP models with many more columns, e.g., millions, than rows. It is appropriate for LP's that might otherwise not easily fit into available memory.

References

LINDO SYSTEMS home page at www.lindo.com