rLSgetDiscreteIndep: Get the stochastic data for the (independent) discrete...

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
  rLSgetDiscreteIndep(model,iEvent)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

iEvent

Index of the discrete independent event.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

nDistType

Distribution type of the event.

iStage

Stage index of the discrete-independent event.

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 stochastic parameter.

padProbs

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

padVals

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

iModifyRule

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

References

LINDO SYSTEMS home page at www.lindo.com


rLindo documentation built on May 1, 2019, 10:11 p.m.