# Optimal Bin Packing with Random Lengths

Optimal Bin Packing with Random Lengths

Given a set of blocks of random lengths (shown at the bottom), what is the optimal subset to include in order to achieve a given target length? This Demonstration shows the subsets that minimize the difference between actual and target length.