Learn R Programming

rLindo (version 8.0.1)

rLSgetVariableNamej: Retrieve the name of a variable, given its index number.

Description

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

Usage

rLSgetVariableNamej(model,iVar)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
iVar
Index of the variable whose name you wish to retrieve.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
pachVarName
Name of the variable.

References

LINDO SYSTEMS home page at www.lindo.com