An AIMMS library can be reused in other projects. To solve an optimization problem in a library we’re dealing with two abstraction mechanisms:
- Procedures where sets transferred via the arguments have different meanings.
- Declare global variables and constraints with a fixed index domain within the library, and use subsets of
AllVariableslocally within that library.
These two abstraction mechanisms do not work together naturally.
This article explains how we can bring these two abstraction mechanisms together using element parameters. We’ll use an example based on the Transport Problem.