(class from pyomo.repn.parameterized)
pyomo.repn.parameterized
Bases: ParameterizedRepnMixin, LinearRepn
ParameterizedRepnMixin
LinearRepn
Methods
__init__()
__init__
append(other)
append
Append a child result from acceptChildResult
constant_flag(val)
constant_flag
duplicate()
duplicate
multiplier_flag(val)
multiplier_flag
to_expression(visitor)
to_expression
walker_exitNode()
walker_exitNode
Attributes
multiplier
constant
linear
nonlinear
Member Documentation
Notes
This method assumes that the operator was “+”. It is implemented so that we can directly use a LinearRepn() as a data object in the expression walker (thereby allowing us to use the default implementation of acceptChildResult [which calls data.append()] and avoid the function call for a custom callback).