rLSaddSETS: Add sets to a given model.

Description Usage Arguments Value References See Also

View source: R/rLindo.R

Description

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

Usage

1
  rLSaddSETS(model,nSETS,pszSETStype,paiCARDnum,paiSETSbegcol,paiSETScols)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

nSETS

Number of sets to append to the model.

pszSETStype

A character array containing the type of each set to be added to the model.

paiCARDnum

An integer array containing the cardinalities of the sets to be added.

paiSETSbegcol

An integer array containing the index of the first variable in each new set.

paiSETScols

An integer array containing the indices of the variables in the new sets.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSloadSETSData


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