Learn R Programming

rLindo (version 8.0.1)

rLSaddNLPAj: Add NLP elements to the specified column for the given model.

Description

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

Usage

rLSaddNLPAj(model,iVar1,nRows,paiRows,padAj)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
iVar1
The index of the variable to which NLP elements will be added.
nRows
Number of constraints for which NLP elements will be added.
paiRows
An integer array containing row indices of the nonlinear elements.
padAj
A double array containing the initial nonzero coefficients of the NLP elements

Value

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

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSloadNLPData