Rdocumentation
powered by
Learn R Programming
rLindo (version 8.0.1)
rLSgetQCDatai: Retrieve the quadratic data associated with constraint i from a model data structure.
Description
R interface function for LINDO API function
LSgetQCDatai
. For more information, please refer to LINDO API User Manual.
Usage
rLSgetQCDatai(model,iCon)
Arguments
model
A LINDO API model object, returned by
rLScreateModel
.
iCon
The index of the constraint for which the quadratic data will be retrieved.
Value
An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
pnQCnnz
An integer indicating the number of nonzeros in the coefficient matrix of the quadratic term.
paiQCcols1
An integer array containing the index of the first variable defining each quadratic term.
paiQCcols2
An integer array containing the index of the second variable defining each quadratic term.
padQCcoef
A double array containing the nonzero coefficients in the quadratic matrix.
References
LINDO SYSTEMS home page at www.lindo.com
See Also
rLSgetQCData