3 ms·
There was a blogpost [1] a while back from a guy who runs a candy subscription business. He goes into some approaches and issues with this and also mentions a p
by bschne 9y ago
There was a blogpost [1] a while back from a guy who runs a candy subscription business. He goes into some approaches and issues with this and also mentions a python package called pyShipping [2] which has an existing implementation using some heuristics to speed up the calculations.
1. https://www.candyjapan.com/behind-the-scenes/algorithmic-fitting-of-japanese-candy https://www.candyjapan.com/behind-the-scenes/algorithmic-fit...
2. https://github.com/hudora/pyShipping/blob/master/pyshipping/binpack_simple.py https://github.com/hudora/pyShipping/blob/master/pyshipping/...