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