A cross-city tourism planning method based on co-evolutionary multi-objective algorithm

Through the difficulty-contribution-based cooperative co-evolution multi-objective algorithm and particle coding scheme, a cross-city tourism route planning model is constructed, which solves the problems of personalized selection and cross-city planning in the existing technology, and realizes efficient and personalized tourism plans. formulated.

CN118521437BActive Publication Date: 2024-09-17NANJING UNIV OF INFORMATION SCI & TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410994205.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-09-17
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

Existing technology cannot effectively personalize the selection of tourist attractions and cross-city tourism planning, and ordinary co-evolutionary algorithms lack flexibility and cannot adjust the coupling between cities, making it difficult to meet actual needs.

Method used

A cooperative co-evolutionary multi-objective algorithm based on difficulty-contribution is used to construct a cross-city tourism route planning model through a particle coding scheme, taking into account user preferences and attraction attributes, dynamically adjusting the computing resources and structure of sub-problems, and optimizing the tourism plan.

Benefits of technology

It achieves high-quality multi-city travel plan planning, with better optimization performance and personalization, and can formulate travel plans in a more refined manner to meet the multiple needs of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118521437B
    Figure CN118521437B
Patent Text Reader

Abstract

The present invention discloses a cross-city tourism planning method based on a co-evolutionary multi-objective algorithm, comprising the following steps: S1, setting cross-city tourism problem parameters according to the selected city, planned time, budget and scenic spot preference; S2, constructing a cross-city tourism route planning model based on the cross-city tourism problem parameters, taking total commuting time, total travel expenses and travel experience score as objective functions; S3, solving the cross-city tourism route planning model using a cooperative co-evolutionary multi-objective algorithm based on difficulty contribution, obtaining the encoding of the travel plan, and obtaining the travel plan after decoding. The plan formulated by the coding scheme and problem modeling adopted by the present invention is more in line with actual needs, and can realize refined travel planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart tourism technology, and in particular to a cross-city tourism planning method based on a collaborative evolutionary multi-objective algorithm. Background Art

[0002] In the prior art, a multi-objective algorithm has been used to maximize the score on the route and minimize the commuting distance. However, because the attributes of the attractions and user preferences are not taken into account, it is not possible to select tourist attractions in a personalized manner, nor is cross-city tourism planning achieved. It is just a variant of the TSP problem (Traveling Salesman Problem). The "A mobile personalized tourist guide and its user evaluation" (A mobilepersonalized tourist guide and its user evaluation [J]. Information Technology & Tourism, Tarantino E, De Falco I, Scafuri U., 2019, 21 (3): 413-455) also discusses the score of attractions, but the algorithm is limited to a single city and cannot solve the large-scale optimization problem of cross-city tourism planning. In addition, the ordinary co-evolution algorithm uses fixed-length sub-problem encoding, which makes the plan inflexible; and it is impossible to adjust the specific travel time of each city. It is only equivalent to the superposition of several city tourism plans without considering the coupling between cities, which is difficult to meet actual needs. Summary of the invention

[0003] Purpose of the invention: The purpose of the present invention is to provide a cross-city tourism planning method based on a collaborative evolutionary multi-objective algorithm, so as to formulate a scientific tourism plan that best meets multiple objectives according to the user's personalized needs in all aspects.

[0004] Technical solution: A cross-city tourism planning method based on a co-evolutionary multi-objective algorithm, comprising the following steps:

[0005] S1, collect tourism data;

[0006] S2, setting the parameters of the inter-city travel problem according to the selected cities, planned time, budget and attraction preferences;

[0007] S3, based on the parameters of the inter-city tourism problem, taking the total commuting time, total travel expenses and travel experience score as the objective function, a cross-city tourism route planning model is constructed;

[0008] S4, adopts the difficulty-contribution based cooperative co-evolutionary multi-objective algorithm to solve the cross-city tourism route planning model, obtains the encoding of the tourism plan, and obtains the tourism plan after decoding.

[0009] Furthermore, the parameters of the inter-city tourism problem include the number of tourist cities, the number of most visited attractions per day, the total number of travel days, travel preferences, and the total budget.

[0010] Further, in step S3, the implementation steps of constructing a cross-city travel route planning model are as follows:

[0011] S31, according to the maximum number of scenic spots M visited per day and the total number of travel days D, the total length of the code is set to D*M; the scenic spot number p inside the code, when p is 0, does not represent any scenic spot, and is only used as an empty scenic spot for filling;

[0012] S32, establishing the objective function;

[0013] S321, calculate total commuting time;

[0014] Consider the commuting time between attractions and hotels, the commuting time between attractions, and the commuting time between cities. Define two attractions , Function of commuting time The expression is as follows:

[0015] in, , , , ; k is the number of travel days; express The commute time to the hotel in the city, Represents two cities , commuting time between Two attractions representing the same city , The commuting time between Indicates the city The set of numbers of all attractions;

[0016] Defining the selection function , used to select the smallest value in set that is greater than num. The mathematical expression is:

[0017] , then the total commuting time The expression is as follows:

[0018] Among them, C represents the total code;

[0019] S322, calculate the total travel expenses;

[0020] The total travel expenses include commuting expenses, attraction tickets, meals and hotel accommodations;

[0021] Define two attractions , Function of commuting distance The expression is as follows:

[0022] ,in, Represents two attractions in the same city , The commuting distance between Representative attractions Commuting distance to hotels in the city, Representative cities , commuting distance between Represents the position of non-zero elements;

[0023] Total travel cost The expression is as follows:

[0024] in, express commuting costs for commuting distance, express Ticket fees for attractions, Indicates the city The cost of hotel accommodation, a represents the average daily food and beverage expenses; K represents the number of cities;

[0025] S323, calculating the score of travel experience;

[0026] The travel experience score includes the rationality of time allocation, the popularity of attractions, and the degree of compliance with traveler preferences;

[0027] Set Collection

[0028] Represents the position set of non-zero elements on day d, time allocation rationality function The definition is as follows:

[0029] in, Indicate attractions Recommended travel duration;

[0030] The heat score of the attraction is defined as follows:

[0031] in, Indicate attractions The heat score of

[0032] The passenger preference compliance function preference_score is defined as follows:

[0033] , then the score of tourism experience is defined as follows:

[0034] in, , , , Respectively represent the user's preference for humanities, nature, shopping and food, with values ​​ranging from 0 to 5; , , , Respectively indicate attractions The scores for culture, nature, shopping and food are on a scale of 0 to 5.

[0035] Further, in step S4, the implementation steps of using the difficulty-contribution based cooperative co-evolutionary multi-objective algorithm to solve the cross-city tourism route planning model are as follows:

[0036] S41, divides sub-problems according to cities, and each sub-problem is allocated a part of the continuous space in the total code;

[0037] S42, the space and computing resources of the sub-problem are dynamically adjusted according to the contribution and difficulty. The implementation steps are as follows:

[0038] S421, the coding length is used to indicate the difficulty of each sub-problem. Difficulty The expression is as follows:

[0039] in, Representing subproblems The encoding length of

[0040] S422, after a round of optimization of all sub-problems, the hypervolume index HV is used to evaluate the quality of the Pareto front of the sub-problem; each dimension of the reference point reference_point selects the maximum value of the corresponding dimension in the Pareto front of all sub-problems, then the sub-problem Contribution The expression is as follows:

[0041] in, Indicates the subproblem when reference_point is selected as the reference point Hypervolume indicators on the Pareto front;

[0042] S423, considering the difficulty and contribution of the problem, sub-problems The expression for allocating computing resources resource is as follows:

[0043] in, is a fixed value, representing the basic computing resources; is a fixed value, representing additional computing resources;

[0044] S424, after each main loop is completed, dynamically adjust the length of the sub-problem in the total code according to the contribution of the sub-problem; increase the code of the particle with the largest contribution by 1 bit, and reduce the code of the sub-problem with the smallest contribution by 1 bit, where q is the minimum code length.

[0045] Furthermore, the relative positions of sub-problems are determined by the shortest path algorithm in graph theory to minimize the commuting time between cities. The NSGA-II algorithm is used to optimize the sub-problems, and the order of the sub-problems remains unchanged during the optimization process.

[0046] Compared with the prior art, the present invention has the following significant effects:

[0047] 1. Introducing the co-evolution algorithm for travel planning and using a particle encoding scheme, compared to other solutions based on the TSP problem model, the particle encoding scheme and the plan formulated by the modeling of the cross-city travel route planning problem adopted by the present invention are more in line with actual needs, and the plan formulated in the test is of higher quality than the previous method. In addition, the current technology is mainly limited to the formulation of a single city travel plan, while the co-evolutionary framework of the present invention can efficiently formulate multiple city travel plans;

[0048] 2. A co-evolutionary framework was designed, and the difficulty-contribution strategy was introduced to dynamically adjust the computational resource allocation and sub-problem structure. In the problem model of tourism planning, compared with the ordinary co-evolutionary algorithm, this method can make travel plans more refined and has better optimization performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a schematic diagram of the framework of the present invention;

[0050] Figure 2 It is a flow chart of the implementation process of the present invention;

[0051] Figure 3 It is a flow chart of the NSGA-II algorithm in the present invention;

[0052] Figure 4It is a flow chart of the program of the present invention. DETAILED DESCRIPTION

[0053] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0054] like Figure 1 As shown, the present invention models the problem of cross-city travel route planning, inputs the travel database, travel preferences and needs into the difficulty-contribution cooperative co-evolutionary multi-objective algorithm, solves the problem of cross-city travel route planning, and finally realizes the automatic formulation of a complete travel plan based on the user's preferences and needs. The specific implementation steps are as follows:

[0055] Step 1, collect tourism data;

[0056] The data that needs to be collected are:

[0057] Commuting data: commuting information between attractions within a city, between attractions and hotels, and between cities, including commuting distance, commuting time, commuting cost, and commuting method.

[0058] Attraction data: including attraction tickets, attraction types, and recommended travel duration.

[0059] Step 2: Set model parameters;

[0060] The parameters and functions in the model are described as follows:

[0061] M: The number of attractions with the most visitors per day

[0062] D: Total number of days of travel

[0063] K: Number of cities

[0064] C: Total code

[0065] : Total code for day i

[0066] : Attractions collection

[0067] : A set of cities. Since the sub-problems are divided according to cities, U is also a set of sub-problems.

[0068] : Representative cities The corresponding sub-problems, S represents the set of sub-problems corresponding to the city

[0069] : Two attractions in the same city , The commute time between

[0070] ;

[0071] : Commuting time to hotels in your city

[0072] :City A collection of all the attractions numbers

[0073] : Two cities , The commute time between

[0074] :In the same city , The distance between two attractions

[0075] : Distance to hotels in the city

[0076] : Ticket fees for attractions

[0077] : Two cities , Commuting distance between

[0078] :Distance() commuting cost for commuting distance

[0079] :City Hotel accommodation costs

[0080] a: Average daily food and beverage expenses

[0081] : Attractions Recommended travel duration

[0082] : Attractions The heat score

[0083] : User preferences (including preferences for humanity, nature, shopping and food)

[0084] : Attractions Attributes corresponding to user preference categories

[0085] : represents the position of non-zero elements in code C

[0086] : Computational resources allocated to subproblems

[0087] : sub-problem encoding length set, Representative sub-problem The encoding length

[0088] : Sub-problem Difficulty Set

[0089] : Sub-problem Collection of contributions

[0090] : Subproblem when reference_point is selected as the reference point Hypervolume index on the Pareto front

[0091] : Fixed value, representing basic computing resources

[0092] : Fixed value, representing additional computing resources

[0093] q: minimum encoding length

[0094] Step 3, establishing a cross-city travel route planning model;

[0095] The mathematical modeling of the cross-city tourism route planning problem mainly includes converting the tourism plan into the particle encoding format required by the co-evolutionary multi-objective algorithm, so that the problem can be solved using the evolutionary computing algorithm. In addition, it is also necessary to establish a tourism plan fitness evaluation system as an evaluation indicator of the quality of the tourism plan.

[0096] Step 31, determine the coding scheme;

[0097] This coding scheme is a fixed-length coding scheme. The daily coding scheme is also a fixed-length coding scheme with a length of M. The total coding length is D*M. The code contains the number p of the scenic spot. In particular, when p is 0, it does not represent any scenic spot and is only used as an empty scenic spot for filling. According to this coding scheme and

[0098] The two attractions span days, and the rest are coded on the same day.

[0099] Step 32, establishing an objective function;

[0100] (1) Objective function 1-total commuting time

[0101] It is used to represent the total commuting time, which needs to take into account the commuting time between attractions and hotels, the commuting time between attractions, and the commuting time between cities. These data are collected in advance and saved in the tourism database. The commuting time in different scenarios is represented in three ways, defining two attractions. , Function of commuting time ( ):

[0102] (1)

[0103] Among them, k is the number of travel days;

[0104] Then define the selection function , used to select the smallest value in set that is greater than num. The mathematical expression is:

[0105] (2)

[0106] The expression of objective function 1 is as follows:

[0107] (3)

[0108] in, : Represents the position of non-zero elements in code C.

[0109] (2) Objective function 2-total travel expenses

[0110] It is used to represent the total cost of travel, including commuting costs, attraction ticket fees, food and beverage fees, and hotel accommodation fees. These data are collected in advance and saved in the tourism database. Define two attractions , Function of commuting distance (

[0111] ):

[0112] (4)

[0113] And set the collection Represents the position of non-zero elements. Finally, the expression of function2 (C) is as follows:

[0114] (5)

[0115] Where a represents the average daily food and beverage expenses.

[0116] (3) Objective function 3 - travel experience score

[0117] The score used to represent the travel experience includes three parts: reasonableness of time allocation (calculated by comparing the time spent at daily attractions with the time spent on commuting), attraction popularity score, and degree of compliance with traveler preferences.

[0118] Define the time allocation rationality score and set the collection

[0119] Represents the position set of non-zero elements on day d, time allocation rationality function The definition is as follows:

[0120] (6)

[0121] Define the attraction heat score. The attraction heat score heat_score is defined as follows:

[0122] (7)

[0123] Define the passenger preference compliance score. The preference compliance function preference_score is defined as follows:

[0124] (8)

[0125] Finally, function3(C) is defined as follows:

[0126] (9)

[0127] in, The value of represents the degree of preference (the larger the value, the higher the preference, the value ranges from 0 to 5). When n=1,2,3,4, Respectively represent the travelers’ preferences for culture, nature, shopping and food; Indicates attractions corresponding to the user's preferred categories Attributes (similar to preferences, with values ​​ranging from 0 to 5, with larger values ​​representing more distinct characteristics of this aspect of the attraction). When n=1,2,3,4, Representing scenic spots Scores in the areas of culture, nature, shopping and food.

[0128] Step 4, solving the cross-city travel route planning model;

[0129] A difficulty-contribution-based cooperative co-evolutionary multi-objective algorithm is used to solve this problem. The specific framework of the difficulty-contribution cooperative co-evolutionary multi-objective algorithm will be introduced in detail below.

[0130] (41) Subproblem decomposition strategy and heuristic adjustment order method

[0131] In the problem of cross-city travel planning, different cities often require different planning strategies due to multiple factors such as user preferences, transportation, and prices, so sub-problems are divided according to cities. Each sub-problem is allocated a portion of the space in the total code. In the subsequent optimization, the space and computing resources of the sub-problem will be dynamically adjusted according to factors such as contribution and difficulty. The relative position between sub-problems is determined by the shortest path algorithm in graph theory, which is used to minimize the commuting time between cities. In the subsequent optimization process, the order of the sub-problems remains unchanged.

[0132] (42) Difficulty-Contribution Assessment Method

[0133] (421) Difficulty Assessment Method

[0134] Since different sub-problems occupy different lengths of the total code, and the code length determines the search space of the problem and the complexity of optimization, the code length is used to represent the difficulty of each sub-problem. The longer the sub-problem code length, the greater the difficulty of the corresponding sub-problem. Difficulty The expression is as follows:

[0135] (10)

[0136] in, Representative sub-problem The encoding length.

[0137] (422) Contribution Assessment Method

[0138] After a round of optimization of all subproblems, the hypervolume index HV is used to evaluate the quality of the subproblem Pareto front. The reference point reference_point selects the maximum value of the corresponding dimension in the Pareto front of all subproblems for each dimension. Contribution The calculation expression is as follows:

[0139] (11)

[0140] in, represents the contribution of subproblem m.

[0141] (43) Dynamic allocation of computing resources

[0142] (431) Allocation strategy

[0143] The allocation of computing resources needs to take into account the difficulty and contribution of the problem. In this task, computing resources represent the total number of particle evaluations when using the NSGA-II algorithm to optimize the subproblem. The expression for allocating computing resources resource is as follows:

[0144] (12)

[0145] in, is a fixed value, representing the basic computing resources; It is a fixed value, representing additional computing resources.

[0146] (432) Advantages

[0147] By dynamically allocating computing resources through the difficulty-contribution strategy, sub-problems that have a greater impact on the overall solution can obtain more computing resources, thereby improving the overall resource utilization efficiency. Compared with the co-evolutionary algorithm that adopts equal resource allocation, this algorithm has a more scientific resource allocation method, so it will converge faster. In complex problems such as tourism planning where sub-problems are coupled with each other and the sub-problems are quite different, dynamic allocation of computing resources is obviously more advantageous. For co-evolutionary algorithms that adopt equal allocation of computing resources and have no dynamic adjustment strategy, these algorithms often waste too many computing resources and have slow computing speeds. Excessive computing time will cause information updates to lag, affecting the quality of results and user experience.

[0148] (44) Dynamic adjustment of sub-problem structure

[0149] (441) Adjustment strategy

[0150] After each main loop is finished, the length of the sub-problem in the total code is dynamically adjusted according to the contribution of the sub-problem. The code of the particle with the largest contribution is increased by 1 bit, and the code length is reduced by 1 bit for the sub-problem with the smallest contribution in q.

[0151] (442) Advantages

[0152] Dynamically adjusting the subproblem structure by the contribution and difficulty of the subproblem can increase the direct synergy of the subproblem. Compared with the co-evolution algorithm with a fixed subproblem structure, this method can make particles with greater potential occupy a larger coding space and optimize the permutation and combination method, so as to make the overall solution of higher quality. In the case of cross-city tourism planning, where the potential and contribution gap of subproblems are large, the method of dynamically adjusting the subproblem structure can solve this problem well, and the final result is more reasonable. In addition, the specific travel time of each city can be adjusted more carefully, and a more personalized and satisfactory travel route can be formulated. Ordinary co-evolution algorithms use fixed-length subproblem encoding, which makes the plan formulation inflexible. In addition, it is impossible to adjust the specific travel time of each city, which is equivalent to the superposition of several city travel plans without considering the coupling between cities, which is difficult to meet actual needs.

[0153] (45) Subproblem optimization method

[0154] The NSGA-II algorithm is used to optimize the subproblem. First, an initial population of size N is randomly generated. After non-dominated sorting, the first generation of offspring population is obtained through the three basic operations of genetic algorithm selection, crossover, and mutation; secondly, starting from the second generation, the parent population and the offspring population are merged to perform fast non-dominated sorting. At the same time, the crowding degree of individuals in each non-dominated layer is calculated, and suitable individuals are selected according to the non-dominated relationship and the crowding degree of the individuals to form a new parent population; finally, a new offspring population is generated through the basic operations of the genetic algorithm: and so on, until the conditions for the end of the program are met. The flowchart of the algorithm is shown in Figure 3 , where gen represents the evolutionary generation.

[0155] (46) Overall process

[0156] like Figure 2 The overall flow chart is shown in the figure. The program flow chart is shown in the figure Figure 4 As shown, where loop represents the number of loops.

[0157] First, the user enters preferences and requirements, such as:

[0158] (A1) Tourist cities: Nanjing, Changzhou, Suzhou;

[0159] (A2) Planned days: 6 days;

[0160] (A3) Budget: 3,000-4,000 yuan;

[0161] (A4) Travel preferences: The preferences for the four aspects of humanities, nature, shopping, and food are 5, 4, 1, and 3 (corresponding to the attributes of the collected attractions, the numbers represent the preference for this type of attraction, and the larger the number, the more preference for this type of attraction);

[0162] (A5) Other needs or preferences.

[0163] Then, these preferences and needs are standardized through the above modeling, and the code of the travel plan is obtained after the algorithm calculation, and the travel plan can be obtained after decoding. For example, the final calculation result is:

[0164] 1,0,4,3,0,8,13,0,0,0(M=5)

[0165] The final plan is to visit three attractions numbered 1, 4, and 3 on the first day, and two attractions numbered 8 and 13 on the second day. The hotels are pre-set prior data. Other attraction details (recommended time, ticket price, attraction attributes and introduction), as well as commuting details (commuting method, time, cost, etc.) can be obtained through the pre-collected database, and a complete plan is presented based on this information. The specific presentation method can be adjusted according to the specific scenario.

Claims

1. A cross-city tourism planning method based on a co-evolutionary multi-objective algorithm, characterized in that: The steps include: S1, collect tourism data; S2, setting the parameters of the inter-city travel problem according to the selected cities, planned time, budget and attraction preferences; S3, based on the parameters of the inter-city tourism problem, taking the total commuting time, total tourism cost and tourism experience score as the objective function, a cross-city tourism route planning model is constructed; S4, using the difficulty-contribution based cooperative co-evolutionary multi-objective algorithm to solve the cross-city tourism route planning model, obtain the encoding of the tourism plan, and decode it to get the tourism plan; In step S3, the implementation steps of constructing a cross-city travel route planning model are as follows: S31, according to the maximum number of scenic spots M visited per day and the total number of travel days D, the total length of the code is set to D*M; the scenic spot number p inside the code, when p is 0, does not represent any scenic spot, and is only used as an empty scenic spot for filling; S32, establishing the objective function; S321, calculate total commuting time; Considering the commuting time between attractions and hotels, the commuting time between attractions, and the commuting time between cities, define two attractions p i 、p j The function of the commuting time between i ,p j ) is as follows: Among them, p i ≠0, p j ≠0,p1∈poi(u i ), p2∈poi(u j ); k is the number of days of travel; hotel_T(p i ) indicates p i The commuting time to the hotel in the city, city_T(u i ,u j ) represents two cities u i ,u j The commuting time between i ,p j ) represents two attractions in the same city i 、p j The commuting time between i ) represents city u i The set of numbers of all attractions; Define the selection function Select(num,set) to select the smallest value in set that is greater than num. The mathematical expression is: Then the expression of total commuting time function1(C) is as follows: Among them, C represents the total code; S322, calculate the total travel expenses; The total travel expenses include commuting expenses, attraction tickets, meals and hotel accommodations; Define two attractions p i 、p j The function of the commuting distance between i ,p j ) is as follows: Among them, distance(p i ,p j ) represents two attractions in the same city i 、p j The commuting distance between hotel_D(p i ) Representative attractions i The commuting distance to the hotel in the city, city_D(u i ,u j ) represents city u i 、u j commuting distance between And set the set α = {i|p i ∈C,p i ≠0} represents the position of non-zero elements; The expression of total travel cost function2(C) is as follows: Among them, cost(Distance(p i ,p select(i,α) )) indicates Distance(p i ,p select(i,α) ) commuting distance commuting costs, tickets (p i ) indicates p i Ticket fees for attractions, hotel_C(u i ) represents city u i The cost of hotel accommodation, a represents the average daily food and beverage expenses; K represents the number of cities; S323, calculating the score of travel experience; The travel experience score includes the rationality of time allocation, the popularity of attractions, and the degree of compliance with traveler preferences; Setting Collection β d ={i|p i ∈c d ,p i ≠0} represents the position set of non-zero elements on day d, c d represents the total code of day d, and the time allocation rationality function time_allocation_score(C) is defined as follows: Among them, duration(p i ) indicates scenic spot p i Recommended travel duration; The heat score of the attraction is defined as follows: Among them, heat(p i ) indicates scenic spot p i The heat score of The passenger preference compliance function preference_score is defined as follows: The score function3(C) of the travel experience is defined as follows: min function3(C) =time_allocation_score(C)+heat_score(C)+preference_score(C) Among them, l1, l2, l3, and l4 represent the user's preference for humanities, nature, shopping, and food, respectively, with values ​​ranging from 0 to 5; Respectively represent scenic spots p i The scores for humanities, nature, shopping and food are from 0 to 5; In step S4, the implementation steps of solving the cross-city tourism route planning model using the difficulty-contribution based cooperative co-evolutionary multi-objective algorithm are as follows: S41, divides sub-problems according to cities, and each sub-problem is allocated a part of the continuous space in the total code; S42, the space and computing resources of the sub-problem are dynamically adjusted according to the contribution and difficulty. The implementation steps are as follows: S421, the coding length is used to indicate the difficulty of each sub-problem. Difficulty The expression is as follows: in, Representing subproblems The encoding length of S422, after a round of optimization of all sub-problems, the hypervolume index HV is used to evaluate the quality of the Pareto front of the sub-problem; each dimension of the reference point reference_point selects the maximum value of the corresponding dimension in the Pareto front of all sub-problems, then the sub-problem Contribution The expression is as follows: in, Indicates the subproblem when reference_point is selected as the reference point Hypervolume indicators on the Pareto front; S423, considering the difficulty and contribution of the problem, sub-problems The expression for allocating computing resources resource is as follows: Among them, F basic is a fixed value, representing the basic computing resources; F extra is a fixed value, representing additional computing resources; S424, after each main loop is completed, dynamically adjust the length of the sub-problem in the total code according to the contribution of the sub-problem; increase the code of the particle with the largest contribution by 1 bit, and reduce the code of the sub-problem with the smallest contribution among the code lengths greater than q by 1 bit, where q is the minimum code length.

2. The inter-city tourism planning method based on the co-evolutionary multi-objective algorithm according to claim 1 is characterized in that: The parameters of the inter-city tourism problem include the number of tourist cities, the number of most visited attractions per day, the total number of travel days, travel preferences and total budget.

3. The inter-city tourism planning method based on the co-evolutionary multi-objective algorithm according to claim 1 is characterized in that: The relative positions of sub-problems are determined by the shortest path algorithm in graph theory, which is used to minimize the commuting time between cities. The NSGA-II algorithm is used to optimize the sub-problems, and the order of the sub-problems remains unchanged during the optimization process.

Citation Information

Patent Citations

  • Intelligent recommendation system and intelligent recommendation method

    CN106570722A

  • City-tour question-answering system based on mobile internet

    CN107391706A

  • Multifactorial optimization system and method

    US20070087756A1