Purpose
To get the node number of the parent of a node in a scenario tree.
Synopsis
spgetparent(t:integer, n: integer): integer
Arguments
t
|
stage number belonging to {1..T}, where T is the number of stages
|
n
|
node number belonging to {1..Nt}, where Nt is number of nodes in stage t
|
Return value
node number of parent of nth node in the tth stage
Further information
This function should be called after generating scenario tree.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.