I have constructed this problem myself and wanted to solve this problem myself as well, however cannot come across and efficient solution to this problem.
A group of soldiers are injured in a difficult mountainous terrain. Each soldier has a device which has GPS tracker to locate him upon any emergency and a functionality to send a distress signal at times of emergency. Upon reciept of a distress signal, the command center dispatches another soldier who comes across one of the injured soldiers. Upon recovering the injured soldier, the two uninjured soldiers decide to help other (injured) soldiers so that they can similarly help in recovering the remaining injured soldiers. The mountains are guarded by miltia and need to be avoided, and their bases are expressed as polygons.
Given: Coordinates of every injured soldier, Coordinates of polygon representing the base of moutains.
Required: Optimal solution to find optimized path until all injured soldiers are recovered.