TuplizeValuesInitializer
(class from pyomo.core.base.set
)
- class pyomo.core.base.set.TuplizeValuesInitializer(*args)[source]
Bases:
InitializerBase
An initializer wrapper that will “tuplize” a sequence
This initializer takes the result of another initializer, and if it is a sequence that does not already contain tuples, will convert it to a sequence of tuples, each of length ‘dimen’ before returning it.
Methods
__init__
(_init)constant
()Return True if this initializer is constant across all indices
Return True if this initializer contains embedded indices
indices
()Return a generator over the embedded indices
Attributes
verified
Member Documentation