Abstract
We consider a tourist trip design problem with time windows and recommended occupancy levels at the points of interest. A 3-objective optimization model is formulated where the objectives are to maximize the total score and minimize total over occupancy and time gap. The multiobjective optimization problem is modeled as a mixed integer linear mathematical program. A GRASP is proposed to solve the problem.
This research is partially financed by Gobierno de España, grant GOB-ESP2019-07, and Gobierno de Canarias, grant COVID-19-04.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
In tourist routing problems and at certain points of interest (POIs) crowds of visitors can occur. The satisfaction experienced by the tourist and the image projected by the POI can be negatively impacted in such situations.
We study a problem of designing a tourist route with time windows where, in addition to maximizing tourist satisfaction and given recommended levels of occupancy at the POIs, the aim is to minimize both over occupancy and lost time in the route. Lost time occurs when the amount of time used to do the route is higher than the length of the route, defined as the minimum time required to do the route (travel time plus visit time in the best conditions). Lost time can be interpreted as waiting time. We formulate a mixed integer linear programming model to solve a TTDP with time windows and recommended occupancy levels for POIs.
The background to address the problem is the research that has been conducted on the Tourist Trip Design Problem (TTDP) found in the literature. Some surveys of the TTDP can be found in [4, 6, 7]. A review of algorithms proposed to solve the TTDP can be found in [3, 6].
The construction of algorithms that provide solutions in a very short time is especially relevant. Some articles in this respect include [1, 2]. Proposals to balance the visits to the POIs and avoid congestion are presented in several works found in the literature [5, 8] but, dislike our work, recommended occupancy levels for the POIs are not explicitly considered in the model.
2 Problem Statement and Mathematical Model
Consider a network N(V, E) where \(V=\{v_1,...,v_n\}\) is the set of nodes and \(E \subseteq V \times V\) is the set of edges. The travel time between nodes \(v_i\) and \(v_j\) is denoted \(\bar{t}_{ij}\), it is the length of the shortest path (faster path) from \(v_i\) to \(v_j\). A route is a sequence of nodes, \(v_1,v_{i1},...,v_{ir},v_n\), nodes \(v_1\) and \(v_n\) are the initial and final points in the route. For a route, the initial and final points can be the same. Each node \(v_i\), \(1<i<n\), is a point of interest (POI) and it has a score \(s_i > 0\) which represents its attractiveness as a point to be visited. The POI \(v_i\) has opening and closing times \(L_i\) and \(U_i\) respectively, \(t_i\) is the duration of the visit and \(cap_i\) is the capacity of POI \(v_i\). The recommended occupancy at POI \(v_i\) is \(c_i\), it is desirable that at most \(c_i\) visitors enter point \(v_i\) at time \(\tau \) (\(c_i= \alpha _i \times cap_i\) where \(0 \le \alpha _i \le 1\)). And \(\rho _i\) is the contribution of a new visit to occupancy at POI \(v_i\).
The length of a route, denoted \(T_r\), is the summation of the total travel time and the total visit time. The time budget or available amount of time to do the route is \(T_{max}\). Moreover, initial and final times, \(T_{I}\) and \(T_{F}\), are given, so that the route should be done in the time interval \([T_{I},T_{F}]\). We have that \(T_{max} \le T_{F}-T_{I}\), and \(\tau _1\), \(\tau _n\) represent the starting route time and ending route time respectively. The lost time or gap is the difference between the duration of the route, given by \(T_r\), and the time used to do it, \(T_u=\tau _n-\tau _1\).
The function \(\gamma _i(\tau )\) represents the occupancy level at instant \(\tau \). In order to define the occupancy function for a POI \(v_i\) in the interval \([L_i,U_i]\), we consider that the occupancy for a discrete set of instants \(L=\overline{\tau }_1< \overline{\tau }_2 <,...,\overline{\tau }_q= U\) are known. The occupancy function is given by a piecewise linear function built from the known occupancy values.
We want to find the route from the initial point \(v_1\) to the final point \(v_n\) which maximizes the total score, minimizes the total over occupancy, minimizes the lost time, and satisfies the time limitations constraints.
2.1 The Model
To state the model we use the following sets, and variables.
Index sets:
\(I={1,...,n}\): index set corresponding to node set V.
\(I_1=I \setminus \{1,n\}\): index set I excluding initial and final nodes in the route.
\(K=\{1,...,q\}\): index set for time partition.
Variables:
\(x_{ij} = 1\) if in the route we go from point \(v_i\) to point \(v_j\), otherwise \(x_{ij} = 0\).
\(\tau _i\): instant at which POI \(v_i\) is reached.
\(\gamma _i(\tau )\): occupancy at \(v_i\) in time \(\tau \).
\(u_i\): variables introduced in order to avoid subtours.
\(z_i\): over occupancy at \(v_i\).
\(a_{ik}\): variable used to define the occupancy function, for \(v_i\) and \(k \in K\).
\(y_{ik}\): binary variable for the occupancy function, for \(v_i\) and \(k=1,...,q-1\).
Then the problem is stated as follows:
If the initial and final points coincide, in the formulation \(v_n\) represents node \(v_1\) considered as the final point in the route. Expression (1) represents the objectives: maximizing the total score, minimizing over occupancy, and minimizing the lost time or gap. Constraints (2) indicate that \(v_1\) and \(v_n\) are the initial and final points, respectively. Expression (3) represents the flow conservation conditions. Constraints (4) indicate that a POI is visited at most once. The time budget limitation is included in constraint (5) and the time windows restrictions are constraints (6). The conditions on the sequence of times are incorporated in expression (7). Constraints (8) to (10) define the occupancy function, and constraints (11) define \(z_i\) as the over occupancy at point \(v_i\), with M representing a large number. Constraints (12) and (13) are included to avoid subtours. Expressions (14) are the domain constraints.
2.2 Problem Resolution
To solve the 3-objective optimization problem we apply a constraint method. We maximize the total score constrained to over occupancy and gap limitations and fix an upper bound for both over occupancy and the gap. The problem is
where \(\zeta _i\) is the highest over occupancy value admitted for POI i and \(\beta \) is the upper bound for the gap.
3 A Heuristic Algorithm to Solve the Problem
In this section we present a GRASP to solve the problem posed in Sect. 2. We consider that a solution to the problem can be represented by a list
where the nodes are pairwise different except perhaps the initial and final points which can be the same and \(\tau _1< \tau _{i_1}< \tau _{i_2}<...<\tau _{i_q}< \tau _n\). We use notations \((v_i,\tau _i)\) and \((i,\tau _i)\) indistinctly. For simplicity, we can omit times in (16).
For the route R, we denote \(I_1(R)\) the set made of the POIs in R and the initial node (\(v_1\)). That is, \(I_1(R)=\{1,i_1,i_2,...,i_q\}\). The score of the route is \(S(R)=\sum \limits _{i \in I_1(R)} s_i\) and the gap is \(T_u-T_r=(\tau _n-\tau _1)-T_r\). For \(i \in I_1 \setminus I_1(R)\) we define the unit profit of i for R as \( \displaystyle p_i = \max \limits _{j \in I_1(R)} \frac{s_i}{\varDelta T_{ij}}\), where \(\varDelta T_{ij}= -\bar{t}_{jk}+\bar{t}_{ji}+\bar{t}_{ik}+t_i\) and j and k are consecutive points in the route R, that is, we go from node j to node k. Let \(j(i) = \arg \{ p_i \}\), which is equivalent to \(j(i) = \arg \{ \min \limits _{j \in I_1(R)} \varDelta T_{ij} \}\).
Fixed the parameter values, a route is built by application of a sequence of insertions. Once a route where no other POI can be inserted is built, an improvement procedure is applied. The construction phase is described in Algorithm 1. The insertion of a node in a route has to be done taking into account the occupancy limitations. If a node i is inserted between nodes j and k, times \(\tau \) from node k to the final point of the route increase in at least \(\varDelta T_{ij}\) units. Due to occupancy limitations for some POIs, this increase could be bigger and the insertion could be unfeasible.
Algorithm 2 contains the insertion algorithm. For the initial and final points in the route, we consider \(t_1=0\) and \(U_n = T_F\). In order to avoid the algorithm stops too early giving very short routes, the gap time constraint in (15) is relaxed. The solution obtained is improved by application of several procedures such as the insertion of POIs at the end of the route, reduction of the gap with Algorithm 3, where a pushing operation is executed, and an exchange algorithm.
4 Computational Example
We solve the TTDP for n POIs randomly generated in a \([0,100]\times [0,100]\) square, for \(n=25, 50, 75,100\) and the metric \(L_1\). For each n we generate three instances. The scores are randomly generated in [1, 100]. Times (in minutes) are \((T_I,T_F,T_{max})=(600,900,240)\) and \((T_I,T_F,T_{max})=(600,1080,420)\). The maximum capacity is 100 and \(\alpha \in \{0.8, 0.9, 1\}\). The break instants in the occupancy function \(\gamma \) go from 540 to 1080 by steps of 60, and the values are integer numbers randomly generated between 30 and 100. The contribution value is \(\rho =1\) and \(\beta =45\). The initial and final points in the route are the same. The algorithm is executed 3 times for each of the 24 instances. Table 1 shows the best solution (route with maximum score) for each scenario \((n,T_I,T_F,T_{max},instance)\). The last two columns contain the computational times (in seconds) required to find the solution, the time before the improvement and the time consumed by the improvement procedure, respectively. The rest of times presented in the table are given in minutes.
5 Conclusions
Tourist route design is an important issue in the tourist management field. The problem modelled in this paper is to find a tourist route taking into consideration time windows and occupancy constraints, and 3-objectives. We maximize the total score while the other two objectives are incorporated as constraints. We propose a GRASP to solve the problem heuristically and present some preliminary computational results. Although a deeper study of the problem and the proposed heuristic is required, with a more extensive computational analysis, the results obtained seem promising.
References
García, A., Vansteenwegen, P., Arbelaitz, O., Souffriau, W., Linaza, M.T.: Integrating public transportation in personalized electronic tourist guides. Comput. Oper. Res. 40, 758–774 (2013)
Gavalas, D., Kasapakis, V., Konstantopoulos, C., Pantziou, G., Vathis, N., Zaroliagis, C.: The eCOMPASS multimodal tourist tour planner. Expert Syst. Appl. 42(21), 7303–7316 (2015)
Gavalas, D., Konstantopoulos, C., Mastakas, K., Pantziou, G.: A survey of algorithmic approaches for solving tourist trip design problems. J. Heuristics 20(3), 291–328 (2014)
Gunawan, A., Lau, H.C., Vansteenwegen, P.: Orienteering problem: a survey of recent variants, solution approaches and applications. EJOR 255, 315–332 (2016)
Migliorini, S., Carra, D., Belusi, A.: Adaptative trip recommendation system: balancing travelers among POIs with MapReduce. In: 2018 IEEE International Congress on Big Data (BigData Congress), pp. 255–259. IEEE, (2018)
Ruiz-Meza, J., Montoya-Torres, J.R: A systematic literature review for the tourist trip design problem: Extensions, solution techniques and future research lines. Oper. Res. Perspect. 9, 1–28 (2022)
Vansteenwegen, P., Souffriau, W., Van Oudheusden, D.: The orienteering problem: a survey. EJOR 209, 1–10 (2011)
Wang, X., Leckie, C., Chan, J., Lim, K.H., Vaithianathan, T.: Improving Personalized Trip Recommendation by Avoiding Crowds. In: Proceedings ACM CIKM 2016, pp. 25–34. RMIT University, (2016)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Santos-Peñate, D.R., Moreno-Pérez, J., Rodríguez, C.C., Suárez-Vega, R. (2022). A Mathematical Model and GRASP for a Tourist Trip Design Problem. In: Moreno-Díaz, R., Pichler, F., Quesada-Arencibia, A. (eds) Computer Aided Systems Theory – EUROCAST 2022. EUROCAST 2022. Lecture Notes in Computer Science, vol 13789. Springer, Cham. https://doi.org/10.1007/978-3-031-25312-6_13
Download citation
DOI: https://doi.org/10.1007/978-3-031-25312-6_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-25311-9
Online ISBN: 978-3-031-25312-6
eBook Packages: Computer ScienceComputer Science (R0)