rLSloadSETSData: Load special sets data into a model structure.

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

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

Arguments

model

A LINDO API model object, returned by rLScreateModel.

nSETS

Number of sets to load.

pszSETStype

A character array containing the type of each set. Valid values for each cone are LS_MIP_SET_CARD, LS_MIP_SET_SOS1, LS_MIP_SET_SOS2, LS_MIP_SET_SOS3.

paiCARDnum

An integer array containing set cardinalities.

paiSETSbegcol

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

paiSETScols

An integer array containing the indices of variables in each set.

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.