Category: Design Patterns

Applying the 2-opt algorithm to travelling salesman problems in C# / WPF

For the Java equivalent see this link:https://www.technical-recipes.com/2017/applying-the-2-opt-algorithm-to-traveling-salesman-problems-in-java/For the C++ equivalent see this link:https://www.technical-recipes.com/2012/applying-c-implementations-of-2-opt-to-travelling-salesman-problems/This post demonstrates how to apply the 2-opt algorithm to a number of standard test problems in C# …