I look at some bottle packing problem, but not exactly the same. The problem is to place n items in the minimum number of drawers without a total weight exceeding the capacity of the bins. (classic definition)
The difference is as follows: Each element has a weight and is connected , and the capacity of the hopper is dynamically determined by the minimum boundary of the elements in this hopper.
for example., I have four elements A [11,12], B [1,10], C [3,4], D [20,22] ([weight, border]). Now, if I put item A in the basket, name it b1, then capacity b1 becomes 12. Now I try to put item B in b1, but I couldn’t, because the total weight is 11 + 1 = 12, and capacity b1 becomes 10, which is less than the total weight. So, B is placed in bin b2, whose capacity becomes 10. Now put the element C in b2, because the total weight is 1 + 3 = 4, and the capacity of b2 is 4.
I do not know if this issue has been resolved in some areas with some name. Or is it a bean packaging option that has been discussed somewhere. I do not know if this is the right place to post the question, any hints are welcome!
source
share