← Back to Learn

Bin Packing

Pack items into fixed-capacity bins using First Fit Decreasing. Items are sorted largest-first, then placed in the first bin with room.

waitingA: 1B: 4C: 5D: 2E: 3F: 2G: 7H: 4
0/10
speed
8
items
0
bins used
0%
utilization
0
lower bound
items 8
capacity 10
seed ⓘ 42
setup
8 items to pack into bins of capacity 10. Sort largest-first, then use First Fit.
complexity
FFD: O(n log n) Optimal: NP-hard

© 2026 Dantzig. Optimisation made accessible.

Powered by HiGHS