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

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
  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


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