The Art of Stackingby Martin Aronsson and Per Kreuger Software that optimizes stacking of container ports has the potential to significantly improve transhipment efficiency. We have investigated this problem and present some exciting new approaches to solving it. Large container ports around the world are major hubs in the global cargo transport system. Efficient management of resources in and around a port is essential since investments in port facilities, vessels and support systems are substantial. SICS has performed a pilot study to investigate how the efficiency of port operations could be improved. The chosen focus was on the container stacks. SICS developed a general model for the handling of the stacks as stores, a simple demonstration that uses and compares two implementations with different properties. ![]() Figure 1: Stack cranes are tight resources in the port. A container stack is a type of temporary store where containers await further transport by truck, train or vessel. The main efficiency problem for an individual stack is to ensure easy access to containers at the expected time of transfer. Since stacks are 'lastin, lastout', and the cranes used to relocate containers within the stack are heavily used, the stacks must be maintained in a state that minimizes on-demand relocations. Stacking Problem Requirements and Objective Maximizing the efficiency of this process leads to several requirements. First, each incoming container should be allocated a place in the stack which should be free and supported at the time of arrival. Second, each outgoing container should be easily accessible, and preferably close to its unloading position, at the time of its departure. In addition, the stability of the stack puts certain limits on, for example, differences in heights in adjacent areas, the placement of empty and 'half' containers and so on. The objective of this work is therefore to plan the movement of the cranes so as to fulfil these requirements with a minimum number of movements and/or a minimal waiting time for vehicles and vessels. Methods for Batch Relocation of Containers The following two sections describe two models developed in the pilot study. The first is a constraint programming (CP) model that characterizes the desirable properties of a solution to the relocation problem; the second is a heuristic where the properties of desirable states are instead captured by a more sophisticated cost function than that used in the CP model. The Constraint Model
![]() Figure 2: A scheme of a port, where large cranes load and offload cargo from the vessels, unmanned vehicles transport the individual containers between stacks and vessels, and stack cranes are used to load the containers both onto the stacks and from the stacks onto trucks. With the addition of a simple cost function, priority can be given to moves that tend to take the containers towards the 'right' area of the stack, clear an area where we expect incoming containers, and/or are quick or 'cheap' to perform. Local Search Let the penalty of a single pile be a weighted sum of its 'unsortedness', the distance of each container in the pile from its ideal x,y-position in the stack and, finally, the distance in its z-position from its ideal z-position. Then, in each iteration:
The method is quite sensitive to the exact weights assigned to each factor in the penalty function and, especially for stack configurations with close to full allocation, can easily get stuck in local minima. Results Since the allocation of positions to containers is currently done more or less manually, this has convinced us that it should be possible to achieve significant improvements of lead times, storage utilisation and throughput using improved techniques of the type indicated. Even though the pilot study was based on rather simplistic models, which didn't take into account factors such as stack stability or container content, we are confident that improving the management of the container stacks in a more realistic setting would also yield significant improvements in several of the most important measures of transhipment efficiency. Link: Please contact: |










