GRBModel.AddRanges()

Add new range constraints to a model. A range constraint states that the value of the input expression must be between the specified lower and upper bounds in any solution.

GRBConstr[] AddRanges ( GRBLinExpr[] exprs,
    double[] lower,
    double[] upper,
    string[] names )