Profiling
Describes a reduced and scalable version of the examples described in A set of transportation examples.
The profiler example
is a reduced and scalable version of the changes done from transp1 to transp4 in
the transportation examples described in A
set of transportation examples. The project contains
only a model, profiler.mod, and
no data file.
Three versions of arrays are created and used in the model:
one with an
[i][j]index and initialization from the script,one with an
[i][j]index and initialization from the language,one with an
[<i,j>]index.
The change from statements int values1 to int
values2 shows time improvement.
The change from statements int values2 to int
values3 shows memory improvement.
To access this example, go to: examples/opl/profiler.
See also Profiling the execution of a model in IDE Tutorials.