Postprocessing

Describes how the model browser displays the results of postprocessing.

To see how the Problem Browser displays postprocessing results, open the mulprod example, which is available at:

<Install_dir>\opl\examples\opl\mulprod

where <Install_dir> is your installation directory.

When you run the default run configuration for this model, under the Postprocessing item of the Problem Browser, you can see that this line of the model


plan Plan[p in Products][t in Periods] = <Inside[p,t],Outside[p,t],Inv[p,t]>;

appears as shown in Figure 1.

Figure 1. Postprocessing in Problem Browser (mulprod example)
Postprocessing in the Problem Browser

If you double-click on the Plan element in the Problem Browser, detail for it is shown in a new window in the Editing Area:

Figure 2. Postprocessing detail in the Editing Area (mulprod example)
Postprocessing detail for a Problem Browser element

You can see that the window is divided in two parts, one for the indexers, and one for the values of the arrays. The array content is displayed "flattened,” with a number of rows that is exactly the total number of items.