Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Load Dataset Through a Loop

    Posted 04/02/09 02:19 AM

    Originally posted by: SystemAdmin


    [garyguan said:]

    Please help.

    Anyone knows how to load a different dataset through ILOG script?

    I have an OPL mod uses Oracle as my dataset in the dat file.  my goal is based on the solution of current run, either I rerun the mod use the current data set with a different parameter (I has a control variable in the mod) or load a new data set.  This is a loop until the mod finishes the run for all my datasets.

    I used DBRead in my dat file to load dataset now.  I plan to ILOG script to make a decision whether or not reload the next data set.  If the decision is to load a new data set, where the code of reload should be placed or how?  Please provide me examples.

    Appreciate your help.

    Gary 

    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Load Dataset Through a Loop

    Posted 04/24/09 01:19 PM

    Originally posted by: SystemAdmin


    [jfk said:]

    Hello,
    well, you may have solved your problem, but if you take a look at the forum entry "Script with same model but different data files" probably you get the idea what to do...


    cheers
    #DecisionOptimization
    #OPLusingCPLEXOptimizer