in reply to Re^2: determine numbers of boxes needed per weight
in thread determine numbers of boxes needed per weight

Fair enough. However without knowing the box weight (and possibly size) constraints imposed by USPS and the nature of the items being packed, it was not at all clear that OP's problem wasn't a knapsack problem. Especially if there were other criteria such as weights and/or box sizes that were better economy than others.


DWIM is Perl's answer to Gödel
  • Comment on Re^3: determine numbers of boxes needed per weight