SeparationProblemData
(class from pyomo.contrib.pyros.separation_problem_methods)
- class pyomo.contrib.pyros.separation_problem_methods.SeparationProblemData(model_data)[source]
Bases:
objectContainer for objects related to the PyROS separation problem.
- Parameters:
model_data (ModelData) – PyROS model data object, equipped with the fully preprocessed working model.
- timing
Main timer for the current problem being solved.
- Type:
- config
PyROS solver options.
- Type:
- separation_priority_order
Standardized/preprocessed mapping from names of the second-stage inequality constraint objects to integers specifying their priorities.
- Type:
- points_added_to_master
Maps each scenario index (2-tuple of ints) of the master problem model object to the corresponding uncertain parameter realization.
- Type:
- auxiliary_values_for_master_points
Maps each scenario index (2-tuple of ints) of the master problem model object to the auxiliary parameter values corresponding to the associated uncertain parameter realization.
- Type:
- idxs_of_master_scenarios
If
config.uncertainty_setis of typeDiscreteScenarioSet, then this attribute is a list of ints, each entry of which is a list index for an entry in thescenariosattribute of the uncertainty set. Otherwise, this attribute is set to None.
Methods
__init__(model_data)Initialize self (see class docstring).
solve_separation(master_data)Solve the separation problem.
Member Documentation