Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: amindehghanian
Hello,
Is there any way that I can figure out how much time CPLEX spends on pre-processing of an MIP?
Thanks,
Hi,
within CPLEX only you have presolve time in the log : https://www.ibm.com/support/knowledgecenter/ko/SSSA5P_12.6.0/ilog.odms.cplex.help/CPLEX/UsrMan/topics/progr_adv/presolve_adv/02_presolve_intro.html
if you refer to OPL preprocessing, then within the IDE you could use the profile tool described at IDE and OPL > CPLEX Studio IDE > IDE Tutorials > Profiling the execution of a model
in the command line you can use oplrun -profile
This option activates the profiler. At the end of execution, a summary of the execution is output, indicating how much time and memory has been spent at the different stages of execution.
regards
Thanks for your answer.
I want to clarify my question by adding this point that I am using CPLEX callable library. What about that? is there a way to get the presolve time?
thanks again,
you will get this info in the log file:
CPLEX > User's Manual for CPLEX > Programming considerations > Managing input and output > Managing log files
From the Callable Library, first use the routine CPXfopen to open the target file; then use the routine CPXsetlogfile. The Callable Library Reference Manual documents both routines.