SeparationProblemData

(class from pyomo.contrib.pyros.separation_problem_methods)

class pyomo.contrib.pyros.separation_problem_methods.SeparationProblemData(model_data)[source]

Bases: object

Container for objects related to the PyROS separation problem.

Parameters:

model_data (ModelData) – PyROS model data object, equipped with the fully preprocessed working model.

separation_model

Separation problem model object.

Type:

BlockData

timing

Main timer for the current problem being solved.

Type:

TimingData

config

PyROS solver options.

Type:

ConfigDict

separation_priority_order

Standardized/preprocessed mapping from names of the second-stage inequality constraint objects to integers specifying their priorities.

Type:

dict

iteration

Index of the current PyROS cutting set iteration.

Type:

int

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:

dict

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:

dict

idxs_of_master_scenarios

If config.uncertainty_set is of type DiscreteScenarioSet, then this attribute is a list of ints, each entry of which is a list index for an entry in the scenarios attribute of the uncertainty set. Otherwise, this attribute is set to None.

Type:

None or list of int

__init__(model_data)[source]

Initialize self (see class docstring).

Methods

__init__(model_data)

Initialize self (see class docstring).

solve_separation(master_data)

Solve the separation problem.

Member Documentation

solve_separation(master_data)[source]

Solve the separation problem.