grbmodel.getconstrs()


grbmodel.getconstrs()

检索模型中所有线性约束的数组。

grbconstr [] GetConstr.()

    返回值:

    模型中的所有线性约束。