BraveDistribution / pytsp

TSP algorithms and graph support utilities
MIT License
13 stars 7 forks source link

2-opt algorithm with / without fixed starting points + implement TESTS! #1

Open BraveDistribution opened 6 years ago

BraveDistribution commented 6 years ago

Description

2-opt algorithm can have fixed and unfixed first and last points. It is actually fixed. Let's change it and give the user option to not have start/end points fixed.