public void SolveProblemTest17D() { string testData = System.IO.File.ReadAllText(@"DVRPTestData\okul17D.vrp"); byte[] problemData = CommunicationModule.ConvertStringToData(testData); TaskSolverDVRP taskSolver = new TaskSolverDVRP(problemData); byte[][] division = taskSolver.DivideProblem(6); byte[][] solutions = new byte[6][]; for (int i = 0; i <= 6; i++) { int[][] partialData = DVRPHelper.ParsePartialProblemData(division[i]); solutions[i] = taskSolver.Solve(division[i], new TimeSpan()); } taskSolver.MergeSolution(solutions); DVRPPartialSolution finalSol = DVRPPartialSolution.Parse2FinalSol(CommunicationModule.ConvertDataToString(taskSolver.Solution, taskSolver.Solution.Length), taskSolver.Dvrp); Assert.IsTrue(Math.Abs(finalSol.pathLen - 1089) < 1); }