Load quadratic cone data into a model structure.

Share:

Description

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

Usage

1
rLSloadConeData(model,nCone,pszConeTypes,paiConebegcone,paiConecols)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

nCone

Number of cones to add.

pszConeTypes

A character array containing the type of each cone being added. Valid values for each cone are 'Q' and 'R'.

paiConebegcone

An integer array containing the index of the first variable that appears in the definition of each cone.

paiConecols

An integer array containing the indices of variables representing each cone.

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.