Dynamic shortest path in stochastic dynamic networks: Ship routing problem