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 mateusarakawaView original
@Max Lomba Vrouenraets.
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:
If you want to save your data, you can use other functions.
Hope it helps.
First of all, thank you very much for your answer. It helps me to understand the root of the problem.
What I also understand from your answer is that I need to use another function that works like the CaseCreate that I used. I am right?
Which one do you recommend to me from the list? I attach you here the core of my model. I tried to replace CaseCreate with the function CaseFileSave and the error that I got was the one shown on the screen. I would be extremely grateful if you can help me to substitute my current formulation with the new one!
Again, thank you so much for your help
The error message is referring to the string parameter CaseName. It should end with an extension .data.
CaseName := “A1-2020 Allocation”;
CaseName := “A1-2020 Allocation.data”;
@mohansx, thank you very much for your answer and help!