News for hackers. Stuff that matters.
Re:UPS’s $20B Problem: Operations Stuck in the 20th Century by jacques_chester on Sunday June 17, 2018 @06:56AM (#17331826)
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.

Re:UPS’s $20B Problem: Operations Stuck in the 20th Century by konschubert on Sunday June 17, 2018 @08:53AM (#17332151)
I'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.

Re:UPS’s $20B Problem: Operations Stuck in the 20th Century by gomox on Sunday June 17, 2018 @09:33AM (#17332297)
Indeed. Most likely the way to go would be to build a truck that parcels can easily be put into by a machine.
Re:UPS’s $20B Problem: Operations Stuck in the 20th Century by jacques_chester on Sunday June 17, 2018 @03:44PM (#17333940)
Oh, 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 :)