Context Managers
-
class
pyomo.core.expr.current.
nonlinear_expression
[source] Context manager for mutable sums.
This context manager is used to compute a sum while treating the summation as a mutable object.
-
class
pyomo.core.expr.current.
linear_expression
[source] Context manager for mutable linear sums.
This context manager is used to compute a linear sum while treating the summation as a mutable object.
-
class
pyomo.core.expr.current.
clone_counter
[source] Context manager for counting cloning events.
This context manager counts the number of times that the
clone_expression
function is executed.-
property
count
A property that returns the clone count value.
-
property