Chapter Summary
This chapter presented an overview of how to use arrays in optimization problems. We used three examples to demonstrate the differences between intrinsic and extrinsic indexes in optimization arrays.
The Intrinsic Index attribute in Decision and Constraint arrays controls how the optimizer interprets arrays. The optimizer incorporates intrinsic arrays into the optimization while leaving extrinsic arrays eligible for array abstration outside the optimization.
In the first example, the input Decision and Constraint arrays had intrinsic dimensions. A single optimization run incorporated all elements of the intrinsic indexes simultaneously.
In the second example, we added an extrinsic dimension to the model. Analytica propagated this new dimension through the model according to the usual principles of array abstraction. As a result, the optimizer performed independent optimization runs for each element of the new index. The Optimized Solution array displayed the combined results as a single array having both intrinsic and extrinsic dimensions.
In the third example, we restricted the solution space by substituting a new index for the input Decision and Objective arrays. We aggregated decision quantities using index maps in order to apply constraints.
Enable comment auto-refresher