(class from pyomo.repn.quadratic)
pyomo.repn.quadratic
Bases: object
object
Methods
__init__()
__init__
append(other)
append
Append a child result from acceptChildResult
duplicate()
duplicate
to_expression(visitor)
to_expression
walker_exitNode()
walker_exitNode
Attributes
multiplier
constant
linear
quadratic
nonlinear
Member Documentation
Notes
This method assumes that the operator was “+”. It is implemented so that we can directly use a QuadraticRepn() as a data object in the expression walker (thereby avoiding the function call for a custom callback)