Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  CPLEX/OPL cannot extract an expression

    Posted 04/28/15 04:15 PM

    Originally posted by: ShirinG


    Hi,

    I receive the similar message for two of my constraints. I wonder where I can search for the cause of the trouble? Does it mean that my initial model is wrong, or it can be a syntax error or what?

    I appreciate if you guide.

    Shirin


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: CPLEX/OPL cannot extract an expression

    Posted 04/28/15 04:19 PM

    Originally posted by: ShirinG


    What does this mean: Index out of bound for an array?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: CPLEX/OPL cannot extract an expression

    Posted 05/04/15 02:52 AM

    Hi

    example for an out of bound in an array:

    int c[i in 1..2]=i;
     
     execute
     {
     c[3]++;
     }

    You should check the index you use in your array not to be "out of bounds"

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer