Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Data file location

    Posted 01/18/09 08:16 PM

    Originally posted by: SystemAdmin


    [Boon said:]

    Hello,

    I have a question about how to point to a data file location from OPL.

    I am working on one project, let's call it project A. I store all documents, files for this project A in C:\PROJECT_A. Up to this point there is nothing to do with ILOG. All documents and files are general.

    Now I want to create an optimization model to support my analysis. I open ILOG OPL and create a project name "PROJECT_A_MODEL". This Ilog project is stored in C:\PROJECT_A. So, basically when I open windows explorer, the *.mod and .dat files are stored in C:\PROJECT_A\PROJECT_A_MODEL\.

    In my Ilog model I want to read in the data from Access file named "data.mdb" which is stored in C:\PROJECT_A\. How should I refer to this file in this command "DBConnection db1("Access","*********");  (what should I type in in ********)

    Thanks a lot,
    Boon


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Data file location

    Posted 01/18/09 08:21 PM

    Originally posted by: SystemAdmin


    [jfk said:]

    you may want to take a look at

    ILOG OPL Development Studio 6.1.1 > Language > Language Reference Manual > OPL, the modeling language > Data sources > Database initialization > The oil database example

    cheers

    #DecisionOptimization
    #OPLusingCPLEXOptimizer