Integrated problem of ship route planning