Learn R Programming

rLindo (version 8.0.1)

rLSwriteWithSetsAndSC: Writes the given problem to a specified file in MPS format with the sets and SC vars inserted.

Description

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

Usage

rLSwriteWithSetsAndSC(model,pszFname,nFormat)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
pszFname
The path and name of the MPS file to which the model should be written.
nFormat
An integer indicating whether the MPS file is formatted or not.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSwriteMPSFile