checktree: Check the tree structure implied by a scenario tree nodal...

Description Usage Arguments Value References Examples

Description

Returns a plot showing the nodal structure (not values) of a scenario tree defined using a scenario tree nodal partition matrix.

Usage

1
checktree(treeStruct)

Arguments

treeStruct

Matrix defining the nodal structure of the tree.

Value

Returns a plot of the scenario tree structure implied by the input nodal partition matrix.

References

Dupacova, Jitka, Giorgio Consigli, and Stein W. Wallace. "Scenarios for multistage stochastic programs." Annals of operations research 100.1-4 (2000): 25-53.

Examples

1
2
3
4
5
6
treeStruct <- rbind(c(1, 1, 1, 1, 1),
                    c(2, 2, 7, 7, 11),
                    c(3, 5, 8, 8, 12),
                    c(4, 6, 9, 10, 13)
                    )
checktree(treeStruct)

scenario documentation built on May 2, 2019, 2:10 p.m.