In May 2018 AIMMS announced a plan to deprecate compound sets in stages. Support for compound sets will be fully deprecated after January 1, 2020.
To find out how to identify and remove compound sets from your model without losing functionality, read AIMMS Knowledge: Prepare for the Deprecation of Compound Sets.
This article provides the following background information:
and here's how to prepare (and use set mappings)
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 username or e-mail address. We'll send you an e-mail with instructions to reset your password.
FYI, the article has been recently updated/expanded by the author -
Integersshould not be used as a compound set component.
I have difficulty to convert my model without any compound set. I included the model in the attachment of this reply. Any suggestion or help will be very meaningful for me.
Thank you very much.
@rahmat - sorry to hear you’re having trouble. It can help if you tell more specifically what happened, and what you did so far. If you tried following the procedure from the article already, at what point did you get stuck or find problems? Thanks
Hello Jess, thank you for you reply. I tried to do each step that explained in the link of preparation for the deprecation of compound set. When I did step 3 (create set mapping declaration), I got the error of “fncIndexForSet(): Unable to find index for set Bus” after I pressed the button Create Set Mapping Declarations.
@Jess Es , thank you for your reply. I tried to do each step that explained in the link of preparation for the deprecation of a compound sets. When I did step 3 (create set mapping declaration), I got the error of “fncIndexForSet(): Unable to find index for set Bus” after I pressed the button Create Set Mapping Declarations.
The set Bus is used twice in the set Line, therefore it needs two indices.
Please add index i2, next to the index i, for the set Bus.
With kind regards,
Thank you for your reply. It nicely worked and I didn't get the previous error. However, after I pressed the button of “Create set mapping declaration”, I was not able to locate “set mapping declaration” in my model as shown in the figure of step 4.
Please check the end of the model tree for this runtime library:
With kind regards,