Economic selection of the mean and upper limit for a canning problem with limited capacity