Overview: Deprecation of Compound Sets
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:
Here is the article
and here's how to prepare (and use set mappings)
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.
Thank you
Hello
Please check the end of the model tree for this runtime library:
With kind regards,
Chris
FYI, the article has been recently updated/expanded by the author -
- Adapted library for duplicate components in compound sets, for instance:
Set s_Route {
SubsetOf: (s_Location, s_Location);
}
- Adapted article to explain why the set
Integers
should not be used as a compound set component.
Dear All,
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.
Hi
Hello
Thank you
Hello Rahmat,
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,
Chris
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 username or e-mail address. We'll send you an e-mail with instructions to reset your password.