Learn R Programming

rLindo (version 8.0.1)

rLSloadVarType: Load variable type data into a model structure.

Description

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

Usage

rLSloadVarType(model,spszVarTypes)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
spszVarTypes
A character array containing the type of each variable. Valid values for each variable are 'C', 'B', or 'I' for continuous, binary, or general integer, respectively.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com