compare

Classes

PrefixVisitor([include_named_exprs])

Functions

assertExpressionsEqual(test, a, b[, ...])

unittest-based assertion for comparing expressions

assertExpressionsStructurallyEqual(test, a, b)

unittest-based assertion for comparing expressions

compare_expressions(expr1, expr2[, ...])

Returns True if 2 expression trees are identical, False otherwise.

convert_expression_to_prefix_notation(expr)

This function converts pyomo expressions to a list that looks very much like prefix notation.

handle_expression(node, pn)

handle_external_function_expression(node, pn)

handle_named_expression(node, pn[, ...])

handle_sequence(node, pn)

handle_unary_expression(node, pn)