行分区

(类来自 pyomo.contrib.incidence_analysis.dulmage_mendelsohn)

class pyomo.contrib.incidence_analysis.dulmage_mendelsohn.RowPartition(unmatched, overconstrained, underconstrained, square)

基础:tuple

包含应用于矩阵行(约束)的Dulmage-Mendelsohn分区子集的命名元组。

__init__()

方法

__init__()

count(value, /)

返回值的出现次数。

index(value[, start, stop])

返回值的第一个索引。

属性

overconstrained

字段编号1的别名

square

字段编号3的别名

underconstrained

字段编号2的别名

unmatched

字段编号0的别名

成员文档

count(value, /)

返回值的出现次数。

index(value, start=0, stop=9223372036854775807, /)

返回值的第一个索引。

如果值不存在,则引发ValueError。

overconstrained

字段编号1的别名

square

字段编号3的别名

underconstrained

字段编号2的别名

unmatched

字段编号0的别名