ampl

Classes

AMPLBeforeChildDispatcher()

AMPLRepn(const, linear, nonlinear)

The "compiled" representation of an expression in AMPL NL format.

AMPLRepnVisitor(subexpression_cache, ...)

DebugAMPLRepn(const, linear, nonlinear)

An AMPLRepn that uses the "debug" (annotated) NL format

NLFragment(repn, node)

This is a mock "component" for the nl portion of a named Expression.

TextNLDebugTemplate()

TextNLTemplate()

Functions

evaluate_ampl_nl_expression(nl, ...)

handle_abs_node(visitor, node, arg1)

handle_division_node(visitor, node, arg1, arg2)

handle_equality_node(visitor, node, arg1, arg2)

handle_exprif_node(visitor, node, arg1, ...)

handle_external_function_node(visitor, node, ...)

handle_inequality_node(visitor, node, arg1, arg2)

handle_named_expression_node(visitor, node, arg1)

handle_negation_node(visitor, node, arg1)

handle_pow_node(visitor, node, arg1, arg2)

handle_product_node(visitor, node, arg1, arg2)

handle_ranged_inequality_node(visitor, node, ...)

handle_unary_node(visitor, node, arg1)