Learn R Programming

rLindo (version 8.0.1)

rLSaddNLPobj: Add NLP elements to the objective function for the given model.

Description

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

Usage

rLSaddNLPobj(model,nCols,paiCols,padColj)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
nCols
Number of variables for which NLP elements will be added.
paiCols
An integer array containing the variable indices of the nonlinear elements.
padColj
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