I have just build my first model on AIMMS and when I tried to run the model, the next following error appeared:
If the option “Data management style” is set to “Disk files and folders”, the procedure CaseCreate is not valid.
Would anyone know how I can solve this problem?
Thank you very much in advance!
Best answer by mateusarakawa
Basically, the function CaseCreate is related to AIMMS old case management style (single file where your data is stored).
This function doesn’t work because your AIMMS project is configured to the new management style ‘disk files and folders’.
In order to understand the difference between both, please read:
AIMMS 3.0 stores cases were in so-called “data manager files”. AIMMS 3.12 introduced the
.dataformat as an alternative.
This change was made for several reasons.
- Data manager files (
.dat) became difficult to manage when maintaining several cases.
- Case files (
.data) avoid the risk of data corruption in one case affecting other cases stored in the same file.
- Storing multiple case files in a folder makes it easy to copy cases from multiple users in the same folder, and compare scenarios. (See the AIMMS User’s Guide, Section “Managing multiple case selections”.)
In projects created with AIMMS version before 3.14, a single data manager file (
.dat) contains zero, one or more cases. From AIMMS version 3.14, a case file (
.data) only stores one case, but multiple cases may be stored in the same folder.
Before AIMMS 3 AIMMS 3.14 and later
Single data manager file contains zero, one or more cases Disk files and folders store multiple files, with one case per file
If you want to save your data, you can use other functions.
Hope it helps.