Purpose of the flow control script

Explains how the script performs iterations to solve the model.

The script performs iterations to solve the model. On each iteration, it creates a new instance of the model with a changed value for the variable capFlour to improve the value of the objective function. The loop ends when there is no further improvement in the objective value.

After execution, the Engine Log ends as shown in the following screen capture.

Figure 1. Engine Log (mulprod_main.mod)
Engine log for the mulprod_main example

The last two objective values in the set of solutions are the same and so solving stops.