Hierarchical Contextual Thompson Sampling ALNS for the Multi-Port Container Stowage Planning Problem

Container stowage planning assigns each container a slot on a vessel. Top-only stack access and hatch covers force later-port containers into non-productive restows that lengthen port stay, while stability and crane workload conflict. We study the multi-port problem with load-layer precedence, which makes overstowage partly unavoidable. A compact type-aggregated mixed-integer linear model counts port-wise restow requirements exactly, including hatch requirements, and linearises stability moments and crane imbalance. Because a stack and a hatch requirement at the same port can be served by one temporary removal, this count is a conservative upper bound on physical moves. For realistic instances, we propose an adaptive large neighbourhood search (ALNS) governed by a hierarchical contextual Thompson-sampling bandit (HCTS–ALNS): destroy–repair operator pairs are selected with contextual posteriors shrunk towards a global posterior, and tempered sampling preserves exploration. On a new 30-instance benchmark covering five vessel classes, HCTS–ALNS is compared under identical CPU-time budgets with an exact constraint-programming solver, greedy randomised adaptive search, a genetic algorithm, simulated annealing and a canonical ALNS. It attains 32.02 equivalent restows, 1.9% below canonical ALNS and 18.5–40.4% below the three classical heuristics; these two differences are confirmed by paired Wilcoxon signed-rank tests, and exact solutions validate the model on small instances. In a controlled comparison that fixes the operator portfolio, initialisation, local search and time budget, however, a classical roulette-wheel controller attains a lower mean objective than the proposed controller, and the paired difference is not statistically significant; superiority of the hierarchical contextual controller is, therefore, not claimed. The ablation identifies arm-space dilution as the main limitation under short budgets, and hatch requirements account for roughly three quarters of all restow requirements.

Authors

Institutions

Publication Details

Journal
Algorithms
Published
2026-12-03
DOI
https://doi.org/10.3390/a19121071
Primary Topic
Maritime Ports and Logistics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Hierarchical Contextual Thompson Sampling ALNS for the Multi-Port Container Stowage Planning Problem

Jiao Mo, Liang Zhao, Xiao Yang
Algorithms
Maritime Ports and Logistics
article

Hierarchical Contextual Thompson Sampling ALNS for the Multi-Port Container Stowage Planning Problem

Jiao Mo, Liang Zhao, Xiao Yang
article en

Abstract

Container stowage planning assigns each container a slot on a vessel. Top-only stack access and hatch covers force later-port containers into non-productive restows that lengthen port stay, while stability and crane workload conflict. We study the multi-port problem with load-layer precedence, which makes overstowage partly unavoidable. A compact type-aggregated mixed-integer linear model counts port-wise restow requirements exactly, including hatch requirements, and linearises stability moments and crane imbalance. Because a stack and a hatch requirement at the same port can be served by one temporary removal, this count is a conservative upper bound on physical moves. For realistic instances, we propose an adaptive large neighbourhood search (ALNS) governed by a hierarchical contextual Thompson-sampling bandit (HCTS–ALNS): destroy–repair operator pairs are selected with contextual posteriors shrunk towards a global posterior, and tempered sampling preserves exploration. On a new 30-instance benchmark covering five vessel classes, HCTS–ALNS is compared under identical CPU-time budgets with an exact constraint-programming solver, greedy randomised adaptive search, a genetic algorithm, simulated annealing and a canonical ALNS. It attains 32.02 equivalent restows, 1.9% below canonical ALNS and 18.5–40.4% below the three classical heuristics; these two differences are confirmed by paired Wilcoxon signed-rank tests, and exact solutions validate the model on small instances. In a controlled comparison that fixes the operator portfolio, initialisation, local search and time budget, however, a classical roulette-wheel controller attains a lower mean objective than the proposed controller, and the paired difference is not statistically significant; superiority of the hierarchical contextual controller is, therefore, not claimed. The ablation identifies arm-space dilution as the main limitation under short budgets, and hatch requirements account for roughly three quarters of all restow requirements.

AlgorithmsVol. 19(12)
Ningbo University (CN), Ningbo University of Technology (CN), Zhejiang University (CN)
Maritime Ports and Logistics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon