CPLEX - Accessing root node before and after cuts


#1

Hi! Is there a way to access the value of the root node relaxation of cplex before and after applying the cuts? I would like to measure the effectiveness of cuts at root 0 and how much they can tighten the formulation.

Thank you in advance,
Lefteris


#2

CPLEX.jl is just a wrapper for the C API to CPLEX. If you can do it in C, you can do it from Julia. (Caveat, some of the functions are not yet wrapped.)

You probably need to set some parameters to disable different cuts etc, set the node limit to 0, solve.
Then re-enable the cuts, keep node lim at 0, and re-solve.

You can find the list of parameters here:
https://www.ibm.com/support/knowledgecenter/SSSA5P_12.6.1/ilog.odms.cplex.help/CPLEX/Parameters/topics/introListAlpha.html