Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

Bug in RouterTSPWrapper #280

Open
FelixPetzold opened this issue Apr 15, 2016 · 0 comments
Open

Bug in RouterTSPWrapper #280

FelixPetzold opened this issue Apr 15, 2016 · 0 comments

Comments

@FelixPetzold
Copy link

FelixPetzold commented Apr 15, 2016

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);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant