Function GMP::Stochastic::BendersFindReference(GMP, stage, scenario)

GMP::Stochastic::BendersFindReference

The function GMP::Stochastic::BendersFindReference returns the reference to the generated math program belonging to a node in the scenario tree. This generated math program represents the Benders problem for a stage and for some representive scenario in the scenario tree of a stochastic mathematical program.

GMP::Stochastic::BendersFindReference(
     GMP,               ! (input) a generated mathematical program
     stage,             ! (input) a scalar reference
     scenario           ! (input) a scenario
)

Arguments

GMP

An element in the set AllGeneratedMathematicalPrograms.

stage

An integer scalar reference to a stage.

scenario

An element in the set AllStochasticScenarios.

Return Value

An element in the set AllGeneratedMathematicalPrograms.

Note