From 75c705ac3cb9400e3f49c689fdbc7f5369d55450 Mon Sep 17 00:00:00 2001 From: Dark Knight Date: Tue, 13 Sep 2016 16:59:33 +0800 Subject: [PATCH 1/2] Change wrong spellings in comments --- pyshipping/binpack_simple.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyshipping/binpack_simple.py b/pyshipping/binpack_simple.py index 89c4fdb..c4ee3d5 100644 --- a/pyshipping/binpack_simple.py +++ b/pyshipping/binpack_simple.py @@ -6,13 +6,13 @@ This code implemnts 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 From d72da791b4eb495488b29e3ffa2e1e0786bdec40 Mon Sep 17 00:00:00 2001 From: Dark Knight Date: Tue, 13 Sep 2016 17:01:50 +0800 Subject: [PATCH 2/2] Update binpack_simple.py --- pyshipping/binpack_simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyshipping/binpack_simple.py b/pyshipping/binpack_simple.py index c4ee3d5..4b76477 100644 --- a/pyshipping/binpack_simple.py +++ b/pyshipping/binpack_simple.py @@ -3,7 +3,7 @@ """ 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 before shipping.