mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
improve log in core.algorithm.VehicleRoutingAlgorithm
This commit is contained in:
parent
db12002777
commit
5a939e1252
1 changed files with 1 additions and 2 deletions
|
|
@ -207,9 +207,8 @@ public class VehicleRoutingAlgorithm {
|
|||
DiscoveredSolution discoveredSolution = strategy.run(problem, solutions);
|
||||
memorizeIfBestEver(discoveredSolution);
|
||||
selectedStrategy(strategy.getName(),problem, solutions);
|
||||
// if(prematureAlgorithmTermination.isPrematureBreak(discoveredSolution)){
|
||||
if(terminationManager.isPrematureBreak(discoveredSolution)){
|
||||
logger.info("premature break at iteration "+ (i+1));
|
||||
logger.info("premature algorithm termination at iteration "+ (i+1));
|
||||
noIterationsThisAlgoIsRunning = (i+1);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue