rLSsolveFileLP: Optimizes a large LP from an MPS file.

Description Usage Arguments Details Value References

View source: R/rLindo.R

Description

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

Usage

1
2
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.

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.

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.

References

LINDO SYSTEMS home page at www.lindo.com


rLindo documentation built on May 1, 2019, 10:11 p.m.