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[] rhss,
    String[] names )

GRBConstr[] addConstrs ( GRBLinExpr[] lhsExprs,
    char[] senses,
    double[] rhss,
    String[] names,
    int start,
    int len )