GRBModel::addConstrs()

Add new linear constraints to a model.

We recommend that you build your model one constraint at a time (using addConstr), since it introduces no significant overhead and we find that it produces simpler code. Feel free to use these methods if you disagree, though.

GRBConstr* addConstrs ( int count )

GRBConstr* addConstrs ( const GRBLinExpr* lhsExprs,
    const char* senses,
    const double* rhsVals,
    const string* names,
    int count )