In container terminal, the container trucks should go by a “quay crane - container trucks -import and export block” routing, and the optimization of this routing has become the focus of this paper.