Sea transport holds the first place in the total number of freight shipments of international transportation. Rail transport takes more than 87% of domestic freight traffic and is increasing annually. In particular, Russian Railways deals with scheduling in international multimodal transport. Sea port-railway transshipment points have a key role in the realization of such transportation. This paper considers the complex problem of unloading the arriving vessels and the formation of trains with the objective function of minimizing the total weighted delivery time of cargo to the destination point and minimizing the cost of forming trains. Two models (binary and integer) were developed and compared. The comparison was provided on pseudo real data which corresponds to Far-East Railway with numbers of vessels and berths comparable with presented in literature. The models were run using Gurobi optimizer.