Learn R Programming

rLindo (version 8.0.1)

rLSsetConstraintProperty: Set the property of the specified constraint of the given model.

Description

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

Usage

rLSsetConstraintProperty(model,ndxCons,nConptype)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
ndxCons
The index of the constraint for which the property is requested.
nConptype
An integer macro to specify the constraint property. Possible values are:
  • LS_PROPERTY_UNKNOWN
  • LS_PROPERTY_LINEAR
  • LS_PROPERTY_CONVEX
  • LS_PROPERTY_CONCAVE
  • LS_PROPERTY_QUASI_CONVEX
  • LS_PROPERTY_QUASI_CONCAVE
  • LS_PROPERTY_MAX

Value

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

References

LINDO SYSTEMS home page at www.lindo.com