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

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.