Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Error in MIP integer solution limit

    Posted 06/29/20 09:42 AM
    Hello,
    I run my model with the parameters of the .ops Mip Integer solution limit = 1 and Absolut MIP gap toelrance = 0.9999.
    I know that the values I have to obtain for these parameters are for the dvar ah:
    instance 0: ah [3 5]
    instance 1: ah [0 1]
    instance 2: ah [1 2]
    instance 3: ah [0 0]

    But I get ah [0 0] for all intances. These values I get are the same as if I run the model with the maximum Mip Integer solution limit. On the other hand, I can see in Statistics that the values I want to obtain are correct.


    I attach the .mod, .dat, .ops and the excel file.

    Thanks in advance.


    ------------------------------
    JC Garcia
    ------------------------------

    #DecisionOptimization


  • 2.  RE: Error in MIP integer solution limit

    Posted 06/29/20 09:53 AM
    I did not look at your model yet but how can you know what solution CPLEX would produce unless this is a unique optimal solution? You may be working with a wrong assumption here. For example, with your setting there is nothing that prevents CPLEX from finding the optimal solution as the very first solution. In that case CPLEX would return with the optimal solution (which is the first solution found and clearly satisfies any gap criterion).

    In general, you cannot predict what is the first solution that CPLEX finds.

    ------------------------------
    Daniel Junglas
    ------------------------------



  • 3.  RE: Error in MIP integer solution limit

    Posted 06/29/20 12:31 PM
    Hello Daniel,

    I have already solved it, I have write "cplex.intsollim = 1" in the .mod file and not in the .ops file.

    Regards.


    ------------------------------
    JC Garcia
    ------------------------------