Learn R Programming

rLindo (version 8.0.1)

rLSwriteDualMPSFile: Writes the given problem to a specified file in MPS format.

Description

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

Usage

rLSwriteDualMPSFile(model,pszFname,nFormat,nObjSense)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
pszFname
The path and name of the MPS file to which the dual model should be written.
nFormat
An integer indicating whether the MPS file is formatted or not.
nObjSense
An integer specifying if the dual problem will be posed as a maximization or minimization problem.

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