Purpose: This study develops a mixed-integer linear programming (MILP) model for the container stacking problem in modern seaport container terminals by explicitly incorporating functionally zoned yard blocks, container-type compatibility requirements, heterogeneous block capacities, and special handling constraints for refrigerated (reefer) and out-of-gauge (OOG) containers. Methodology: MILP optimization framework reflecting realistic yard zoning policies and operational storage rules is developed and applied to a case study of Lekki Freeport Terminal (LFT), Using simulated datasets calibrated to the terminal’s operational characteristics, the model is implemented in Python and solved using an integer programming solver for problem instances containing 80, 150, and 220 containers. Findings: All problem instances were solved to optimality, with objective values increasing from 94.60 to 261.75 as container volumes increased, indicating the effects of congestion and reduced allocation flexibility under higher yard utilization levels. Comparative analysis showed that functional yard zoning reduced handling costs by between 8.3% and 12.5% relative to unzoned storage configurations, while the incorporation of reefer and OOG handling requirements increased costs by approximately 8.5%. Sensitivity analysis further revealed that increasing the proportion of 40-ft containers increased handling costs by between 2.7% and 3.1%. Originality: This study contributes to the operations research and container terminal optimization literature by providing one of the first MILP-based container stacking models that simultaneously integrates functional yard zoning, container-type compatibility requirements, heterogeneous block capacities, and specialized handling constraints for both reefer and OOG containers within a unified optimization framework. The proposed framework explicitly captures the operational complexities of modern automated deep-sea container terminals and demonstrates its applicability through a real-world case study of Lekki Freeport Terminal.
Copyrights © 2026