The document describes an algorithm developed for a client called Global Links to estimate the number of shipping containers needed for deliveries. The algorithm uses stochastic rotation and machine learning techniques to iteratively improve its packing of inventory items into containers. It outputs statistics on the estimated number of containers, their dimensions, and error metrics to help the client plan shipments more accurately.
1. Introduction
The Solution
Algorithm
Output
End Product
Operation Pack-Man: Shipping Estimation
Eric Bentley, Christian Bottenfield, Michael Garver, Christopher
Lindeman, Namita Matharu, Surya Padinjarekutt, Sylvia Ujwary
University of Pittsburgh
May 1, 2015
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
2. Introduction
The Solution
Algorithm
Output
End Product
The Client
The Problem
Redirects still-useful materials away from US landfills to
support public health programs in targeted communities
throughout the Western Hemisphere
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
3. Introduction
The Solution
Algorithm
Output
End Product
The Client
The Problem
Redirects still-useful materials away from US landfills to
support public health programs in targeted communities
throughout the Western Hemisphere
http://www.globallinks.com
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
4. Introduction
The Solution
Algorithm
Output
End Product
The Client
The Problem
The Problem
Global links needed a way to predict how many shipping
containers should be ordered for each shipment
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
5. Introduction
The Solution
Algorithm
Output
End Product
The Client
The Problem
The Problem
For a collection of n items {wi }, where wi = (xi , yi , zi , hi ), we
seek a mapping ϕ := {wi } → R3
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
6. Introduction
The Solution
Algorithm
Output
End Product
The Client
The Problem
The Problem
For a collection of n items {wi }, where wi = (xi , yi , zi , hi ), we
seek a mapping ϕ := {wi } → R3
More specifically, for a partition representing the clinics
C = {Ci } of the items {wi }, and a subspace of R3 called S,
we seek the mapping ϕc := {Ci } → S. S is given by a
rectangular prism with a corner at the origin, and restricted by
maximum values of KXC , YC , ZC .
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
7. Introduction
The Solution
Algorithm
Output
End Product
The Client
The Problem
The Problem
For a collection of n items {wi }, where wi = (xi , yi , zi , hi ), we
seek a mapping ϕ := {wi } → R3
More specifically, for a partition representing the clinics
C = {Ci } of the items {wi }, and a subspace of R3 called S,
we seek the mapping ϕc := {Ci } → S. S is given by a
rectangular prism with a corner at the origin, and restricted by
maximum values of KXC , YC , ZC .
K is the total number of containers needed and (XC , YC , ZC )
are the dimensions of said container.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
8. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
The Solution
An algorithm that takes inventory data and packs each object
into a truck
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
9. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
The Solution
An algorithm that takes inventory data and packs each object
into a truck
Inputs:
- Dimensions of each object
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
10. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
The Solution
An algorithm that takes inventory data and packs each object
into a truck
Inputs:
- Dimensions of each object
- Height priority of each object
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
11. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
Stochastic Rotation
We stochastically turn and reorder items
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
12. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
Stochastic Rotation
We stochastically turn and reorder items
For wi = (xi , yi , zi , hi ), generate βi ∈ (0, 1)and αi ∈ (0, 1)
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
13. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
Stochastic Rotation
We stochastically turn and reorder items
For wi = (xi , yi , zi , hi ), generate βi ∈ (0, 1)and αi ∈ (0, 1)
If βi < αi then wi = (yi , xi , zi , hi )
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
14. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
Stochastic Rotation
We stochastically turn and reorder items
For wi = (xi , yi , zi , hi ), generate βi ∈ (0, 1)and αi ∈ (0, 1)
If βi < αi then wi = (yi , xi , zi , hi )
We leverage the Central Limit Theorem to converge upon the
true mean of containers needed.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
15. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
Machine Learning
With our machine learning component, we approximate the
real-world solution more closely each time
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
16. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
Machine Learning
With our machine learning component, we approximate the
real-world solution more closely each time
We adjust the dimensions based off of a formula derived by:
Ti = ˆTi + N(ˆξ − 1)3
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
17. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
Machine Learning
With our machine learning component, we approximate the
real-world solution more closely each time
We adjust the dimensions based off of a formula derived by:
Ti = ˆTi + N(ˆξ − 1)3
We then average all past error factors to derive a current error
estimate.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
18. Introduction
The Solution
Algorithm
Output
End Product
Stochastic Rotation
Machine Learning
Statistics
Statistics
Algorithm will generate and output estimates of the mean,
standard deviation, and error factor ξ for the number of
necessary containers.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
21. Introduction
The Solution
Algorithm
Output
End Product
Pseudocode
Algorithm
Algorithm
We first consider the y direction.
If space exists in this direction, we fill the given space.
Otherwise, we move on to and repeat for the z direction and
then the x direction.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
22. Introduction
The Solution
Algorithm
Output
End Product
Pseudocode
Algorithm
Algorithm
We first consider the y direction.
If space exists in this direction, we fill the given space.
Otherwise, we move on to and repeat for the z direction and
then the x direction.
In this way we are able to fit items on top of one another
before taking up more floor space
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
23. Introduction
The Solution
Algorithm
Output
End Product
Efficiency
Definition (Packing Efficiency)
Packing efficiency is the ratio of the sum of all item volumes and
the volume of all containers estimated as needed.
i (xi yi zi )
KXcYcZc
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
24. Introduction
The Solution
Algorithm
Output
End Product
Efficiency
Definition (Packing Efficiency)
Packing efficiency is the ratio of the sum of all item volumes and
the volume of all containers estimated as needed.
i (xi yi zi )
KXcYcZc
This number does not represent how close we have come to
any goal, as a one item overflow into a new container could
cause a drastic reduction in the calculation.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
26. Introduction
The Solution
Algorithm
Output
End Product
Summary
Reception
Versatility
By interfacing with Excel, this solution can be adopted by
numerous businesses.
Since the container size is user-defined, any form of transport
can be used, whether it be by ship, air, truck, etc.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
27. Introduction
The Solution
Algorithm
Output
End Product
Summary
Reception
Versatility
By interfacing with Excel, this solution can be adopted by
numerous businesses.
Since the container size is user-defined, any form of transport
can be used, whether it be by ship, air, truck, etc.
This program could benefit nearly anyone involved in
transporting and packing of goods.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
28. Introduction
The Solution
Algorithm
Output
End Product
Summary
Reception
Implementation and Effects
Having the ability to determine, with certainty, the number of
shipping containers required to ship the requested supplies,
the user can know, in advance, the shipping costs that will be
associated with the order.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
29. Introduction
The Solution
Algorithm
Output
End Product
Summary
Reception
Implementation and Effects
Having the ability to determine, with certainty, the number of
shipping containers required to ship the requested supplies,
the user can know, in advance, the shipping costs that will be
associated with the order.
This knowledge allows the user to accurately convey a proper
valuation of their shipment and bill the recipient properly.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
30. Introduction
The Solution
Algorithm
Output
End Product
Summary
Reception
Implementation and Effects
Having the ability to determine, with certainty, the number of
shipping containers required to ship the requested supplies,
the user can know, in advance, the shipping costs that will be
associated with the order.
This knowledge allows the user to accurately convey a proper
valuation of their shipment and bill the recipient properly.
The recipient may then opt to adjust the size of their order,
either to fill a nearly full container, or to empty a barely-filled
one.
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation
36. Introduction
The Solution
Algorithm
Output
End Product
Summary
Reception
Learning Outcomes
Throughout this project we have learned
Creation of Excel Macros
MatLab Programming
Machine Learning
Stochastic Processes
Heuristic Algorithm Development
BIG Problems, Math Dept., Univ. of Pittsburgh, Spring 2015 Operation Pack-Man: Shipping Estimation