matsim-vsp / freight-dfg17

GNU General Public License v2.0
0 stars 1 forks source link

jsprit should allow multiple tours of same vehicle #2

Open kainagel opened 6 years ago

kainagel commented 6 years ago

Idea:

oblonski commented 6 years ago

Tilman called me with regard to this. This is already possible when using shipments. It then works as described here: https://www.graphhopper.com/blog/2016/07/21/how-to-model-multiple-delivery-routes-with-a-single-vehicle/ However, solving the underlying problem with shipments takes much longer. Here I have been working on a solution that improves this. I can let you know once you can use it.

kt86 commented 6 years ago

Using jsprit "shipments" is an option, but then the algo can no longer do multidepot search. The reason presumably is how the algorithm internally works:

KMT suggests allowing additional tours without fixed costs, and departure times after the arrival from the previous tour. @oblonski , via telephone, instead has the intuition to rather try it as the same tour.

@kt86 and @kainagel will look into the jsprit code, @oblonski will comment.

JWJoubert commented 6 years ago

@kt86 English please.

oblonski commented 6 years ago

https://github.com/graphhopper/jsprit/issues/435

kainagel commented 5 years ago

As a fix are currently doing the following:

  1. run multi-depot version with services to assign depot to each service
  2. afterwards convert services to shipments, and run single-depot version with shipments. Slow with more than approx. 200 shipments per carrier (multiple days runtime).