Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

design experiment

  • 1.  design experiment

    Posted Tue April 21, 2009 01:30 AM

    Originally posted by: SystemAdmin


    [agus said:]

    Hi,

    I am using ILOG OPL Development Studio IDE version 6. I want to do a design experiment with it. I have 100 data (.dat) files that I would like to run against one model (.mod) file. And capture the result of each output.

    Is there a way that I can automate the process? Without having to insert and delete each data file manually into a run configuration .

    Thanks

    Agus

    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: design experiment

    Posted Wed April 22, 2009 01:46 PM

    Originally posted by: SystemAdmin


    [jfk said:]

    Hello,
    well, I have never done it by myself but since you can use oplrun from the command line like "oplrun mymodel.mod maydata1.dat" then you could write a .bat file which combines this with reading the .dat's from a directory. In the .bat file you could have a line saying something like:

    FOR %%c in (C:\myDataDirectory\*.*) DO oplrun mymodel.mod %%c

    I suppose in the .dat you take care of dumping the solutions

    I hope it is helpful


    cheers

    #DecisionOptimization
    #OPLusingCPLEXOptimizer