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 ( GRBLinExpr[] lhsExprs,
    char[] senses,
    double[] rhsVals,
    string[] names )

GRBConstr[] AddConstrs ( GRBLinExpr[] lhsExprs,
    char[] senses,
    GRBLinExpr[] rhsExprs,
    int start,
    int len,
    string[] names )