DefaultInitializer
(class from pyomo.core.base.initializer
)
- class pyomo.core.base.initializer.DefaultInitializer(initializer, default, exceptions)[source]
Bases:
InitializerBase
Initializer wrapper that maps exceptions to default values.
- Parameters:
Methods
__init__
(initializer, default, exceptions)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