Adding data
Explains how to add a data file to an OPL project and fill it with data.
This part of the tutorial assumes you have created a project and the model is not empty.
You can add more than one data file to a project or run configuration. If you do so, the order of the data files is meaningful. See Ordering files within a run configuration. You can either add existing data files or create them as you add them. In this tutorial, you are going to add two existing data files to your project.
A data file does not appear in the project tree until you add it to a project.
All files pertaining to the same project must be stored within the same parent project directory.
To add a data file to the project:
You are now going to execute your project. Later, you will modify the settings file so that you can use it to execute different run configurations of your project (see Creating and executing a different configuration).


