NLFragment

(class from pyomo.repn.ampl)

class pyomo.repn.ampl.NLFragment(repn, node)[source]

Bases: object

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

It is used internally in the writer when requesting symbolic solver labels so that we can generate meaningful names for the nonlinear portion of an Expression component.

__init__(repn, node)[source]

Methods

__init__(repn, node)

Attributes

name

Member Documentation