Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  preprocessing time

    Posted 08/03/17 08:08 PM

    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,


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: preprocessing time

    Posted 08/04/17 02:04 AM

    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


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: preprocessing time

    Posted 08/04/17 03:40 AM

    Originally posted by: amindehghanian


    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,

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: preprocessing time

    Posted 08/04/17 03:58 AM

    Hi,

    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.

    regards


    #CPLEXOptimizers
    #DecisionOptimization