Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Negative Gap

    Posted 03/08/13 12:59 PM

    Originally posted by: SystemAdmin


    I solved this small, very tight MIP problem (.sav is attached) using cplex 12.5 (64bits) and got negative gap, i.e. 0bj of integer solution (29) < that of lp solution (30). I saw in one of the threads, so I thought it was some rounding error of coefficients that makes the problem ill conditioned and tried to make them more accurate but didn't work. Then I used cplex 12.4 (64bits) and cplex 12.5 (32bits) to solve the same original .sav file, and they both gave me correct answer, i.e. integer = lp solution (30). This is the only instance i had such a negative gap problem out of more than 3000 instance-model. Is this a bug or did I do something wrong? Thanks all in advance.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Negative Gap

    Posted 03/08/13 05:00 PM

    Originally posted by: SystemAdmin


    What OS and what machine do you use for the 12.5/64bit run that produces the 29 integer optimal solution?
    I just tried on an Intel Core 2 Duo with Linux and got an integer optimal solution of 30.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Negative Gap

    Posted 03/09/13 04:59 AM

    Originally posted by: SystemAdmin


    Windows 7-64bits on Intel Core i7-3779@3.4GHz, 16GB RAM. Its log file is attached.
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Negative Gap

    Posted 03/09/13 05:00 AM

    Originally posted by: SystemAdmin


    sorry, mistyped; it should be 3770 not 3779.
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Negative Gap

    Posted 03/09/13 05:24 AM

    Originally posted by: T_O


    Same result here (Cplex 12.5, Windows 7 64-bit, 16 GB Ram, i7 3520M @ 2,9GHz).

    Also happens after writing/reading an (r)lp file.

    Best regards,
    Thomas
    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: Negative Gap

    Posted 03/09/13 05:27 AM

    Originally posted by: T_O


    CPLEX> dis sol qual
    Incumbent solution:
    MILP objective                                2.9000000000e+001
    MILP solution norm |x| (Total, Max)           2.03580e+003 2.90000e+001
    MILP solution error (Ax=b) (Total, Max)       1.96732e-013 1.42109e-014
    MILP x bound error (Total, Max)               0.00000e+000 0.00000e+000
    MILP x integrality error (Total, Max)         0.00000e+000 0.00000e+000
    MILP slack bound error (Total, Max)           1.93000e+002 1.20000e+001
    CPLEX>
    


    MST attached.
    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: Negative Gap

    Posted 03/11/13 02:34 AM

    Originally posted by: SystemAdmin


    Thanks, I reproduced the problem here.
    We are investigating.
    #CPLEXOptimizers
    #DecisionOptimization


  • 8.  Re: Negative Gap

    Posted 03/12/13 04:35 AM

    Originally posted by: SystemAdmin


    We found the issue.
    The best known workaround is to set CPX_PARAM_AUXROOTTHREADS to 1.
    #CPLEXOptimizers
    #DecisionOptimization


  • 9.  Re: Negative Gap

    Posted 03/19/13 03:09 PM

    Originally posted by: SystemAdmin


    The problem is solved. Thanks.
    #CPLEXOptimizers
    #DecisionOptimization


  • 10.  Re: Negative Gap

    Posted 03/10/13 11:21 PM

    Originally posted by: SystemAdmin


    Same result here (CPLEX 12.5, Linux Mint 64 bit). I matched Thomas's results, including the large slack bound errors. Kappa statistics had 100% of the bases stable.

    Turning off presolve eliminated the problem. In fact, turning off just repeat presolve fixed it.

    Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization