Cost function calculation. The cost function is a summation of
all the differences between the baseline and reduced network
leave-one-out simulated values for each grid point by time. The
cost function includes a multiplication factor that is dependent on
whether the baseline or simulation values are above or below the
AQS. The multiplication factors are presented in Table 1. The