Learn R Programming

rLindo (version 8.0.1)

rLSaddParamDistIndep: Add a new independent stochastic parameter with a parametric distribution to the SP model.

Description

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

Usage

rLSaddParamDistIndep(model,iRow,jCol,iStv,nDistType,nParams,padParams,iModifyRule)

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.
nDistType
The parametric distribution type.
nParams
Length of padParams.
padParams
A double array containing the parameters of given distribution.
iModifyRule
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