From 601f485b322373f7fa3c32eaaadfa40a91a332ec Mon Sep 17 00:00:00 2001 From: oblonski <4sschroeder@gmail.com> Date: Wed, 23 Apr 2014 14:14:27 +0200 Subject: [PATCH] added test/resource/finiteVrpWithInitialSolutionForWriterTest.xml to test core.problem.io.VrpXMLWriter.java to write initialRoutes correctly --- ...iteVrpWithInitialSolutionForWriterTest.xml | 244 ++++++++++++++++++ 1 file changed, 244 insertions(+) create mode 100644 jsprit-core/src/test/resources/finiteVrpWithInitialSolutionForWriterTest.xml diff --git a/jsprit-core/src/test/resources/finiteVrpWithInitialSolutionForWriterTest.xml b/jsprit-core/src/test/resources/finiteVrpWithInitialSolutionForWriterTest.xml new file mode 100644 index 00000000..08f49d79 --- /dev/null +++ b/jsprit-core/src/test/resources/finiteVrpWithInitialSolutionForWriterTest.xml @@ -0,0 +1,244 @@ + + + + FINITE + HETEROGENEOUS + + + + v2 + vehType2 + + depotLoc + + + + depotLoc + + + + 0.0 + 1000.0 + + false + + + v4 + vehType2 + + startLoc + + + + endLoc + + + + 0.0 + 1000.0 + + true + + + v1 + vehType + + depotLoc2 + + + + depotLoc2 + + + + 0.0 + 1000.0 + + true + + + v5 + vehType3 + + startLoc + + + + endLoc + + + + 0.0 + 1000.0 + + true + + + v3 + vehType2 + + startLoc + + + + endLoc + + + + 0.0 + 1000.0 + + true + + + + + vehType + + 20 + + + 0.0 + 0.0 + + + + + vehType2 + + 200 + + + 0.0 + 0.0 + + + + + vehType3 + + 100 + 1000 + 10000 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 100000 + + + 0.0 + 0.0 + + + + + + + i(3,9) + + + 1 + + 0.0 + + + 0.0 + 4000.0 + + + + + j(1,5) + + + 1 + + 10.0 + + + 0.0 + 4000.0 + + + + + + + + i(3,9) + + 10.0 + + + 1000.0 + 4000.0 + + + + + i(9,9) + + 100.0 + + + 6000.0 + 10000.0 + + + + + 10 + + + + + [x=10.0][y=10.0] + + 0.0 + + + 1000.0 + 4000.0 + + + + + [x=10.0][y=0.0] + + 100.0 + + + 6000.0 + 10000.0 + + + + + 10 + + + + + + noDriver + v1 + 10.0 + + 4 + 0.0 + 0.0 + + + 4 + 0.0 + 0.0 + + 0.0 + + +