ui icon indicating copy to clipboard operation
ui copied to clipboard

Bug in RouterTSPWrapper

Open FelixPetzold opened this issue 9 years ago • 0 comments

Class RouterTSPWrapper -> Methode CalculateTSP(Vehicle vehicle, RouterPoint[] points, int first, int last)

The bug is located in line 126. You forgot to pass first and last to the RouterTSP.

Original: IRoute tspSolution = _routerTSP.CalculateTSP(weights, locations);

Should be: IRoute tspSolution = _routerTSP.CalculateTSP(weights, locations, first, last);

FelixPetzold avatar Apr 15 '16 10:04 FelixPetzold