rLSreadSMPSFile: Read the CORE,TIME,STOCH files for SP models in SMPS format.

Description Usage Arguments Details Value References

View source: R/rLindo.R

Description

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

Usage

1
  rLSreadSMPSFile(model,pszCorefile,pszTimefile,pszStocfile,nMPStype)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

pszCorefile

Path and name of the CORE file in MPS format.

pszTimefile

Path and name of the TIME file.

pszStocfile

Path and name of the STOCH file.

nMPStype

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

Details

This subroutine is the top level input routine. It first reads a core-file in the MPS format. It then calls further subroutines to read time and stoch files

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.