GRBModel: getRow ()
GRBModel: getRow ()
检索参与约束的变量列表和相关系数。返回结果为GRBLinExpr对象。
GRBLinExpr | getRow( | GRBConstr | 若干) |
参数:
若干:利益约束。一个GRBConstr对象,通常从addConstr或getConstrs.
返回值:
一个GRBLinExpr对象,该对象捕获参与约束的一组变量。
检索参与约束的变量列表和相关系数。返回结果为GRBLinExpr对象。
GRBLinExpr | getRow( | GRBConstr | 若干) |
参数:
若干:利益约束。一个GRBConstr对象,通常从addConstr或getConstrs.
返回值:
一个GRBLinExpr对象,该对象捕获参与约束的一组变量。