spgetchild


Purpose
To get the node number of a child of a node in a scenario tree.
Synopsis
spgetchild(t:integer, n: integer, c: integer): integer
Arguments
stage number belonging to {1..T}, where T is the number of stages
node number belonging to {1..Nt}, where Nt is the number of nodes in stage t
child number belonging to {1..C}, where C is the number of children of nth node in the tth stage
Return value
the node number of the cth child of nth node in the tth stage
Further information
This function should be called after generating scenario tree.
Related topics
spgetscencount, spgetnodecount, spgetprobcond, spgetprobuncond, spgetprobscen, spgetparent, spgetchildrencount, spprinttree


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