Context manager for mutable sums.
This context manager is used to compute a sum while treating the summation as a mutable object.
Context manager for mutable linear sums.
This context manager is used to compute a linear sum while treating the summation as a mutable object.
Context manager for counting cloning events.This context manager counts the number of times that the
clone_expressionfunction is executed.
Deprecated since version 6.4.3: The clone counter has been removed and will always return 0.
Beginning with Pyomo5 expressions, expression cloning (detangling) no longer occurs automatically within expression generation. As a result, the ‘clone counter’ has lost its utility and is no longer supported. This context manager will always report 0.
A property that returns the clone count value.