rLSgetConstraintIndex {rLindo}R Documentation

Retrieve the index of a constraint, given its name.

Description

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

Usage

  rLSgetConstraintIndex(model,pszConName)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

pszConName

Name of the constraint whose index you wish to retrieve.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

piCon

Index of the constraint.

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSgetVariableIndex


[Package rLindo version 8.0.1 Index]