i have n points on a 2d plane, with n <= 12, and i need the distance of the shortest path available including all points, starting on any of them, but not making a closed circuit
i've been trying floyd-marshal, travel salesman problem and other algorithms without success.
the problem is considered EASY for my teacher so i don't think it would require arora approximations or so, but i dont know whats the best approach to solve this, but maybe some dynamic algorithm and something like
for i = 0 to n
for j = 0 to n
if path_distance(i,j) < mininum
set minimum
any help?