Hello all!
I'm a new user of Gurobi and i'm looking for a hand with the new feature of "Explicit support for Lazy constraints" with Gurobi6.0.
So, i have a set of constraints that i would like to use as "lazy" in my model from a vehicles routing problem. They take this form :
1. For j As Integer = 1 To J
2. For k As Integer = 1 To K
3. For r As Integer = 1 To R
4. Dim C1 As GRBConstr = Model.AddConstr(u(j, k, r) - u(j, k, 0), GRB.LESS_EQUAL, 480, "C1")
5. C1.Set(GRB.IntAttr.Lazy, 3)
But when i get to line 5, i'm stuck with Gurobi.GRBException. No more explanation... Is there some additionals parameters i need to set in the model?
I just keep searching, thank you to helping a noob!
T.C.