The Generalized Bin Packing Problem: Models and Algorithms Design