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);`
Class
RouterTSPWrapper-> MethodeCalculateTSP(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);