Boxing problem - Initial thoughts (no code really)

From here:
http://community.topcoder.com/stat?c=problem_statement&pm=2977&rd=5880

Initial thought on how to solve this. Need to come back and actually write the code to do it.