GRBModel: getConstrs ()


GRBModel: getConstrs ()

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

GRBConstr * getConstrs( )

    返回值:

    模型中所有线性约束的数组。注意,这个数组是堆分配的,必须由用户返回到堆。