Originally posted by: Trino
Hi all, I have a formulation that yield at the worst case a lower bound for my problem. This formulation is much faster than the other exact formulations and I'm using a branch&cut to solve it, that implements separation procedures in the lazy callback and user cut callback.
Since in several cases this formulation can give me the optimal solution for my actual problem the idea is: solve the formulation, if the optimal solution found is also feasible for my problem we're done, otherwise I need to add a incumbent callback (that is able to reject valid solutions for the formulation but infeasible for my problem), and continue to solve.
The only problem here is that I can't find a way to, after solving, add a cut or instruct cplex to reject the optimal found and continue to solve again. I tried to add a IloOr constraint in the form x[0][1] != <value[0][1]> || x[0][2] != <value[0][2]> || ... x[n][n] != <value[n][n]> but I get an error that says the cut is not valid.
Does someone knows a way to do that?
Thank you,
Bruno.
#CPLEXOptimizers#DecisionOptimization