Originally posted by: JorisK
Dear,
I've a branch-and-cut procedure where the cuts are generated using a LazyCutCallback (cplex 12.5.1+java interface). What I would like to do is to put a time limit on the total solution procedure, say 5 minutes. I can put a time limit on the solution procedure of cplex, but, since my cutting procedures in the LazyCutCallback are handled separately, I also need to limit the time allowed to calculate a single cut. This however poses a problem: what do you do if the time limit is reached while calculating a cut? In such a case, it is not certain whether the solution violates some constraints, so its unclear whether a cut should be generated or not. Is there a way to communicate this to cplex?
How would you handle such a case? If I would simply generate a cut, I might wrongly cut-off a feasible solution. Alternatively, if I would not generate a cut, I might wrongly allow a infeasible solution. I hope that my point is more or less clear. So basically, if a time limit occurs during the cutting procedure, cplex must return to the state it was in right before the callback was invoked, as the callback could not be completed in time.
br,
Joris
#CPLEXOptimizers#DecisionOptimization