Decision Optimization

 View Only
  • 1.  CPLEX Tuning parameter solution not providing same speed up in regular solve

    Posted 7 days ago
    Edited by Lorraine Rizzuto 3 days ago

    I am using CPLEX Tuning tool in python for my solve. When I run the tuning tool it gives out parameters which are best for my solve: CPXPARAM_Simplex_DGradient 5

    CPXPARAM_Read_DataCheck 1

    and solve time after tuning is around ~100 secs But when I run the solve with same parameters but without tuning tool solve time is around ~ 600 secs which is weird as these are same parameter tuning tool suggested and used to solve the problem. I do notice that solver log is not showing presolve logs in normal solve though its there in tuning solve. I have tried specifying presolve parameter but of no help. Any suggestion why there could be a discrepancies in both solves?

    I am solving lexicographic LP problem which is having 4 levels and CPLEX tuning run on each level and provide the optimal parameters and solution



    ------------------------------
    Kartik-
    ------------------------------



  • 2.  RE: CPLEX Tuning parameter solution not providing same speed up in regular solve

    Posted yesterday

    Hello Kartik,

           It's difficult to answer you with just this description. Could you send me your model?

    Best rgards,



    ------------------------------
    Thierry Sola
    ------------------------------



  • 3.  RE: CPLEX Tuning parameter solution not providing same speed up in regular solve

    Posted 22 hours ago

    Hi Thierry,

    Are you looking for solve log?



    ------------------------------
    Kartik Kaushik
    ------------------------------



  • 4.  RE: CPLEX Tuning parameter solution not providing same speed up in regular solve

    Posted 9 hours ago

    Hello Kartik,

         

                I'm looking for the lp or sav file. You can use the following functions to export your model:

                    ·        export_as_lp(path=None, basename=None, hide_user_names=False)

                    ·        dump_as_lp(path=None, basename=None)

                    ·        export_as_sav(path=None, basename=None)

                    ·        dump_as_sav(path=None, basename=None)

    Regards,



    ------------------------------
    Thierry Sola
    ------------------------------