IndexedComponent_NDArrayMixin

(class from pyomo.core.base.indexed_component)

class pyomo.core.base.indexed_component.IndexedComponent_NDArrayMixin[source]

Bases: object

Support using IndexedComponent with numpy.ndarray

This IndexedComponent mixin class adds support for implicitly using the IndexedComponent as a term in an expression with numpy ndarray objects.

__init__()

Methods

__init__()

Member Documentation