Originally posted by: davidrey123
Hi Daniel,
Thank you for your answers, that clarifies a lot. Just a few follow-ups.
If you only put the inequalities as cuts then the working model will be smaller and CPLEX will only add those cuts if they are violated
My understanding is that If the inequalities are defined as user cuts, CPLEX may add them at any point in the B&C, but if the inequalities are defined as lazy constraints, they will only and always be checked when an integer solution has been found, is this correct? Is the choice of imposing valid inequalities as user cuts or lazy constraints problem-dependent? For instance, subtour elimination constraints in the TSP (assuming they are separated by callbacks), would you recommend passing them as user cuts or lazy constraints?
A callback has the advantage that CPLEX gives you a solution and asks for a constraint/cut to cut off this particular solution
Are control callbacks automatically triggered before or after each CPLEX LP-relaxation solve (i.e. at each node in the B&C tree)? Could you please recommend a CPLEX example to get started with such node-level callbacks? I would like to understand how to trigger control callbacks appropriately.
Thanks again for your time,
-David
#CPLEXOptimizers#DecisionOptimization