Originally posted by: AndreaTramontani
Hello,
about CPLEX not adding user cuts, if you set purgeable = CPX_USECUT_FORCE then CPLEX will add all your cuts to the problem, without even checking if the cut is violated or not
by the solution of the current relaxation. So, in particular, CPLEX will add even non-violated cuts.
But there is one exception: CPLEX filters duplicate cuts anyway, and it will not add two identical cuts to the problem.
In particular:
1. If in the same call of the usercut callback you add two cuts that are (almost, according to some numerical tolerance) identical, then CPLEX will consider only the first one.
2. If you add a cut (almost) identical to a cut already in the current relaxation, CPLEX will not add the cut. This can happen only if the cut you try to add
is not violated by the current solution x of course, because all cuts in the current LP relaxation are not violated by x.
#CPLEXOptimizers#DecisionOptimization