1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

remove logs

This commit is contained in:
Kandel Irina 2018-03-13 16:04:22 +02:00
parent 4da11a6c80
commit 426ec89b82

View file

@ -225,7 +225,7 @@ public class VehicleRoutingAlgorithm {
logger.info("algorithmStarts func call");
algorithmStarts(problem, solutions);
bestEver = Solutions.bestOf(solutions);
logger.info("algorithmStarts func call finished successfully best till now cost: {}, routes: {}, unassigned: {}", bestEver.getCost(), bestEver.getRoutes().size(), bestEver.getUnassignedJobs().size());
logger.info("algorithm iterations start");
if (logger.isTraceEnabled()) {
log(solutions);
}
@ -234,15 +234,7 @@ public class VehicleRoutingAlgorithm {
logger.debug("start iteration: {}", i);
counter.incCounter();
SearchStrategy strategy = searchStrategyManager.getRandomStrategy();
if (i % 10 == 0) {
logger.info("selected strategy {}", strategy.getName());
}
DiscoveredSolution discoveredSolution = strategy.run(problem, solutions);
if (i % 10 == 0) {
logger.info("discoveredSolution: cost: {}, routes: {}, unassigned: {}", discoveredSolution.getSolution().getCost(), discoveredSolution.getSolution().getRoutes().size(), discoveredSolution.getSolution().getUnassignedJobs().size());
}
if (logger.isTraceEnabled()) {
log(discoveredSolution);
}