reverse_sd
(function from pyomo.core.expr.calculus.diff_with_pyomo)
- pyomo.core.expr.calculus.diff_with_pyomo.reverse_sd(expr)[source]
First order reverse symbolic differentiation
- Parameters:
expr (pyomo.core.expr.numeric_expr.NumericExpression) – expression to differentiate
- Returns:
component_map mapping variables to derivatives with respect to the corresponding variable
- Return type: