Due to over-supply of capacity and imbalance trades between areas, carriers encounter increasing costs and operational difficulties. Since it is less likely to increase the revenue in the given market, how to efficiently utilize the available slots and decrease operating costs have become the challenges of carriers. The goal of this study is to establish a slot allocation and empty containers reposition model to maximize the carrier’s profit. Factors considered in the model include the lifting of full containers, the routing of full containers, sources of container supply, empty container reposition, etc. To evaluate the performance of the proposed approach. Five performance indicators regarding the operations of a containership are used, including container safety stock, Customer demand satisfaction, Container idle time, Proportion of space and container supply and Vessel Space utilization rate.