VariablePartitioning

(class from pyomo.contrib.pyros.util)

class pyomo.contrib.pyros.util.VariablePartitioning(first_stage_variables, second_stage_variables, state_variables)

Bases: tuple

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

first_stage_variables

Alias for field number 0

second_stage_variables

Alias for field number 1

state_variables

Alias for field number 2

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.

first_stage_variables

Alias for field number 0

second_stage_variables

Alias for field number 1

state_variables

Alias for field number 2