Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Running model several times - Error getting data from .dat file

    Posted 06/01/17 07:05 AM

    Originally posted by: mGlass


    Good morning,

     

    I currently have a Opt_Return.mod (my optimization model), Returns.dat (where I get my data from) and now, a main.mod that runs my Opt_return.mod several times randomly generating value for specific arrays.

     

    When I run the configuration with main.mod and no .dat file it says: Data element does not exist. When I add the .dat file it says the element is not defined (when it is because if I run another configuration with only Opt_Retrun.mod it works!!)

     

    Can't figure out why.

    Thank you for your help!

     

    mGlass

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Running model several times - Error getting data from .dat file

    Posted 06/01/17 07:52 AM

    Hi,

    you forgot BaseSAP_TRP.xlsx

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Running model several times - Error getting data from .dat file

    Posted 06/01/17 07:57 AM

    Originally posted by: mGlass


    Sorry, here it is!


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Running model several times - Error getting data from .dat file

    Posted 06/01/17 08:14 AM

    Hi,

    I changed your .mod and will let you go on

    Now they run without any error

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: Running model several times - Error getting data from .dat file

    Posted 06/01/17 10:11 AM

    Originally posted by: mGlass


    I'm sorry but I still cannot run it without getting errors ..

     

    Best regards,

     

    Maria


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: Running model several times - Error getting data from .dat file

    Posted 06/01/17 10:16 AM

    oplrun mainn.mod

    works

    In your run configuration you should have only main.mod, nothing else

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 7.  Re: Running model several times - Error getting data from .dat file

    Posted 06/01/17 10:43 AM

    Originally posted by: mGlass


    I was having a problem with a parameter but now it works. 

    Thank you so much!


    #DecisionOptimization
    #OPLusingCPLEXOptimizer