ParameterizedIndexedCallInitializer
(class from pyomo.core.base.initializer
)
- class pyomo.core.base.initializer.ParameterizedIndexedCallInitializer(_fcn)[source]
Bases:
IndexedCallInitializer
IndexedCallInitializer that accepts additional arguments
- __init__(_fcn)
Methods
__init__
(_fcn)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
- contains_indices()
Return True if this initializer contains embedded indices
- indices()
Return a generator over the embedded indices
This will raise a RuntimeError if this initializer does not contain embedded indices