TimelinePacking thread · rev ANov 2021 – Jul 2022

PackMax

The problem

A truck that leaves partly empty wastes transport cost. Loading is also bound by rules that differ by product, and the people who load speak different languages, so a printed table of coordinates is of little use at the dock.

Team
Team MOVIS, an inter-college team based at VIT Chennai
Role
Led the algorithm
Event
Ideate, IIT Bombay Techfest 2021–22
Result
National 2nd place
Screen recording of the loading animation running in a browser, 1 min 19 s.

The idea

We built a planner that takes the dispatch list and packing rules and turns the result into a step-by-step 3D loading guide.

1Background

Our team worked from a company problem statement at IIT Bombay's Ideate competition: make better use of truck space while respecting product-specific packing rules.

Loading is also constrained by rules that differ by product: how high a product can be stacked, and which way up it has to travel. The people who do the loading speak different languages and have different levels of technical literacy, so a printed table of coordinates is of little use at the dock.

2What we built

Dispatch listproducts, packingrules, trucksAssign to trucksreinforcement-learningbin-packing agentPlace in 3Done by one, understacking rules3D animationloading order,in a browserDock workersteps through iton any device
Fig. 1The three steps of PackMax, from the dispatch list to the person loading the truck.
  1. Assign products to trucks. A reinforcement-learning bin-packing agent treats each product as an item and each truck as a bin. It is a stacked LSTM network built on Ruben Solozabal's open-source code for neural combinatorial optimisation, and its behaviour is close to the First-Fit rule.
  2. Place the products in 3D. A 3D bin-packing step takes the ordered list from the first step and places items one by one, respecting stacking limits and orientation rules. It is based on an open-source 3D bin-packing script that follows the strategy of Dube and Kanavathy.
  3. Show the plan. An interactive 3D animation, written with VPython and rendered with WebGL, shows the loading order in any web browser. It has controls for viewpoint, speed, pause and play, and next and previous item.

We separated truck assignment from placement so the planner could first decide what travels together, then work out how those products fit. At the dock, a loader can stop the animation on the next item and turn the view to see where it goes and which way up.

Browser window showing a 3D truck outline with yellow boxes stacked at the front
Fig. 2One truck part-way through loading. The controls for stepping through items are under the view.
3D view of a transparent truck body filled with a block of blue cartons
Fig. 3A truck filled with identical cartons.

We also proposed a Green Score for packaging materials: the average of a material's carbon footprint and its cost per tonne, so that a planner can compare packaging choices on one number.

3Result

PackMax placed second nationally at Ideate, IIT Bombay Techfest, in January 2022. In the same competition the team's E-Metric entry placed second in the Electrifying Transportation track.