It is necessary to ensure the ship's stability in container ship stowage and loading and unloading containers. This work aims to reduce the container dumping operation at the midway port and improve the efficiency of ship transportation. Firstly, the constraint problem of the traditional container ship stacking is introduced to realize the multi-condition mathematical model of the container ship, container, and wharf. Secondly, a Hybrid Genetic and Simulated Annealing Algorithm (HGSAA) model is proposed for the container stacking and loading stacking in the yard. The specific container space allocation and multi-yard crane adjustment scheme are studied. Finally, the effectiveness of the multi-condition container ship stowage model is verified by numerical experiments by changing the number of outbound containers, storage strategies, storage yards, and bridges. The experimental results show that the HGSAA mode converges to 106.1min at the 751st iteration. Of these, the nonloading and unloading time of yard bridge 1 is 3.43min. The number of operating boxes is 25. The non-loading and unloading time of yard bridge 2 is 3.2min, and the operating box volume is 25 boxes. The objective function of the genetic algorithm converges when it iterates to generation 903 and 107.9min. Among them, the non-loading and unloading time of yard bridge 1 is 4.1min. The non-loading and unloading time of yard bridge 2 is 3.1min. Therefore, the proposed HGSAA has a faster convergence speed than the genetic algorithm and can obtain relatively good results. The proposed container stacking strategy can effectively solve the specific container allocation and multi-yard crane scheduling problems. The finding provides a reference for optimizing container scheduling and improving shipping transportation efficiency.
ASJC Scopus subject areas