Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor TSP construction #88

Closed
jcoupey opened this issue Mar 8, 2018 · 1 comment
Closed

Refactor TSP construction #88

jcoupey opened this issue Mar 8, 2018 · 1 comment
Assignees
Milestone

Comments

@jcoupey
Copy link
Collaborator

jcoupey commented Mar 8, 2018

To define a tsp, we're currently passing a vector of indices that relates to rows and columns in input::_matrix. Doing so does not keep track of the respective positions of jobs and vehicle start/end, hence the recent addition of input::_type_with_ids storing that information along with locations. This approach is overly complicated and will break when merging #75 anyway.

Instead it would be much simpler to describe the jobs passed to the tsp ctor from their ranks in input::_jobs.

@jcoupey jcoupey added this to the v1.2.0 milestone Mar 8, 2018
@jcoupey jcoupey self-assigned this Mar 8, 2018
@jcoupey jcoupey mentioned this issue Mar 8, 2018
2 tasks
@jcoupey
Copy link
Collaborator Author

jcoupey commented Mar 8, 2018

Done in #89

@jcoupey jcoupey closed this as completed Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant