A genetic algorithm solution to the 2D bin packing problem.