this solution packs all 240 boxes (99.1% efficiency); Rather than entering as many boxes as possible in each level, in the actual contest I used a somewhat more convoluted strategy that attempted to condition the box heights so that they would also pack nicely vertically across sequential levels, but the 2d-packing solver works just as well for these simpler "unconstrained" cases. Here (http://www.kaggle.com/c/packing-santas-sleigh/forums/t/6934/how-d-you-do-it/38414#post38414) is a more detailed description of the method I used in that contest, and you may find a link to the solution code there (as well as in this solution) in case you are interested.
1180 Solvers
Check to see if a Sudoku Puzzle is Solved
282 Solvers
Find the sum of the elements in the "second" diagonal
996 Solvers
49 Solvers
Cody Computer Part 5 - Guess the Name of Cody Computer
52 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!