I always start at
Stoney Brook when I'm looking for graphics algorithms, and of course they have a nice example of this very problem at that link. Others have already mentioned the
knapsack problem but you might also want to try a search on
bin packing (it seems that knowing the terminology is sometimes half the battle). I think this problem is a good candidate for a GA solution, and your particular version might be nice to try because you (probably) have only a limited set of different object dimensions to play with. I've played around with 1D bin packing several times for scheduling problems, but I have never gotten around to trying GAs, rather resorting to brute force as the problems have not been enormoous - yet. With 2D problems, you're in a whole new dimension! ;-)
I did a bit of searching and found:
- This presentation (PowerPoint I'm afraid) which looks like a nice explanation of the tabu search method applied to the knapsack problem.
- Yehoshua Perl is a researcher who seems to come up often in reference to this type of problem
--
I'd like to be able to assign to an luser
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.