Examples of VrpXMLWriter


Examples of jsprit.core.problem.io.VrpXMLWriter

    /*
     * get the best
     */
    VehicleRoutingProblemSolution bestSolution = Solutions.bestOf(solutions);
   
    new VrpXMLWriter(problem, solutions).write("output/problem-with-solution.xml");
   
    SolutionPrinter.print(problem, bestSolution, SolutionPrinter.Print.VERBOSE);
   
    /*
     * plot
 
View Full Code Here

Examples of jsprit.core.problem.io.VrpXMLWriter

    vra.setPrematureAlgorithmTermination(new IterationWithoutImprovementTermination(100));
    Collection<VehicleRoutingProblemSolution> solutions = vra.searchSolutions();
   
    SolutionPrinter.print(Solutions.bestOf(solutions));
   
    new VrpXMLWriter(vrp, solutions).write("output/refuseCollectionExampleSolution.xml");
   
  }
View Full Code Here

Examples of jsprit.core.problem.io.VrpXMLWriter

    VehicleRoutingProblemSolution bestSolution = Solutions.bestOf(solutions);
   
    /*
     * write out problem and solution to xml-file
     */
    new VrpXMLWriter(problem, solutions).write("output/shipment-problem-with-solution.xml");
   
    /*
     * print nRoutes and totalCosts of bestSolution
     */
    SolutionPrinter.print(bestSolution);
 
View Full Code Here

Examples of jsprit.core.problem.io.VrpXMLWriter

    /*
     * get the best
     */
    VehicleRoutingProblemSolution bestSolution = Solutions.bestOf(solutions);
   
    new VrpXMLWriter(problem, solutions).write("output/problem-with-solution.xml");
   
    SolutionPrinter.print(problem, bestSolution, SolutionPrinter.Print.VERBOSE);
   
    /*
     * plot
 
View Full Code Here

Examples of jsprit.core.problem.io.VrpXMLWriter

  public static void main(String[] args) {
    VehicleRoutingProblem.Builder vrpBuilder = VehicleRoutingProblem.Builder.newInstance();
    VrphGoldenReader goldenReader = new VrphGoldenReader(vrpBuilder, VrphType.FSMD);
    goldenReader.read("instances/vrph/orig/cn_13mix.txt");
    VehicleRoutingProblem vrp = vrpBuilder.build();
    new VrpXMLWriter(vrp).write("instances/vrph/cn_13mix_VRPH_INFINITE.xml");
  }
View Full Code Here

Examples of jsprit.core.problem.io.VrpXMLWriter

    /*
     * get the best
     */
    VehicleRoutingProblemSolution bestSolution = Solutions.bestOf(solutions);
   
    new VrpXMLWriter(problem, solutions).write("output/problem-with-solution.xml");
   
    SolutionPrinter.print(bestSolution);
   
    /*
     * plot
 
View Full Code Here

Examples of jsprit.core.problem.io.VrpXMLWriter

    VehicleRoutingProblemSolution bestSolution = Solutions.bestOf(solutions);
   
    /*
     * write out problem and solution to xml-file
     */
    new VrpXMLWriter(problem, solutions).write("output/shipment-problem-with-solution.xml");
   
    /*
     * print nRoutes and totalCosts of bestSolution
     */
    SolutionPrinter.print(bestSolution);
 
View Full Code Here

Examples of jsprit.core.problem.io.VrpXMLWriter

        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");
    }
View Full Code Here

Examples of jsprit.core.problem.io.VrpXMLWriter

    /*
     * get the best
     */
    VehicleRoutingProblemSolution bestSolution = Solutions.bestOf(solutions);
   
    new VrpXMLWriter(problem, solutions).write("output/mixed-shipments-services-problem-with-solution.xml");
   
    SolutionPrinter.print(bestSolution);
   
    /*
     * plot
 
View Full Code Here

Examples of jsprit.core.problem.io.VrpXMLWriter

    /*
     * get the best
     */
    VehicleRoutingProblemSolution bestSolution = Solutions.bestOf(solutions);
   
    new VrpXMLWriter(problem, solutions).write("output/problem-with-solution.xml");
   
    SolutionPrinter.print(bestSolution);
   
    /*
     * plot
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.