(class from pyomo.core.expr.numeric_expr)
pyomo.core.expr.numeric_expr
Bases: mutable_expression
mutable_expression
Context manager for mutable nonlinear sums.
This context manager is used to compute a general nonlinear sum while treating the summation as a mutable object.
Note
The preferred context manager is mutable_expression, as the return type will be the most specific of SumExpression, LinearExpression, or NPV_SumExpression. This context manager will always return a SumExpression.
SumExpression
LinearExpression
NPV_SumExpression
Methods
__init__()
__init__
Member Documentation