Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to set OPL language options with script

    Posted 11/25/11 04:49 AM

    Originally posted by: GACNEU


    hello everybody

    i want to set OPL language options, such as time limitation and EPAGAP, in main block, how can i do that.

    Thanks
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: How to set OPL language options with script

    Posted 11/25/11 12:33 PM
    Hi

    let me give you an example

    main
    {
      thisOplModel.generate();
      cplex.tilim=10;
      cplex.solve();
    }
    


    Regards
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: How to set OPL language options with script

    Posted 11/26/11 01:06 AM

    Originally posted by: GACNEU


    thanks a lot
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: How to set OPL language options with script

    Posted 11/28/11 02:00 AM

    Originally posted by: GACNEU


    hi,

    another question, how to set "postprocess feasible" true in main script, which process each feasible with postprocess block.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: How to set OPL language options with script

    Posted 11/28/11 03:43 AM
    Hi

    thisOplModel.settings.run_processFeasible=true;
    

    could help

    Regards
    #DecisionOptimization
    #OPLusingCPLEXOptimizer