title: Given a set of objects, how to calculate how many fit in a given volume?
body: <p>This is more an algorithm question than programming, but it's implemented in programming so I'm asking it here.</p>
  
  <p>I have a set of given objects with different known dimensions and need to figure out the max of objects that can be put inside another volume of known dimensions. What algorithms exist to explore this problem other than a combinatorial brute-force approach?</p>
  
  <p>Also, if I assume they are not arranged, how many will fit?</p>
  
  <p>Another way to look at it:</p>
  
  <ol>
  <li>What's the max of a set of LEGO blocks I can assemble to put
  inside a box and how do I calculate it? </li>
  <li>What's the max of a set of LEGO blocks I can drop inside a box without arranging them 
  and how do I calculate it?</li>
  </ol>