Learn R Programming

rLindo (version 8.0.1)

rLSloadNLPData: Load a nonlinear program's data into the model data structure.

Description

R interface function for LINDO API function LSloadNLPData. For more information, please refer to LINDO API User Manual.

Usage

rLSloadNLPData(model,paiNLPcols,panNLPcols,padNLPcoef = NULL,paiNLProws, nNLPobj,paiNLPobj,padNLPobj = NULL)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
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 initial values of the nonzero coefficients in the (Jacobian) matrix.
paiNLProws
An integer array containing the row indices of the nonlinear elements.
nNLPobj
The number of nonlinear variables in the objective.
paiNLPobj
An integer array containing the column indices of nonlinear variables in the objective function.
padNLPobj
A double array containing the initial nonzero coefficients in the objective.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com