Add cones to a given model.

Description

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

Usage

1
  rLSaddCones(model,nCone,pszConeTypes,paszConenames = NULL,paiConebegcol,paiConecols)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

nCone

Number of cones to append to the model.

pszConeTypes

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

paszConenames

A string array containing the names of each new cone.

paiConebegcol

An integer vector containing the index of the first variable in each new cone.

paiConecols

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

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSloadConeData

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