Analysis of the optimization of berth allocation