rLSwriteScenarioMPSFile: Write scenario model in MPS format.

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
  rLSwriteScenarioMPSFile(model,jScenario,pszFname,nFormat)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

jScenario

The scenario to write in MPS format.

pszFname

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

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com


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