InvalidNumber
(class from pyomo.repn.util
)
- class pyomo.repn.util.InvalidNumber(value, cause='')[source]
Bases:
PyomoObject
Methods
__init__
(value[, cause])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
parse_args
(*args)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