spsetprobcondatnode, spsetrandatnode
PurposeIt is used for setting conditional probabilities at all the nodes in a stage.Synopsisspsetprobcondatnode(t: integer, n: integer, p: real)spsetrandatnode(rn: sprand, n: integer, v: real)Arguments
t stage number belonging to {1..T}, where T is number of stages n node number belonging to {1..Nt}, where Nt is number of nodes in stage t p conditional probability of nth node in the tth scenario rn stochastic random element v realized value of rn at the nth node in the tth stage, where t is the stage number of rnFurther informationTree can be generated by setting values of sprands in the tree and probabilities of visting nodes or scenarios, followed by calling spgentree().Related topics
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.