Two-Constraint Bin Packing Problem