When determining the optimal logistics terminal location, one of the primary goals is to minimize: