Minimum distance using genetic algorithmHello everyone
I'm Danya Karimi
I have a question: I want to write a Matlab code that finds the shortest path between a start point (a) and a destination point (b) using genetic algorithm (GA). Suppose that we have 6 points (a,1, 2, 3, 4, b) and the objective is to travel from point a to point b without the need to visit all the points (just traveling in a short path from a to b and in other words, minimizing the cost function using GA). How can I write a Matlab code to reach the mentioned objective?
I will be so thankful for any help.