The invention discloses an improved
genetic algorithm-based travel
itinerary planning method. The method comprises the following steps of firstly performing arrangement according to a sequence of visited cities to form codes; secondly initializing a
population by adopting a two-way
greedy selection policy; calculating a fitness value of each individual in the
population; by adopting roulette wheel selection, selecting the individuals with high fitness from the old
population to a
new population; performing
crossover operation according to an adaptive
crossover probability Pci, and selecting multiple parents to perform
pairing to generate new individuals; performing
mutation operation according to an
adaptive mutation probability Pmi, and determining
mutant individuals; and finally judging whether a predetermined stop condition is met or not, and if yes, stopping
heredity and obtaining an optimal solution, otherwise, calculating the fitness value of each individual in the population. According to the method, a travel itinerary
route is planned for users by adopting an improved greedy adaptive
genetic algorithm based on a travel
itinerary planning model; and through the method, the
itinerary planning speed is increased and the
algorithm is prevented from falling into local optimal solution.