rLSloadConeData: Load quadratic cone data into a model structure.
Description
R interface function for LINDO API function LSloadConeData
. For more information,
please refer to LINDO API User Manual.
Usage
rLSloadConeData(model,nCone,pszConeTypes,paiConebegcone,paiConecols)
Arguments
nCone
Number of cones to add.
pszConeTypes
A character array containing the type of each cone being added. Valid values for each cone are 'Q' and 'R'.
paiConebegcone
An integer array containing the index of the first variable that appears in the definition of each cone.
paiConecols
An integer array containing the indices of variables representing each cone.
Value
An R list object with components:
- ErrorCode
- Zero if successful, nonzero otherwise.
References
LINDO SYSTEMS home page at www.lindo.com