Decision Optimization

Decision Optimization

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

 View Only
  • 1.  OPL 6.3 to OPL 12.2

    Posted Wed October 20, 2010 11:35 AM

    Originally posted by: Boonyawat


    Hello,

    I just installed OPL 12.2 on my computer. I have a model that I created with OPL 6.3. I imported this model into OPL 12.2 and it told me the model has an error. It said the decision variable (or expression) "Transittime2" not allowed. Lucky me I still have OPL 6.3 installed and I can confirmed that it runs fine in OPL 6.3.

    Any help is appreciated.

    thanks,
    Boon
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: OPL 6.3 to OPL 12.2

    Posted Fri October 22, 2010 03:11 PM

    Originally posted by: UDOPS


    What if you just do a global replace with some other name?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: OPL 6.3 to OPL 12.2

    Posted Fri October 22, 2010 04:03 PM

    Originally posted by: Boonyawat


    I decided to contact IBM support and found the solution. The problem was that OPL 12.2 does not effectively recognize expression in the constraint. the solution is to put parentheses like this --> transmitted time=(........................).
    #DecisionOptimization
    #OPLusingCPLEXOptimizer