Learn R Programming

rLindo (version 8.0.1)

rLSwriteDeteqMPSFile: Write the deterministic equivalent for the SP model in MPS format.

Description

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

Usage

rLSwriteDeteqMPSFile(model,pszFilename,nFormat,iType)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
pszFilename
Path and name of the MPS file.
nFormat
An integer parameter indicating whether the MPS file is formatted or not. Possible values are:
  • LS_FORMATTED_MPS
  • LS_UNFORMATTED_MPS
  • LS_FORMATTED_MPS_COMP

iType
An integer specifying the type of the deterministic equivalent.Possible values are:
  • LS_DETEQ_IMPLICIT
  • LS_DETEQ_EXPLICIT (default)

Value

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

References

LINDO SYSTEMS home page at www.lindo.com