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

mod example

This commit is contained in:
oblonski 2014-07-29 20:16:17 +02:00
parent 3786f8e977
commit a989338b18

View file

@ -8,6 +8,7 @@ import jsprit.core.algorithm.VehicleRoutingAlgorithmBuilder;
import jsprit.core.algorithm.state.StateManager;
import jsprit.core.problem.VehicleRoutingProblem;
import jsprit.core.problem.constraint.ConstraintManager;
import jsprit.core.problem.io.VrpXMLWriter;
import jsprit.core.problem.job.Job;
import jsprit.core.problem.job.Service;
import jsprit.core.problem.solution.VehicleRoutingProblemSolution;
@ -83,5 +84,7 @@ public class SolomonWithSkillsExample {
SolutionPrinter.print(skillProblem, solution, SolutionPrinter.Print.VERBOSE);
new Plotter(skillProblem,solution).plot("output/skill_solution","solomon_with_skills");
new VrpXMLWriter(skillProblem,solutions).write("output/solomon_with_skills");
}
}