rLSgetSETSData: Retrieve sets data from a model data structure.
Description
R interface function for LINDO API function LSgetSETSData
. For more information,
please refer to LINDO API User Manual.
Usage
rLSgetSETSData(model)
Value
An R list object with components:
- ErrorCode
- Zero if successful, nonzero otherwise.
- piNsets
- Number of sets in the model.
- piNtnz
- Total number of variables in the sets.
- pachSETtype
- A character array containing the type of sets in the model.
- piCardnum
- An integer array containing the cardinalities of sets in the model.
- piNnz
- An integer array containing the number of variables in each set in the model.
- piBegset
- An integer array containing the index of the first variable in each set.
- piVarndx
- An integer array containing the indices of the variables in the sets.
References
LINDO SYSTEMS home page at www.lindo.com