get_dr_expression
(function from pyomo.contrib.pyros.util
)
- pyomo.contrib.pyros.util.get_dr_expression(working_blk, second_stage_var)[source]
Get DR expression corresponding to given second-stage variable.
- Parameters:
working_blk (BlockData) – Block with a structure similar to the working model created during preprocessing.
- Returns:
The corresponding DR expression.
- Return type: