UncertaintyQuantification

(class from pyomo.contrib.pyros.uncertainty_sets)

class pyomo.contrib.pyros.uncertainty_sets.UncertaintyQuantification(block, uncertainty_cons, uncertain_param_vars, auxiliary_vars)

Bases: tuple

A collection of modeling components generated or addressed by the set_as_constraint method of an uncertainty set object.

The UncertaintyQuantification class was generated using the Python namedtuple() factory function, so the standard namedtuple() attributes and methods (e.g., _asdict()) are available.

Parameters:
  • block (BlockData) – Block on which the uncertainty set constraints were added.

  • uncertainty_cons (list of ConstraintData) – The added uncertainty set constraints.

  • uncertain_param_vars (list of VarData) – Variables representing the (main) uncertain parameters.

  • auxiliary_vars (list of VarData) – Variables representing the auxiliary uncertain parameters.

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

auxiliary_vars

Variables representing the auxiliary uncertain parameters.

block

Block on which the uncertainty set constraints were added.

uncertain_param_vars

Variables representing the (main) uncertain parameters.

uncertainty_cons

The added uncertainty set constraints.

Member Documentation

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

auxiliary_vars

Variables representing the auxiliary uncertain parameters.

block

Block on which the uncertainty set constraints were added.

uncertain_param_vars

Variables representing the (main) uncertain parameters.

uncertainty_cons

The added uncertainty set constraints.