nonlinear_expression
(class from pyomo.core.expr.numeric_expr)
- class pyomo.core.expr.numeric_expr.nonlinear_expression[source]
Bases:
mutable_expressionContext 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 ofSumExpression,LinearExpression, orNPV_SumExpression. This context manager will always return aSumExpression.- __init__()
Methods
__init__()Member Documentation