(class from pyomo.core.base.range)
pyomo.core.base.range
Bases: object
object
A range-like object for representing a single non-numeric value
The class name is a bit of a misnomer, as this object does not represent a range but rather a single value. However, as it duplicates the Range API (as used by NumericRange), it is called a “Range”.
NumericRange
Methods
__init__(val)
__init__
isdiscrete()
isdiscrete
isdisjoint(other)
isdisjoint
isfinite()
isfinite
issubset(other)
issubset
range_difference(other_ranges)
range_difference
range_intersection(other_ranges)
range_intersection
Attributes
value
Member Documentation