Setting up Startup items for your AIMMS project

Setting startup items in AIMMS project

Setting startup items in AIMMS project. (Credit: flickr/dierken)

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.

Project Startup Settings

Project Startup Settings

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:

  1. Identifiers are initialized with data from Initial data attribute,
  2. MainInitialization procedure is run,
  3. Case denoted by the project option Startup case is loaded,
  4. Procedure denoted by the project option Startup procedure is run,
  5. 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).

Setting AIMMS window title

Setting AIMMS window title

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.

This entry was posted in Beginner and tagged , by Guido Diepen. Bookmark the permalink.

About Guido Diepen

Guido has been working at AIMMS since August 2008. He is part of the Professional Services team that helps customers getting the most out of AIMMS for their problems. His background is Integer Linear Programming and he is now also looking more at Constraint Programming.

Leave a Reply