(function from pyomo.util.components)
pyomo.util.components
Yield “child” objects from a component that is defined with either the base or kernel APIs. If the component is not indexed, it returns itself.
obj (ComponentType) – eg. TupleContainer, ListContainer, DictContainer, IndexedComponent, or Component
Iterator[ComponentType]
Iterator of the component data objects.