Crossover operation in genetic algorithm for TSP

前端 未结 7 911
夕颜
夕颜 2020-12-15 09:18

I\'m trying to solve the Travelling Salesman Problem (TSP) with Genetic algorithm. My genome is a permutation of a vertex in graph (path for salesman).

How should

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 09:56

    When I was on the first course in my university, I was doing some calculations (which took about 30 pages) about the impact of various GA operators on the convergence of solution. As I remember, crossover is not the best solution for TSP, more suitable solution is mutation, which is inverting of sub-sequence of the vertexes.

    example:

    before: ABCDEFGH

    after: AFEDCBGH

提交回复
热议问题