Learn R Programming

rLindo (version 8.0.1)

rLSmodifyVariableType: Modify the types of the variables of the given model.

Description

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

Usage

rLSmodifyVariableType(model,nVars,paiVars,pszVarTypes)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
nVars
Number of variables to modify.
paiVars
An integer array containing the indices of the variables to modify.
pszVarTypes
A character array in which each element is either:'C', 'B', or 'I'indicating each variable's type.

Value

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

References

LINDO SYSTEMS home page at www.lindo.com