Package jsprit.core.problem.io

Examples of jsprit.core.problem.io.VrpXMLWriter$XMLConf


    /*
     * 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


    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

    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

    /*
     * 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

  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

    /*
     * 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

    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

        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

    /*
     * 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

    /*
     * 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

Related Classes of jsprit.core.problem.io.VrpXMLWriter$XMLConf

Copyright © 2018 www.massapicom. 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.