PyomoObject

(class from pyomo.core.pyomoobject)

class pyomo.core.pyomoobject.PyomoObject[source]

Bases: Mixin

__init__()

Methods

__init__()

is_component_type()

Return True if this class is a Pyomo component

is_expression_type([expression_system])

Return True if this numeric value is an expression

is_logical_type()

Return True if this class is a Pyomo Boolean object.

is_named_expression_type()

Return True if this numeric value is a named expression

is_numeric_type()

Return True if this class is a Pyomo numeric object

is_parameter_type()

Return False unless this class is a parameter object

is_reference()

Return True if this object is a reference.

is_variable_type()

Return False unless this class is a variable object

Member Documentation

is_component_type()[source]

Return True if this class is a Pyomo component

is_expression_type(expression_system=None)[source]

Return True if this numeric value is an expression

is_logical_type()[source]

Return True if this class is a Pyomo Boolean object.

Boolean objects include constants, variables, or logical expressions.

is_named_expression_type()[source]

Return True if this numeric value is a named expression

is_numeric_type()[source]

Return True if this class is a Pyomo numeric object

is_parameter_type()[source]

Return False unless this class is a parameter object

is_reference()[source]

Return True if this object is a reference.

is_variable_type()[source]

Return False unless this class is a variable object