ColPartition
(class from pyomo.contrib.incidence_analysis.dulmage_mendelsohn)
- class pyomo.contrib.incidence_analysis.dulmage_mendelsohn.ColPartition(unmatched, underconstrained, overconstrained, square)
Bases:
tupleNamed tuple containing the subsets of the Dulmage-Mendelsohn partition when applied to matrix columns (variables).
- __init__()
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Alias for field number 2
Alias for field number 3
Alias for field number 1
Alias for field number 0
Member Documentation
- count(value, /)
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.
- overconstrained
Alias for field number 2
- square
Alias for field number 3
- underconstrained
Alias for field number 1
- unmatched
Alias for field number 0