(class from pyomo.common.collections.orderedset)
pyomo.common.collections.orderedset
Bases: Mixin, MutableSet
Mixin
MutableSet
Methods
__init__([iterable])
__init__
add(val)
add
Add an element.
clear()
clear
Remove all elements from this set.
discard(val)
discard
Remove an element.
intersection(other)
intersection
isdisjoint(other)
isdisjoint
Return True if two sets have a null intersection.
pop()
pop
Return the popped value.
remove(val)
remove
union(other)
union
update(iterable)
update
Member Documentation
Remove an element. Do not raise an exception if absent.
Return the popped value. Raise KeyError if empty.
Remove an element. If not a member, raise a KeyError.