Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Maximum float value CPLEX can accomodate

  • 1.  Maximum float value CPLEX can accomodate

    Posted Thu February 13, 2014 02:37 AM

    Originally posted by: Rajasekhar Kadambur


    I am working on a problem and description is as follows:

    Consider  's' selections from 'p' persons and each selection should be in decreasing preference.

    CPLEX is able to solve this problem for s=15 and p=20; and unable to solve for s=25 and p=30 with warnings

    Warning:  Bound infeasibility column 'id903'.
    Warning:  Bound infeasibility column 'id903'.
    Warning:  -Infinity upper bound ignored.

    The maximum value from Case 2 is 1.55112E+25 i.e. factorial(25). I need to work on the factorial value of (50 - 70) could you help me in overcoming these issue.

    Maximum float values allowed in CPLEX and how to increase these values.

     

    The model file and data file for these cases are attached below.

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Maximum float value CPLEX can accomodate

    Posted Fri February 14, 2014 04:15 AM

    Hi,

    in the doc you may read:

    OPL has a predefined float constant, infinity , to represent the IEEE infinity symbol ∞.
    Example
    dvar float x in 2..infinity;
    CPLEX infinity value
    For CPLEX, the value of "infinity" is 1e+20. When CPLEX encounters a larger value, it silently truncates the value to 1e+20.
     

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer