I want to run the model with different scenarios (data), can I import all the scenarios once and get the result for each scenario in one run?
No, you can only run one loaded scenario per time, but, you can develop a procedure that loads a scenario, delegates it, and save in a prefolder, until all scenarios are run. After that you can load all and compare them at once.
No, you can only run one loaded scenario per time, but, you can develop a procedure that loads a scenario, delegates it, and save in a prefolder, until all scenarios are run. After that you can load all and compare them at once.
Thanks a lot for this reply! Can you tell me what should I refer to to realize this? Like which part of the handbook or language reference should I refer to? Or is there any article realising this?
You do not have access to AIMMS PRO correct? So, to do this locally, it is a matter of:
- Create a set of all scenarios you want to run.
- Do a for for these scenarios.
- Check if folder exists (/batchRun)
- LoadCase on the for
- solve mp
- SaveCase on (/batchRun)
Or,
- Check if folder exists (/batchRun)
- LoadCase
- Change the parameter dynamically during this procedure
- solve mp
- SaveCase on (/batchRun)
After, to compare all cases, check this article: https://documentation.aimms.com/user-guide/data-management/case-management/managing-multiple-case-selections.html
You do not have access to AIMMS PRO correct? So, to do this locally, it is a matter of:
- Create a set of all scenarios you want to run.
- Do a for for these scenarios.
- Check if folder exists (/batchRun)
- LoadCase on the for
- solve mp
- SaveCase on (/batchRun)
Or,
- Check if folder exists (/batchRun)
- LoadCase
- Change the parameter dynamically during this procedure
- solve mp
- SaveCase on (/batchRun)
After, to compare all cases, check this article: https://documentation.aimms.com/user-guide/data-management/case-management/managing-multiple-case-selections.html
I really appreciate this! I will try to do it with this instruction!
Reply
Sign up
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.