3 ms·
Interesting! It looks like none of them are optimal. Is this an NP-hard problem?
by vessenes 16y ago
Interesting! It looks like none of them are optimal. Is this an NP-hard problem?
- Keyframe 16y agoThat is an NP-hard problem. http://en.wikipedia.org/wiki/Bin_packing_problem http://en.wikipedia.org/wiki/Bin_packing_problem
- stevejohnson 16y agoYes, there are several papers on the subject. I found a few by searching "rectangle packing algorithm."
- harpastum 16y agoAlthough I didn't read it until after I had created my solutions, I found Andrea Lodi's paper [1] very interesting. It wasn't quite the approach I used, but it's a pretty thorough explanation of the problem and possible solutions. [1] PDF http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.98.3502&rep=rep1&type=pdf http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.98....