rLSaddCones: Add cones to a given model.

Description Usage Arguments Value References See Also

View source: R/rLindo.R

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


rLindo documentation built on May 29, 2017, 1 p.m.

Search within the rLindo package
Search all R packages, documentation and source code