Learn R Programming

rLindo (version 8.0.1)

rLSgetConstraintDatai: Get data on a specified constraint.

Description

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

Usage

rLSgetConstraintDatai(model,iCon)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
iCon
Index of the constraint you wish to receive information on.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
pchConType
Type of the constraint.
pchIsNlp
0 if the constraint is linear and 1 if it is nonlinear.
pdB
Right-hand side value of the constraint.

References

LINDO SYSTEMS home page at www.lindo.com