Model.getGenConstrs ()


Model.getGenConstrs ()

getGenConstrs( )

检索模型中所有通用约束的列表。

返回值:

模型中的所有一般约束。

使用示例:

print(model.getGenConstr(gc))