使用sympy简化

(函数来自 pyomo.contrib.simplification.simplify)

pyomo.contrib.simplification.simplify.simplify_with_sympy(expr: NumericExpression)[源代码]