rLSaddDiscreteIndep: Add a new discrete independent stochastic parameter to the SP...

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
2
  rLSaddDiscreteIndep(model,iRow,jCol,iStv,nRealizations,
                      padProbs,padVals,nModifyRule)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

iRow

Row index of the stochastic parameter.

jCol

Column index of the stochastic parameter.

iStv

Index of stochastic parameter in the instruction list.

nRealizations

Number of all possible realizations for the specified stochastic parameter.

padProbs

A double array containing probabilities associated with the realizations of the stochastic parameter.

padVals

A double array containing values associated with the probabilities.

nModifyRule

A flag indicating whether stochastic parameters update the core model by adding or replacing.

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.