Bases: nullcontext
DEPRECATED.
Context manager for counting cloning events.
This context manager counts the number of times that the
clone_expression
function 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.
-
__init__()[source]
DEPRECATED.
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.
Methods
Attributes
count
|
A property that returns the clone count value. |
Member Documentation
-
property count
A property that returns the clone count value.