The problem is this:
I have a graph G=(V,E). a subgroup of vertices U<=V, and a start vertex s. weight function w for the edges.
I need to find the shortest path from 's' that passes through all vertices in U.
- The calculation can be approximated, there should be some balance between calculation time and path length. I need a fast algorithm/heuristic that will produce a fine approximation for the shortest path.
- This algorithm shouldn't be too complicated to implement (in C++). for example, I have already thought of a way to make this into a Traveling Salesman Problem, and to use a TSP solver library or something that uses some kind of heuristic, but couldn't find any, and implementing the heuristic myself will be too hard.
Thanks advanced! =]