Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Multiple Data files for one Model

    Posted 09/10/08 12:54 PM

    Originally posted by: SystemAdmin


    [golopang said:]

    Dear All,

    May I have your help on the below question??? Thanks.

    Can I have more than one data files to store the data, such as one data file for the Basic Parameters, and two other files for the Dynamically Created Data of two different data types. And I want to use one Model file to assess all Data files before solving the model. Any Idea??? Thanks.

    Regards,
    Anthony

    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Multiple Data files for one Model

    Posted 09/10/08 12:56 PM

    Originally posted by: SystemAdmin


    [alain.chabrier said:]

    Hi,

    yes you can.
    In the IDE, just drag&drop the different .dat files you are using into the run configuration.

    Alain
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Multiple Data files for one Model

    Posted 09/10/08 01:58 PM

    Originally posted by: SystemAdmin


    [golopang said:]

    Dear Alain,

    Thanks for your quick help. What about in Java??? Can I have multiple data files in one configuration similarly?? Thanks.

    Regards,
    Anthony
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Multiple Data files for one Model

    Posted 09/11/08 12:13 PM

    Originally posted by: SystemAdmin


    [Norbert said:]

    Anthony,

    no idea about Java, but in C++ you have something like

        IloStringArray dataFileNames(env);
        dataFileNames.add(file1.c_str());
        dataFileNames.add(file2.c_str());
        dataFileNames.add(file2.c_str());

        IloOplRunConfiguration masterRC(env,fname_model.c_str(),dataFileNames);


    i.e., you create a run-configuration with one model-file and three dat-files.
    The Java-Interface should be somewhat similar.

    Hope this helps.

    Regards
    Norbert



    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: Multiple Data files for one Model

    Posted 10/03/08 09:45 AM

    Originally posted by: SystemAdmin


    [golopang said:]

    Dear Norbert,

    Got it. Thanks.

    Anthony

    #DecisionOptimization
    #OPLusingCPLEXOptimizer