I want to get the solution for the LP relaxation of the root node so I can check if there is any cut that I can add to the original MIP problem.
However I am not sure there is a straight forward way for doing that in cplex and I am a bit indecisive between these two options:
If I go with the first option I know that setting the parameter to 0 will prevent from applying the extra cut to the root node but still I am not sure if that will be the equivalent to the LP relaxation solution of the root node.
As for the second option, it will relax the root node but how we can ask CPLEX to stop running right after that step and return the solution to us?
solver.parameters.mip.limits.nodes.set(0)
solver.parameters.preprocessing.relax.set(1)
------------------------------
soheyl zehtabiyan
------------------------------