spsetprobscen


Purpose
It is used for setting the probabilities of scenarios in a scanerio tree.
Synopsis
spsetprobscen(s: integer, p: real)
Arguments
scenario number belonging to {1..S}, where S is number of scenarios
probability of sth scenario
Further information
1. This procedure can be called only in a scenario based problem.
2. 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, spsetprobcond, spsetprobcondatnode, spsetrand, spsetrandatnode, spaddchildren, spgentree, spprinttree


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