ItemInitializer
(class from pyomo.core.base.initializer
)
- class pyomo.core.base.initializer.ItemInitializer(_dict)[source]
Bases:
InitializerBase
Initializer for dict-like values supporting __getitem__()
Methods
__init__
(_dict)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
- constant()
Return True if this initializer is constant across all indices