Branch-and-price and beam search algorithms for the Generalized Bin Packing Problem