Learn R Programming

rLindo (version 8.0.1)

rLSgetStageIndex: Get the index of a stage by its name.

Description

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

Usage

rLSgetStageIndex(model,pszName)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
pszName
The name of the stage to return the index for.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
pnIndex
Index of the stage.

References

LINDO SYSTEMS home page at www.lindo.com