Algorithm 864: General and robot-packable variants of the three-dimensional bin packing problem
The Three-Dimensional Bin Packing Problem