Skip to content

Save single tours in same form as TSP_LIB - #29

Open
supersimple33 wants to merge 1 commit into
rhgrant10:masterfrom
supersimple33:patch-2
Open

supersimple33 wants to merge 1 commit into
rhgrant10:masterfrom
supersimple33:patch-2

Conversation

@supersimple33

Copy link
Copy Markdown

This is a small nit but in the optimal tours from ALL_tsp they do not add the extra -1 if there is just one tour in the file. This will bring TSPLIB95s tour saving style in line with that of the original project.

@supersimple33 supersimple33 changed the title Save tours in same form as TSP_LIB Save single tours in same form as TSP_LIB Jan 9, 2024
@supersimple33

Copy link
Copy Markdown
Author

@rhgrant10

@George-Ogden

Copy link
Copy Markdown

This still causes errors when saving and then loading the same problem, but will work when #22 is merged.

@supersimple33

Copy link
Copy Markdown
Author

@rhgrant10

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

Successfully merging this pull request may close these issues.

2 participants