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.
Methods
__init__
(value)Return True if this class is a Pyomo component
is_expression_type
([expression_system])Return True if this numeric value is an expression
Return True if this class is a Pyomo Boolean object.
Return True if this numeric value is a named expression
Return True if this class is a Pyomo numeric object
Return False unless this class is a parameter object
Return True if this object is a reference.
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