Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pyshipping/binpack_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"""
binpack_simple.py

This code implemnts 3D bin packing in pure Python
This code implements 3D bin packing in pure Python

Bin packing in this context is calculating the best way to store a number of differently sized boxes in a
number of fixed sized "bins". It is what usually happens in a Warehouse bevore shipping.
number of fixed sized "bins". It is what usually happens in a Warehouse before shipping.

The Algorithm has a simple fit first approach, but can archive relative good results because it tries
different rectangular rotations of the packages. Since the Algorithm can't interate over all possible
different rectangular rotations of the packages. Since the Algorithm can't iterate over all possible
combinations we use a heuristic approach.

For a few dozen packages it reaches adaequate runtime. Below are the results calculated about a set of
For a few dozen packages it reaches adequate runtime. Below are the results calculated about a set of
500 real world packing problems.

Binsize Runtime Recuction in shipped Packages
Expand Down