When you are creating an application in AIMMS that is to be used by other persons, you typically want to ensure that after they start the project, the right startup page is automatically opened, maybe some data is initialized with saved values, and some initialization procedures are run.
If you open the project options (via Menu > Project Options…), you have the possibility to set certain startup related options for your AIMMS project (e.g. which procedure to execute, which page to open). Some examples values for these options are given in the screenshot below.
This means that AIMMS will use the procedure StartupProcedure as the startup procedure, it will automatically load the case Initial data case, and it will also open the page Overview.
Regarding the startup sequence in AIMMS, the following order is used:
- Identifiers are initialized with data from Initial data attribute,
- MainInitialization procedure is run,
- Case denoted by the project option Startup case is loaded,
- Procedure denoted by the project option Startup procedure is run,
- Page denoted by the project option Startup page is opened.
This order can be important to know when different identifiers get values from different sources (e.g. one identifier via the startup case, while another gets a value from a statement in the startup procedure).An additional option that you can set is the project option Project title, which can be found under Project > Appearance in the project options.
The window title will be set to whatever string you put in this option. If this value is left to the default empty string, the window title displayed will be set to the value AIMMS.
In the screenshot, the top part shows the default, while the bottom part shows the situation after the project title option was changed.