Originally posted by: 63U7_B_Li
Thank you, May I ask another question? Can I add several cuts in one callback? Or I must add one cut every time, like following:
If (FindSubtourCut) {AddSubtourCut (); return;}
If (FindbenderFcut) {AddBendersFCut (); return;}
I solved the problem yesterday by these two lines of code, only the solving speed becomes slower. Maybe because in my original subtour cuts, I also check the capacity violation, if violated, I add several cuts for all the violations. Now I return once find a violation and only add one cut for every callback.
Best regards,
B.Li
#CPLEXOptimizers#DecisionOptimization