(class from pyomo.core.base.set)
pyomo.core.base.set
Bases: InitializerBase
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)
__init__
constant()
constant
Return True if this initializer is constant across all indices
contains_indices()
contains_indices
Return True if this initializer contains embedded indices
indices()
indices
Return a generator over the embedded indices
Attributes
verified
Member Documentation
This will raise a RuntimeError if this initializer does not contain embedded indices