rLSgetProbabilityByNode {rLindo}R Documentation

Return the probability of a given node in the stochastic tree.

Description

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

Usage

  rLSgetProbabilityByNode(model,iNode)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

iNode

An integer specifying the node index.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

pdProb

The probabability of the node.

References

LINDO SYSTEMS home page at www.lindo.com


[Package rLindo version 8.0.1 Index]