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

Check if the depot in endnode_to_route in savings could be initialized to None #1

Open
yorak opened this issue Mar 7, 2020 · 0 comments

Comments

@yorak
Copy link
Owner

yorak commented Mar 7, 2020

For example, for a solution [0, 1, 2, 3, 0, 4, 5, 6, 7, 0] the corresponding endnode_to_route values would be [X, 0, None, 0, X, 1, None, None, 1, X]. Currenlty, the depot is assigned to the route 0 in endnode_to_route, but with a cursory glance, it would probably also be assigned to None (to indicate this, I've used X in the example), which would make the use of None in the code more consistent.

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

No branches or pull requests

1 participant