Decision Optimization

Decision Optimization

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

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

    Posted Wed November 13, 2024 12:55 PM
    Edited by Lorraine Rizzuto Mon November 18, 2024 09:44 AM

    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 Wed November 20, 2024 08:18 AM

    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 Wed November 20, 2024 02:17 PM

    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 Thu November 21, 2024 03:34 AM

    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
    ------------------------------



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

    Posted Fri November 22, 2024 01:57 AM

    Hi Thierry,

    Unfortunately I cannot provide the lp file as its a production model



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