differentiate
(function from pyomo.core.base.symbolic)
- pyomo.core.base.symbolic.differentiate(expr, wrt=None, wrt_list=None)[source]
DEPRECATED.
Return derivative of expression.
This function returns an expression or list of expression objects corresponding to the derivative of the passed expression ‘expr’ with respect to a variable ‘wrt’ or list of variables ‘wrt_list’
- Parameters:
expr (Expression) – Pyomo expression
wrt (Var) – Pyomo variable
wrt_list (list) – list of Pyomo variables
- Returns:
Expression or list of Expression objects
Deprecated since version 5.6.7: The differentiate function in pyomo.core.base.symbolic has been deprecated. Please use the differentiate function in pyomo.core.expr. (will be removed in (or after) 5.7)