NonNumericValue

(class from pyomo.core.expr.numvalue)

class pyomo.core.expr.numvalue.NonNumericValue(value)[source]

Bases: PyomoObject

An object that contains a non-numeric value

Constructor Arguments:

value The initial value.

__init__(value)[source]

Methods

__init__(value)

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

Attributes

value

Member Documentation

is_component_type()

Return True if this class is a Pyomo component

is_expression_type(expression_system=None)

Return True if this numeric value is an expression

is_logical_type()

Return True if this class is a Pyomo Boolean object.

Boolean objects include constants, variables, or logical expressions.

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