Description Usage Arguments Value References
R interface function for LINDO API function LSaddDiscreteBlocks
. For more information,
please refer to LINDO API User Manual.
1 2 | rLSaddDiscreteBlocks(model,iStage,nRealzBlock,padProb,
pakStart,paiRows,paiCols,paiStvs,padVals,nModifyRule)
|
model |
A LINDO API model object, returned by |
iStage |
The stage of the stochastic block. |
nRealzBlock |
Number of discrete events in the block. |
padProb |
An double array containing the event probabilities. |
pakStart |
An integer array containing the starting positions of events in the sparse matrix or instruction list. |
paiRows |
An integer array containing row indices of stochastic parameters. |
paiCols |
An integer array containing column indices of stochastic parameters. |
paiStvs |
An integer array containing stochastic parameters in the instruction list. |
padVals |
A double array containing stochastic values associated with the stochastic parameters listed in paiStvs or (paiArows,paiAcols). |
nModifyRule |
A flag indicating whether stochastic parameters update the core model by adding or replacing. |
An R list object with components:
ErrorCode |
Zero if successful, nonzero otherwise. |
LINDO SYSTEMS home page at www.lindo.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.