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

Bug in RouterTSPWrapper #280

@FelixPetzold

Description

@FelixPetzold

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions