mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
test and modify ruin strategies to deal with initial routes
This commit is contained in:
parent
62e12d5153
commit
2b87155879
10 changed files with 192 additions and 29 deletions
|
|
@ -76,6 +76,9 @@ public class MultipleDepotWithInitialRoutesExample {
|
|||
/*
|
||||
* solve the problem
|
||||
*/
|
||||
// VehicleRoutingAlgorithm vra = Jsprit.Builder.newInstance(vrp)
|
||||
// .setProperty(Jsprit.Parameter.ITERATIONS,"10000").buildAlgorithm();
|
||||
|
||||
VehicleRoutingAlgorithm vra = VehicleRoutingAlgorithms.readAndCreateAlgorithm(vrp, "input/algorithmConfig_noVehicleSwitch.xml");
|
||||
Collection<VehicleRoutingProblemSolution> solutions = vra.searchSolutions();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue