rLSgetSETSData: Retrieve sets data from a model data structure.

Description Usage Arguments Value References See Also

View source: R/rLindo.R

Description

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

Usage

1

Arguments

model

A LINDO API model object, returned by rLScreateModel.

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

See Also

rLSloadSETSData


rLindo documentation built on May 1, 2019, 10:11 p.m.