Update tsp.cc vrp.cc

This commit is contained in:
Corentin Le Molgat
2018-10-11 17:50:49 +02:00
parent 143eb3b967
commit 3d1eafaa80
2 changed files with 6 additions and 0 deletions

View File

@@ -106,6 +106,9 @@ namespace operations_research {
}
LOG(INFO) << route.str() << routing.IndexToNode(index).value();
LOG(INFO) << "Distance of the route: " << distance << "m";
LOG(INFO) << "";
LOG(INFO) << "Advanced usage:";
LOG(INFO) << "Problem solved in " << routing.solver()->wall_time() << "ms";
}
void Solve() {

View File

@@ -125,6 +125,9 @@ namespace operations_research {
LOG(INFO) << route.str() << routing.IndexToNode(index).value();
LOG(INFO) << "Distance of the route: " << distance << "m";
}
LOG(INFO) << "";
LOG(INFO) << "Advanced usage:";
LOG(INFO) << "Problem solved in " << routing.solver()->wall_time() << "ms";
}
void Solve() {