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

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
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


rLindo documentation built on May 1, 2019, 10:11 p.m.