1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

modify classes such than they can cope with pickup and deliveries

This commit is contained in:
Stefan Schroeder 2013-09-02 17:21:51 +02:00
parent 0806d524e6
commit 26219aa3a1
10 changed files with 283 additions and 123 deletions

View file

@ -201,7 +201,7 @@ public class RefuseCollectionExample {
VehicleRoutingProblem vrp = vrpBuilder.build();
VehicleRoutingAlgorithm vra = new GreedySchrimpfFactory().createAlgorithm(vrp);
vra.setPrematureBreak(10);
vra.setPrematureBreak(100);
Collection<VehicleRoutingProblemSolution> solutions = vra.searchSolutions();
SolutionPrinter.print(Solutions.getBest(solutions),Print.VERBOSE);