Set AllCases

AllCases

The predefined set AllCases contains the references to all cases that are currently available in the AIMMS project.

Set AllCases {
    SubsetOf   :  AllDataFiles;
    Index      :  IndexCases;
}

Definition

The set AllCases is used in both data management styles Single_Data_Manager_file and Disk_files_and_folders. When using Single_Data_Manager_file, the contents of the set AllCases is the collection of (integer) references to all cases stored within the data manager file currently loaded within an AIMMS project. When using Disk_files_and_folders, the contents of the set AllCases is the collection of (integer) references to all case files that have been referenced thus far. Each newly opened or saved case file is automatically added to this set.

Updatability

The contents of the set can only be modified implicitly by using the various features of the Data Management tool, by executing any of the Data menu commands or by using the specific case or dataset functions.

Note

If the data management style is set to Single_Data_Manager_file.

If the data management style is set to Disk_files_and_folders.

  • The corresponding location on disk of any element in the set AllCases can be obtained through the predeclared identifier CaseFileURL.

  • The integer case references stored in the set AllCases are only guaranteed to be unique within a single AIMMS session and depend on the order in which case files are accessed.

See also

The set AllDataFiles. Accessing cases from within an AIMMS model is discussed in full detail in Managing multiple case selections.