rLSgetQCData: Retrieve the quadratic data from a model data structure.
Description
R interface function for LINDO API function LSgetQCData
. For more information,
please refer to LINDO API User Manual.
Value
An R list object with components:
- ErrorCode
- Zero if successful, nonzero otherwise.
- paiQCrows
- An integer array containing the index of the constraint associated
with each quadratic term with a nonzero coefficient.
- 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