This paper deals with the train load planning problem arising in seaport terminals. In particular, the train load planning problem in case of two cranes is studied, corresponding to the optimal assignment of containers to the wagons on which they are loaded and to the cranes which perform the loading operations. This optimal assignment is realized by considering the simultaneous optimization of…