Actually, AMPLallows separating the algebraic model and the data into two independent files. This arrangement is advisable because once the model has been developed only the data file needs to be changed. (See the end of Section A.2 for details.) In this
book, we elect not to separate the model and data files, mainly for reasons of compactness.