rLSgetNLPData: Get data about the nonlinear structure of a model.
Description
R interface function for LINDO API function LSgetNLPData
. For more information,
please refer to LINDO API User Manual.
Usage
rLSgetNLPData(model)
Value
An R list object with components:
- ErrorCode
- Zero if successful, nonzero otherwise.
- paiNLPcols
- An integer array containing the index of the first nonlinear nonzero in each column.
- panNLPcols
- An integer array containing the number of nonlinear elements in each column.
- padNLPcoef
- A double array containing the current values of the nonzero coefficients in the (Jacobian) matrix.
- paiNLProws
- An integer array containing the row indices of the nonlinear nonzeros in the coefficient matrix.
- pnNLPobj
- Number of nonlinear variables in the objective function.
- paiNLPobj
- An integer array containing column indices of the nonlinear terms in the objective.
- padNLPobj
- A double array containing the current partial derivatives of the objective corresponding to the variables in paiNLPobj.
- pachNLPConTypes
- A character array whose elements indicate whether a constraint has nonlinear terms or not.If
pachNLPConTypes[i]
> 0, then constraint i has nonlinear terms.
References
LINDO SYSTEMS home page at www.lindo.com