How to create an optimized packing function in python?

后端 未结 4 1506
独厮守ぢ
独厮守ぢ 2020-12-28 19:36

So I have been given the task to create a shipping module for a webshop system. It may be a bit overkill, but I would really like to create one that can figure out how to pa

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-28 19:48

    The fact that you have height, length and width makes it harder than a simple knapsack problem. Here's an interesting discussion of a 3D knapsack problem.

    Here's a paper on the topic by the same guys.

提交回复
热议问题