Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Multiple data files

    Posted 12/16/10 04:09 PM

    Originally posted by: MatteoFabr


    Hi!
    I'm a beginner and I would Know if I can add two data file in a run configuration?

    Thanks
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Multiple data files

    Posted 12/16/10 05:30 PM

    Originally posted by: SystemAdmin


    Hi,

    An OPL run configuration can have 0, 1 or many data files.
    The order in which your .dat files are in listed in the run configuration is important (some data in a .dat file may depend on other data in a different .dat file), see the following chapter in the CPLEX Studio documentation: "IDE and OPL > CPLEX Studio IDE > Getting Started with the IDE > Introduction to the CPLEX Studio IDE > Working with files in CPLEX Studio > Ordering files within a run configuration"

    Hope this helps
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Multiple data files

    Posted 12/17/10 03:57 AM

    Originally posted by: MatteoFabr


    Thank you for the answer, but I haven't yet solve my problem becauese my files define the same data two times but with different values and Cplex gives me the message: "the data has already been set".
    Can I resolve my problem?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Multiple data files

    Posted 12/17/10 10:38 AM

    Originally posted by: SystemAdmin


    A data cannot be initialized twice. If you want to solve the same model with different data sets in a loop, then maybe you will want to have a look at the flow control section in the documentation.
    Using script, you would specify the .dat file to use with the model.

    Hope this helps.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: Multiple data files

    Posted 01/09/12 12:21 PM

    Originally posted by: GMB7_Wang_Kefeng


    I meet the same problem as yours now, have you solve this problem and
    can you tell me how to do to viod the error?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: Multiple data files

    Posted 08/09/15 02:56 PM

    Originally posted by: alaa90alaa


    I face the same your problem , when i want to read multiple data file . 

    The error message has  been displayed  "  data element has already been set  "

    ... can you tell me how you solve this problem ??


    #DecisionOptimization
    #OPLusingCPLEXOptimizer