rLSaddCones: Add cones to a given model.
Description
R interface function for LINDO API function LSaddCones
. For more information,
please refer to LINDO API User Manual.
Usage
rLSaddCones(model,nCone,pszConeTypes,paszConenames = NULL,paiConebegcol,paiConecols)
Arguments
nCone
Number of cones to append to the model.
pszConeTypes
A character array containing the type of each cone to be added to the model.
paszConenames
A string array containing the names of each new cone.
paiConebegcol
An integer vector containing the index of the first variable in each new cone.
paiConecols
An integer array containing the indices of the variables in the new cones.
Value
An R list object with components:
- ErrorCode
- Zero if successful, nonzero otherwise.
References
LINDO SYSTEMS home page at www.lindo.com