Learn R Programming

rLindo (version 8.0.1)

rLSgetDiscreteBlockOutcomes: Get the outcomes for the specified block-event at specified block-realization index.

Description

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

Usage

rLSgetDiscreteBlockOutcomes(model,iEvent,iRealz)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
iEvent
Index of the discrete block event.
iRealz
Index of a block realization in the specified block event.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
nRealz
Number of individual stochastic parameters consitituting the block realization iRealz.
paiArows
An integer array containing the row indices of stochastic parameters.
paiAcols
An integer array containing the column indices of stochastic parameters.
paiStvs
An integer array containing indices of stochastic parameters.
padVals
A double array containing the values associated with the stochastic parameters listed in paiStvs or (paiArows,paiAcols).

References

LINDO SYSTEMS home page at www.lindo.com