Learn R Programming

rLindo (version 8.0.1)

rLSgetSETSDatai: Retrieve the data for set i from a model data structure.

Description

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

Usage

rLSgetSETSDatai(model,iSet)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
iSet
The index of the set to retrieve the data for.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
pachSETtype
Set type.
piCardnum
Set cardinality.
piNnz
Number of variables in the set.
piVarndx
An integer array containing the indices of the variables in the set.

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSgetSETSData