Sharing AIMMS Project Files
This article explains the structure of an AIMMS project folder and provides instructions for sharing your project files with others, such as developers or the AIMMS Support Team.
AIMMS Project Folder Structure
When you create a new AIMMS project, several essential folders and files are generated within the project root folder (named after your project; Demo in the example below).
The following three files are always created and are essential for opening an AIMMS project:
Demo.aimms: An executable file that opens the AIMMS IDE when the AIMMS Launcher is installed.
Demo.ams: The primary model source file containing all identifier declarations in your project. This file is essential for version control to track changes in your model.
Project.xml: Stores project metadata, including the AIMMS version and links the
Demo.aimms
file to theDemo.ams
file. A sample structure is shown below:1<?xml version="1.0"?> 2<Project AimmsVersion="24.5.8.5 unicode x64" ProjectUUID="74B0C523-8BD6-4BE1-B50B-66CA17BF886B"> 3 <ModelFileName>Demo.ams</ModelFileName> 4 <AutoSaveAndBackup> 5 <DataBackup AtRegularInterval="true" EveryNMinutes="15" NumBackupsDatedToday="3" NumDaysBeforeToday="3" /> 6 </AutoSaveAndBackup> 7</Project>
In line 3,
<ModelFileName>
should match the.ams
file name. Clicking theDemo.aimms
file loads the correspondingDemo.ams
file in the IDE as specified in theProject.xml
file.
If additional libraries are added to the project, they will appear as extra files and folders within the main project folder.
Sharing a Project
To share your project with other developers or AIMMS Support, compress the entire project folder (not just the .aimms
file).
Right-click the project folder and select Send to > Compressed (zipped) folder.
This ZIP file will contain all necessary project files for easy sharing.
Note
If your project imports data from external sources, like Excel files or databases, consider including a saved data case file. To save a data case, navigate to Data > Save Case as.