Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Prameters for dat file in OPL using cplex

  • 1.  Prameters for dat file in OPL using cplex

    Posted Mon April 28, 2014 08:15 AM

    Originally posted by: mbaddar1


    Hello everybody

    i have an OPL project .mod .ops .dat file , the .dat file uses external xls files to get the data , but the path of the input excel sheets is hard coded int the .dat file , i am developing a java application using OPL java interface , is there anyway to pass excel sheet file names and paths to .dat file or to the project as parameters

    thanks in advace


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Prameters for dat file in OPL using cplex

    Posted Mon May 26, 2014 09:23 AM

    Hi,

    have you tried oplrun -D option ?

     

     -D element=value    override or set data element values

    Regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer