I have a Box with some dimension length, width, height.
I have items with different length, width, height.
Is there an existing algorithm that can determine the best items to use to put inside the box?
This is called a Bin Packing/Cutting Stock/Knapsack problem, and it is NP hard. In general you can only get an approximate solution by using heuristics, see for example
http://en.wikipedia.org/wiki/Knapsack_problem
http://en.wikipedia.org/wiki/Bin_packing_problem
http://en.wikipedia.org/wiki/Cutting_stock_problem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With