Can anyone provide assistance to the problem I'm facing? I'm working on implementing a delivery system algorithm. I have attempted to solve it using a graph, where addresses are represented as nodes and the distance between nodes as the weight of the edges. One approach I'm currently exploring involves adapting the Traveling Salesman Problem using Christofides' algorithm(https://www.youtube.com/watch?v=dNCwtFJLsKI&t=211s), which utilizes a Minimum Spanning Tree and Eulerian Cycle algorithm. However, this approach is not accurate enough for my needs. The TSP finds the Shortest Hamiltonian Cycle, whereas I only require the Shortest Hamiltonian Path.
I have come across suggestions to introduce a "dummy" node with a weight of zero, but this causes my approximation algorithm to lose context, resulting in paths that are far from optimal.
Has anyone encountered a similar problem and can provide assistance?
Example of paths. keep in mind that this algorithm creates the shortest paths for 4 different routes