Learn R Programming

rLindo (version 8.0.1)

rLSmodifyConstraintType: Modify the type or direction of a set of constraints.

Description

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

Usage

rLSmodifyConstraintType(model,nCons,paiCons,pszConTypes)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
nCons
Number of constraint to modify.
paiCons
An integer array containing the indices of the constraints to modify.
pszConTypes
A character array in which each element is either:'L', 'E', 'G' or 'N' indicating each constraint's type.

Value

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

References

LINDO SYSTEMS home page at www.lindo.com