Not completely out...
In post #4 you state that the problem is not TSP, as there can't be predefined routes in TSP. Well, that is simply not true. The predefined routes are one out of many objectives in the TSP. All points in the frame is city's. The visible paths are just predefined routes. All visible midpoints can be optimized away before applying a TSP solution. Leaving you with to endpoints which still is two different city's.
It was not my intention to be rude or insulting. I hope that my posts was not received that way.
The thread just got my blood pumping, as this is a field that I have spend much time on and actually knows something about. That's way I got a bit offended by arguments against something that was not fully understood. You have both made your own solution to the TSP
And my advise to you was given with all the best intentions. If your optimization algo really is only based on distance, then you can improve it a lot with very little effort. A hint is to give distance penalties to speed or directional changes on the galvo. (read. Not vectors)