3 ms·
Formally, this is the bin-packing problem, which is NP-hard. There are lots of heuristic and approximate methods for coming up with configurations, but hitting
by jacques_chester 8y ago
Formally, this is the bin-packing problem, which is NP-hard. There are lots of heuristic and approximate methods for coming up with configurations, but hitting an optimal configuration is unlikely to be done in short order.
I imagine load distribution, box fullness, rigidity etc can be included as dimensions to optimise. It'd be necessary, really, but doesn't make things any easier.
This is, however, what I believe Amazon are trying to achieve. As you point out, they have the advantage of knowing in advance what the different items being packaged are. They can presumably optimise within a single box, over a single order and across multiple orders and shipments. At their scale it would make sense to devote a large amount of compute to squeezing a few percent extra out of each cargo flight and truck delivery.
- konschubert 8y agoI'm sure the difficulty is not in solving the optimal packing. Any decent heuristic is probably good enough. The difficulty is to build a machine that can physically put the parcels into the truck.
- gomox 8y agoIndeed. Most likely the way to go would be to build a truck that parcels can easily be put into by a machine.
- jacques_chester 8y agoOh, I hadn't thought of that. Good point. Elsewhere I complain that software folks think they're smarter than everyone else. And here I am proving it :)