(class from pyomo.contrib.pyros.util)
pyomo.contrib.pyros.util
Bases: object
object
Container for modeling objects from which the PyROS subproblems are constructed.
original_model (ConcreteModel) – Original user-provided model.
timing (TimingData) – Main timing data object.
Original user-provided model.
ConcreteModel
Main PyROS solver timing data object.
TimingData
Preprocessed clone of original_model from which the PyROS cutting set subproblems are to be constructed.
Mapping from constraint names to separation priority values.
dict
Object for resolving active Suffix components added to the model by the user as a means of prioritizing separation problems mapped to second-stage inequality constraints.
SuffixFinder
Methods
__init__(original_model, config, timing)
__init__
get_user_separation_priority(component_data, ...)
get_user_separation_priority
Infer user specification for the separation priority/priorities of the second-stage inequality constraint/constraints derived from a given component data attribute of the working model.
preprocess(user_var_partitioning)
preprocess
Preprocess model data.
Member Documentation
component_data (ComponentData) – Component data from which the inequality constraints are meant to be derived.
component_data_name (str) – Name of the component data object as it is expected to appear in self.config.separation_priority_order.
self.config.separation_priority_order
Priority of the derived constraint(s).
numeric type or None
Notes
The separation priorities for the constraints derived from component_data are inferred from either the active Suffix components of self.working_model with name ‘pyros_separation_priority’ or from self.config.separation_priority. Priorities specified through the active Suffix components take precedence over priorities specified through self.config.separation_priority_order. Moreover, priorities are inferred from Suffix components using the Pyomo SuffixFinder.
component_data
Suffix
self.working_model
self.config.separation_priority
See preprocess_model_data().
preprocess_model_data()
True if robust infeasibility detected, False otherwise.
bool