spsetprobcondatnode, spsetrandatnode


Purpose
It is used for setting conditional probabilities at all the nodes in a stage.
Synopsis
spsetprobcondatnode(t: integer, n: integer, p: real)
spsetrandatnode(rn: sprand, n: integer, v: real)
Arguments
stage number belonging to {1..T}, where T is number of stages
node number belonging to {1..Nt}, where Nt is number of nodes in stage t
conditional probability of nth node in the tth scenario
rn 
stochastic random element
realized value of rn at the nth node in the tth stage, where t is the stage number of rn
Further information
Tree can be generated by setting values of sprands in the tree and probabilities of visting nodes or scenarios, followed by calling spgentree().
Related topics
spcreatetree, spsetprobscen, spsetprobcond, spsetrand, spaddchildren, spgentree, spprinttree


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.