Rdocumentation
powered by
Learn R Programming
rLindo (version 8.0.1)
rLSgetScenario: Get the outcomes for the specified specified scenario.
Description
R interface function for LINDO API function
LSgetScenario
. For more information, please refer to LINDO API User Manual.
Usage
rLSgetScenario(model,jScenario)
Arguments
model
A LINDO API model object, returned by
rLScreateModel
.
jScenario
Index of a scenario realization.
Value
An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
iParentScen
Index of parent scenario.
iBranchStage
The branching stage.
pdProb
Event probability of scenario.
nRealz
Number of individual stochastic parameters consitituting the scenario.
paiArows
An integer array containing the row indices of stochastic parameters in the scenario.
paiAcols
An integer array containing the column indices of stochastic parameters in the scenario.
paiStvs
An integer array containing indices of stochastic parameters in the scenario.
padVals
A double array containing values associated with the stochastic parameters listed in paiStvs or (paiArows,paiAcols).
iModifyRule
A flag indicating whether stochastic parameters update the core model by adding or replacing.
References
LINDO SYSTEMS home page at www.lindo.com