Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  getTime in OPL6

    Posted 07/15/08 09:22 PM

    Originally posted by: SystemAdmin


    [rastogi said:]

    In OPL 3.7 Script, model.getTime()  provided the time it took to solve the model. Is there something similar in OPL 6?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: getTime in OPL6

    Posted 07/15/08 09:33 PM

    Originally posted by: SystemAdmin


    [alain.chabrier said:]

    No, but you can use Script code :

    float temp;
    execute{
    var before = new Date();
    temp = before.getTime();
    }

    // solve the model

    execute{
    var after = new Date();
    writeln("solving time ~= ",after.getTime()-temp);
    }

    You can do complex time calculations.

    Alain

    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: getTime in OPL6

    Posted 07/16/08 09:06 PM

    Originally posted by: SystemAdmin


    [rastogi said:]

    That was helpful.  I was able to capture time intervals at various steps.
    Thanks.

    #DecisionOptimization
    #OPLusingCPLEXOptimizer