Abstract

The multiperiodic crowd tracking (MPCT) problem is an extension of the periodic crowd tracking (PCT) problem, recently addressed in the literature and solved using an iterative solver called PCTs solver. For a given crowded event, the MPCT consists of follow-up crowds, using unmanned aerial vehicles (UAVs) during different periods in a life-cycle of an open crowded area (OCA). Our main motivation is to remedy an important limitation of the PCTs solver called “PCTs solver myopia” which is, in certain cases, unable to manage the fleet of UAVs to cover all the periods of a given OCA life-cycle during a crowded event. The behavior of crowds can be predicted using machine learning techniques. Based on this assumption, we proposed a new mixed integer linear programming (MILP) model, called MILP-MPCT, to solve the MPCT. The MILP-MPCT was designed using linear programming technique to build two objective functions that minimize the total time and energy consumed by UAVs under a set of constraints related to the MPCT problem. In order to validate the MILP-MPCT, we simulated it using IBM-ILOG-CPLEX optimization framework. Thanks to the “clairvoyance” of the proposed MILP-MPCT model, experimental investigations show that the MILP-MPCT model provides strategic moves of UAVs between charging stations (CSs) and crowds to provide better solutions than those reported in the literature.

1. Introduction

Over the past years, a new infrastructure with new constraints and new characteristics is widely explored by new users, namely, the unmanned aerial vehicle (UAV) (also called drone) [1, 2]. The term UAV is used for “a pilotless aircraft which is flown without a pilot-in-command on-board and is either remotely and fully controlled from another place (ground, another aircraft, and space) or programmed and fully autonomous” [3].

Many reasons explain the popularization and the wide use of UAVs these days. The most important are those related to their low costs (e.g., acquisition, maintenance, and energy) compared with other infrastructures such as manned aerial vehicles or satellites and their ability to fly at low altitudes with different speeds both indoor and outdoor [4]. Therefore, UAVs have started to be a challenging field for many researchers. Moreover, UAVs attracted many companies to invest in discovering further in their applications [5]. During the last decade, UAVs have been used in many different applications, including aerial photography [6, 7], agriculture [8, 9], control [10, 11], communications [12, 13], crop spraying and monitoring [14], emergency response [15, 16], logistics [17, 18], search and rescue [19], and product delivery [2022]. Further fields of applications can be found in [2329].

In the midst of global urbanization and the constant population growth, the crowd phenomenon has become more frequent. This explains the reasons of having various technical and social disciplines pay attention to crowd analysis [30]. For events that are becoming more frequent and popular, such as sport events [16, 26, 31], concerts [32], and religious gatherings such as annual Islamic pilgrimage (also called Hajj) [15, 3336] and Kumbh Mela in India [15], it is imperative to use crowd analysis to prevent crowd-related disasters and provide public safety.

Considering the difficulty of movement and intervention in crowds, using UAVs represents an effective and promising low-cost solution [19, 36]. The study of crowds dynamicity has been taken as an important issue in the UAVs management [20, 22, 29, 37]. Designing an efficient crowd monitoring and analysis (CMA) system is a challenging task to ensure security and safety in crowded events [3842]. Indeed, a strategic monitoring and tracking of crowds could give an opportunity for early decisions to prevent fatal accidents due to abnormal behavior. In addition, some people in the crowd may show critical situations, which could lead to panic and fatal accidents [15, 34]. Considerable research works have been conducted in crowd management using UAVs [22, 37]. Researchers have recently been using drones in crowd management to detect and track crowd movements [4345]. In fact, UAVs provide powerful features such as coverage ability and flexibility over conventional static cameras previously used [40, 4649]. Various studies have been conducted to detect and determine the density (i.e., number of people at each squared meter) and speed of crowds in order to determine their movement patterns [24, 34, 50].

Regarding the crowd tracking (CT) problem using UAVs, addressed in this article, there are few works in the literature that focus on it [6, 5155]. Each of these works considers the crowd tracking problem from a specific point of view. To the best of our knowledge, only three works are interested to the optimization aspect when tracking target objects or crowds using UAVs [52, 53].

De Moraes and De Freitas [52] were the first to integrate optimization techniques in their crowd tracking mechanism using UAVs. Indeed, they proposed a UAVs-based system, that periodically monitors gathered walking individuals, where they integrate auction paradigms and genetic algorithms to distribute UAVs among crowds/targets and to calculate the best order to visit them. According to an effective simulation analysis, authors proved the capabilities, efficiency, and robustness of their system to perform the surveillance, to visit all targets during a supervising period, to minimize the transition time between targets, and to preserve performance and stability under a variety of scenarios.

A second work that considers optimization features is presented by Trotta et al. [53], where authors propose an aerial tracking system that deploys a swarm of UAVs for continuous video capture of mobile ground targets. The main challenging issues raised in this work were in terms of energy management, scenario coverage, and multidevice task coordination. To solve these raised issues, they proposed a framework, named PERCEIVE, that considers a modular chain of functionalities to perform crowd mobility prediction, UAV charging scheduling, and UAVs and mobile charging stations (MCSs) mobility updates. They proved the capabilities, efficiency, and robustness of their framework via experimental measurements of a MCS prototype and an extensive and effective simulation analysis on a city-scale monitoring scenario. Regarding the integrated UAV replenishment service, they used a probabilistic charging scheduling algorithm considering both UAVs residual energy and the system Quality of Service (QoS). Furthermore, regarding the UAVs and MCSs mobility management, they used swarm mobility algorithms based on the potential field force model to maximize the number of targets covered by UAVs and minimize charging operations overhead.

The two previously cited state-of-the-art contributions were proposed for a specific application of aerial video surveillance. Even if some works consider the optimization aspect to efficiently track crowds, none of them considered the minimization of the total distance/time traveled by UAVs and the total energy consumed by UAVs via assigning the best UAVs for each crowd. Moreover, in the literature, there is no formal optimization model that can be easily adapted to be used by any CMA system using crowd tracking via UAVs. The last two issues were the main challenges to face within the contribution of Chebil et al. [51]. Indeed, this work considers optimization features where, for a given open crowded area (OCA) life-cycle, crowds are closely tracked with UAVs in real-time to ensure continuous and efficient covering during a given period of time. The authors propose a solver (called PCTs solver), based on a binary linear programming (BLP) model, to solve the periodic crowd tracking (PCT) problem. PCTs solver iteratively (at each period of the OCA life-cycle) solves the PCT problem by considering two objective functions such as the minimization of the UAVs traveling time and the minimization of their energy consumption. Their model, called , includes’different types of real word hypotheses and constraints related to UAVs’ architecture (e.g., speed, charging time, and minimum charge to fly), crowds characteristics (e.g., demand of UAVs, speed, and density), and charging stations characteristics (e.g., location and capacity). Some of these characteristics change from a given period to the next one . Many input parameters, related to OCA characteristics, UAVs features, and crowds behavior, are outlined and sensitively analyzed to emphasize their impact on the crowd tracking function of a given CMA system. Interested readers are referred to the conducted research by Chebil et al. [51] for further details.

To the best of our knowledge, [51] is the first work that tackles the PCT problem with a detailed and formal consideration of the optimization aspect. Indeed, they provide a formal optimization model independently from any scope of application that can be easily embedded in any CMA framework. Otherwise, the authors formulate the PCT in a single period context where OCA life-cycle is divided into “periods,” and at the beginning of each period, a new assignment of UAVs to crowds is given according to the new UAVs, crowds, and charging stations characteristics. Despite its originality, the PCTs solver has some limitations that have been discussed as future challenges in [51]. The present work focuses on the following limitations that built our main motivation.(1)The PCTs solver is considered as a greedy heuristic. Indeed, it solves the model for a given period and it does not care about what will occur during the next period and if it will be able to solve or not. This disadvantage is called “PCTs solver myopia” that directly affects the covering ability of the PCTs solver (i.e., its capacity to solve for all periods of a given OCA life-cycle). Indeed, for some PCTs instances, PCTs solver gives feasible solutions for certain preliminary periods of a given OCA life-cycle, then it will no longer be able to find solutions for posterior periods. This is caused by UAVs energy constraints due to some previous wrong decisions.(2)Even if the PCTs solver is able to provide an optimal solution of the CT at each period, the global solution (built by the solutions of all for all periods of a given OCA life-cycle) is considered as feasible (not optimal). The global solution can be improved if the OCA characteristics during all periods will be known and considered from the start of the solving process.

In this paper, the multiperiodic crowd tracking (MPCT) problem using UAVs is investigated. In fact, by considering multiperiodic aspect, this work is considered as a generalization or an extension of the work of Chebil et al. [51] where a mono;periodic model is considered. Solving the MPCT problem consists of finding an optimal assignment of UAVs to track crowds during the entire OCA life-cycle time. The objective is to keep all crowds covered by the required number of UAVs whilst minimizing their movements time and energy consumption. Indeed, in MPCT problem, several crowds are considered to move into different directions. Each crowd at any given time has an exact location (latitude and longitude) and needs a minimum number of UAVs to be covered according to its density. As long as the crowds are moving, every crowd could grow, shrink, change its structure, merge with other crowds, or split (unmix). To satisfy crowds demands, a set of available UAVs is supposed to be initially located in multiple charging stations. The movements of crowds are considered to be predictable. In fact, this is a realistic assumption in some situations where the behavior of the crowds is known and can be predicted. To do that, there are many proposed methods in the literature that can be used to predict crowds characteristics and behavior based on machine learning techniques [5664]. Thanks to this prediction, a CMA system can have a “clairvoyance” and therefore more strategic assignments of the UAVs that takes into account the future behaviors of crowds. Given the energy constraints, the model should find an optimal assignment of UAVs to crowds during each period in a way that minimizes unnecessary movements and energy consumption of the UAVs.

The present work proposes a mixed-integer linear programming (MILP) model to solve the MPCT (called MILP-MPCT). We maintain all hypothesis considered by Chebil et al. [51] and we enrich them by the following:(i)The behavior and all characteristics of each crowd are predicted by using any accurate prediction algorithm from the literature (i.e., at the beginning of each period, the position, and the number of UAVs that are requested by every crowd are known). Of course, bad accuracy of a given prediction algorithm affects the results (solutions qualities) provided by the MILP-MPCT. In this paper, we deal only with the covering ability of MILP-MPCT (outlined by Chebil et al. [51] among their future challenges) compared to PCTs solver.(ii)It is exactly known when and where two or more crowds merge/unmix and create a new crowds. Therefore, in the case of an inaccurate prediction handling, some reoptimization techniques can be applied to correct the obtained UAVs/crowds assignment provided by the used optimization model that can be outlined as future challenge.

The proposed MILP-MPCT model is compared to the PCTs solver proposed by Chebil et al. [51] in terms of time/energy consumption and their ability to cover all periods of a given OCA life-cycle.

The remainder of the paper is organized as follows: Section 2 presents the considered system model of the MPCT problem using UAVs, the used parameters and decision variables, and the proposed MILP-MPCT composed by its linear constraints and objective functions. In order to discuss its performance and limitation, Section 3 reports the computational results obtained by the application of the suggested MILP on some MPCT instances. Finally, Section 4 outlines some suggestions for future research to solve the MPCT and concludes the paper.

2. Modeling the MPCT Problem Using UAVs

In this section, we formally define the MPCT problem using UAVs. Firstly, we present the context motivating us to solve the MPCT problem, followed by the considered assumptions and definitions that are illustrated by an example. Secondly, we define the parameters and decision variables used to formulate linear constraints and objective functions that build the proposed MILP-MPCT to solve the MPCT problem. The MPCT problem consists of assigning, during every period of a given OCA life-cycle, a set of requested UAVs to each crowd in order to ensure an efficient and continuous coverage of all identified mobile crowds subject to minimize the total time/energy consumption.

2.1. Context, Assumptions, and Definitions

Our main motivation is stimulated by the improvement of crowd tracking function of the CMA system using UAVs in the context of the annual Islamic pilgrimage (also called Hajj) that hosted about 2.5 million of pilgrims in 2019 (according to the Saudi General Authority for Statistics https://www.stats.gov.sa/sites/default/files/haj_40_en.%20pdf). During the Hajj period, which lasts about five days, many rites give rise to big pilgrims gatherings at the same time in five main places, such as Mina, Arafat, Muzdalifah, Jamarat, and Masjid-Al-Haram [51]. Based on this study, and to ensure cost-saving, we proposed a MILP to optimize the used UAVs when periodically tracking a set of moving crowds in a determined/bordered OCA (i.e., a geographical zone with known borders/dimensions and without obstacles where several close crowds navigate) such as religious gatherings, mass sports events, and social festivals.

We assume that we already have the mechanisms and accurate prediction modules that provide the following real-time information:(i)The characteristics of the OCA to be supervised by the CMA such as shape, area, and border dimensions.(ii)The list of charging stations (CSs) that are considered to supply energy to UAVs. Each CS is characterized by its position (latitude and longitude), and capacity in terms of supported number of UAVs.(iii)The number of available UAVs in the fleet and their characteristics such as current positions (latitude and longitude), statuses (flying to supervise a crowd, charging in a CS, or idle in a CS), energies (batteries) level, constant speeds, and energies (power) charging/discharging functions.(iv)The list of identified crowds with their positions (latitude and longitude) and the number of requested UAVs to be covered.

Based on the previous assumptions, the MPCT problem consists of allocating the needed number of heterogeneous UAVs to the mobile identified crowds in each period to ensure a continuous efficient coverage with minimizing the UAVs moves in order to reduce time and energy consumption. However, the UAVs/crowds assignment process must respect some rules, which is as follows:(i)An UAV can be assigned at most to only one crowd during a given period of the OCA life-cycle.(ii)An UAV cannot be assigned to a crowd if its energy is not enough to supervise the corresponding crowd during the whole current period and then return to the nearest available CS.(iii)A flying UAV should return to an available CS if it is not assigned to a crowd in a given period.

Figure 1(a) presents an example of the initial OCA state where ten UAVs remain on the two CSs and the five crowds are not covered. After solving the MPCT problem, Figure 1(b) presents a snapshot of the OCA during the first period (Period 1) where six UAVs are used to ensure crowds coverage. Then, a second snapshot of the OCA supervised by the new UAVs/crowds assignment state during the period (Period 2) is shown in Figure 1(c). We can see that the number of crowds is reduced to four, which is caused by the merge of two crowds, then the number of needed UAVs is reduced by allowing one UAV to rejoin a CS.

2.2. Parameters and Notations

We recall the main notations and functions used throughout the paper to build MILP-MPCT model to solve the MPCT problem. Indeed, we use almost the same notations used for the model to solve the PCT in [51], to which the reader can refer for more details.

Let be the total time of an OCA life-cycle and a set of contiguous and nonoverlapped periods in . We consider an additional special period (where ) that represents the initial state of the OCA life-cycle where all UAVs are initially distributed over the charging stations (CSs). Supervising crowds starts at the beginning of the first period that is designated by . Without loss of generality, we assume that all periods have the same duration , where . As considered in [51], , we considered a rectangular shaped OCA and noted with dimensions in meters that contains the whole sets of UAVs, of crowds, and of CSs during each period . Let be a graph that represents the CMA system and the considered OCA at the beginning of each period , where(i) represents the distances matrix between UAVs and crowds during the period .(ii) represents the distances matrix between UAVs and CSs during the period .(iii) represents the set of UAVs during the period , where(a) is the number of UAVs during the period .(b), , and are the latitude and the longitude of the UAV during the period .(c) and are the status of the UAV during the period , 0 when idlecharging on CS, 1 when flying. Note that in the initial state and .(d) is the constant speed (meter/second) of flying UAV during all periods in .(e) is the flying time of the UAV to consume (lose) 1% of its energy.(f) is the charging time of the UAV to gain 1% of its energy.(g) is the loss energy function of the UAV caused by its transition movement from its position during the previous period to its position during the current period and by its supervising flight during the period . We consider the same formula of function used in [51].(h) is the energy percentage threshold forcing UAV to return to a base station at the end of any period in . is calculated as follows:(i) is the energy percentage threshold allowing UAV to leave from a base station. is calculated as follows:(iv) represents the set of crowds during the period , where(a) is the number of crowds during the the period .(b), , and are the latitude and the longitude of the gravity center of the crowd during the period .(c) represents the distance (meter) between an UAV during the period and the gravity center of a crowd during the period .(d) and are the number of UAVs requested by the crowd during the period .(v) represents the set of CSs during the period , where(a) is the number of CSs during the period .(b), , and are the latitude and the longitude of the CS during the period .(c) represents the distance (meter) between an UAV during the period and a charging station during the period .(d) and is the capacity of the CS in terms of number of UAVs during all periods.(vi) represents the set of crowds and stations during the period .(vii) represents the distance (meter) between a crowd CS of period and a crowd CS of period .

2.3. Decision Variables

We define the following decision variables in order to build the proposed MILP-MPCT model that covers all periods in :(i) a binary decision variable, where(ii) a non-negative continuous decision variable that represents the energy percentage (battery level) of the UAV at the beginning of period , wherewhere and are determined as follows:

2.4. Objective Functions

According to the decision maker objective, we define the following two objective functions that can be used in the proposed MILP-MPCT model:(i)The first objective function (6) minimizes the total time consumed by all UAVs movements during their transitions from their locations at the initial period to their locations at final period . Of course, all their locations through all intermediate periods should be considered.We recall that are the constant speeds of UAVs, represent the distances between crowdsCSs in period and crowdsCSs in the period . determines the total time consumed by all UAVs, for all periods , during their movements from an assigned crowdsCSs in period to an assigned crowdsCSs in period .(ii)The second objective function (7) minimizes of the total energy consumed by all UAVs during all periods of the OCA life-cycle.We recall that are the flying times of UAVs to consume (lose) 1% of their energies. The first term of determines the total energy consumed by UAVs when they travel from their assigned crowdsCSs during period to their assigned crowdsCSs during period . The second term of determines the total energy consumed by flying UAVs during period when they supervise assigned crowds.

2.5. Constraints

Using the parameters and decision variables defined in Sections 2.2 and 2.3, we define the following constraints classified by categories according to the CMA system infrastructure and the OCA characteristics.

2.5.1. UAV Constraints

Constraints (8) ensure that during the initial period , all UAVs are fully charged.

Constraints (9) ensure that during the initial period , each UAVs is assigned to only one CS. We add these constraints just to assert the integrity of the initial UAVs distribution in the input data. We use twice the CS index in the decision variable because there is no period that precedes the initial period (e.g., means that the UAV indexed by 1 is assigned to the CS indexed by 2 during the initial period indexed by 0).

Constraints (10) ensure that during the initial period , there is no UAVs assigned to crowds.

Constraints (11) ensure that during each period , every UAV is assigned to at most a crowd or a CS.

Constraints (12) ensure that if an UAV is assigned to a crowd/CS during the period , then its transition to a crowdCS during the period should be performed starting from . It is worthy to note that these constraints are not applied to the first period . Indeed, the first period immediately follows the initial period (), which is considered as a special period as it is already mentioned. Dedicated equivalent constraints to the first period are described by inequality (13).

As it is already motioned in Section 2.2 and asserted by constraints (10) and (11), the initial period () is not considered as a standard period, given that each UAV is located in a CS belonging to . Constraints (13) ensure that if an UAV is assigned to a crowdCS during the first period (), it should start from its allocated charging station during the initial period .

At the end of each period , the energy percentage (battery level) of each UAV varies according to the UAV state. Constraints (14) ensure this variation by adding the gained energy if the UAV is assigned to a CS and subtracting the loosed energy if it is assigned to a crowd.

We note that (resp. ) gets, with a complementary fashion thanks to constraints (11), a non-null value if the UAV is assigned to a CS (resp. to a crowd) during the period .

Constraints (15) ensure that each UAV assigned to a crowd has enough energy to move from its last position during period to the assigned crowd and performing its covering task (flying) during period . We recall that is the energy percentage threshold forcing an UAV to return to a CS during a period .

Constraints (16) ensure that each UAV , assigned to a CS during the period , has the minimum required autonomy () to leave the CS.

Constraints (17) ensure that the charge percentage of each UAV cannot exceed 100%.

2.5.2. Crowd Constraints

Constraints (18) ensure that during each period and each crowd demand should be satisfied.

2.5.3. CS Constraints

Constraints (19) ensure that the number of UAVs assigned to a CS in a period cannot exceed the station capacity .

2.6. MILP-MPCT Model

By considering one of the objective functions expressed by equations (6) and (7), presented in Section 2.4, and the set of the ten constraints (8)–(19), presented in Section 2.5, we can build two different MILP models to solve the MPCT problem. The MILP-MPCT model that considered the objective function aimed to minimize the total time consumed by UAVs during their transitions from one period to another during the whole OCA life-cycle time. Furthermore, when we considered the same set of constraints with the objective function we obtained a MILP-MPCT model that aimed to minimize the total energy consumed by all UAVs to move between their different positions and to cover crowds during the whole OCA life-cycle time.

2.7. How Does the MILP-MPCT Model Work?

The proposed model MILP-MPCT considers many crowds that move in different directions. At any given time, each crowd is located precisely (via latitude and longitude) and requires a minimum number of UAVs. After every period, the location of the crowd and the number of required UAVs change. Crowds are capable of growing, shrinking, changing structure, merging with other crowds, or splitting (unmixing), as long as they are moving. All the crowds should be covered by a set of available UAVs initially located in charging stations. The MILP-MPCT model aims to obtain an optimal allocation of UAVs to track crowds throughout the OCA life-cycle at the same time. By using the necessary number of UAVs, all crowds can be covered while minimizing their movements and energy consumption. We recall that, we considered that crowds future movements are predictable which is reasonable in some situations where their behaviors is known and can be accurately forecasted.

The MILP-MPCT model takes, as inputs, the list of available UAVs and their positions, the number of stations and their positions, and the crowds and their needs in terms of UAVs. Then, it provides a schedule throughout the whole OCA life-cycle by assigning at the beginning of each period of certain UAVs to cover crowds and others to stations, while minimizing the total movement time and energy consumption of all UAVS.

3. Experimental Results and Analysis

In this section, we perform a set of experiments to evaluate the effectiveness and the stability of the proposed MILP-MPCT model. It is implemented using DOcplex Python Modeling API of IBM-ILOG-CPLEX (version 12.10). All simulations have been conducted on a personal computer (Intel(R) Core-(TM) i7-10700 CPU, 3.20 GHz with 16 GB RAM) running with Windows 11 and Python 3.7 compiler.

Note that our goal is to show that the MILP-MPCT model gains in covering ability and improves the solution quality of PCT given by the PCTs solver proposed in [51]. For this reason, we use the same instances generated by Chebil et al. [51] (for more details according to instances generation and the metrics and the parameters used, readers can refer to [51] (section of simulation and computational results)). In Section 3.1, we present an illustrative example to demonstrate the covering ability of the MILP-MPCT model that prove our first contribution compared to the PCTs solver limitation proposed in [51]. In Section 3.2, we introduce some experimental results obtained by the simulation of the MILP-MPCT model on a set of instances. These results show the improvement made by the MILP-MPCT model, compared to PCTs solver, in terms of the objective functions values described in Section 2.4. In Section 3.3, we present the limitation of the proposed MILP-MPCT model that motivates our future challenge to optimally solve the CT problem using UAVs.

3.1. Illustration of MILP-MPCT Covering Ability

In order to highlight the MILP-MPCT covering ability compared to PCTs solver one, we generate a small scenario with 16 UAVs and 4 periods with duration  = 600 seconds. Table 1 summarizes the crowds demands during each period, the CSs capacities, and the initial distribution of UAVs over CSs. We recall that PCTs solver presented in [51] solves iteratively a PCT problem, for each period of a given OCA life-cycle, by solving the BLP-PCT model.

The objective of the CT is to assign UAVs to crowds, during the whole OCA life-cycle time, with respect to their demands. Figure 2 represents the initial OCA and CMA system states of the illustrative scenario where all UAVs are fully charged and assigned to their initial CSs. The CMA system is permanently connected with (i) all CSs to periodically control the situations of all UAVs and (ii) all sensors (e.g., cameras) to receive a real-time OCA situation in terms of crowd movements and densities and their UAVs needs. These types of communications can be established using advanced technologies that ensure energy saving/minimization of autonomous devices [65, 66].

Figure 3 represents the OCA and CMA system states after the application of the PCTs solver on the illustrative example. The first assignment of the UAVs to crowds starts during the period P1 (see Figure 3(a)). We noticed that, when solving BLP-PCT1 by the PCTs solver, only ten UAVs are used to ensure crowds coverage. In the next period P2 (see Figure 3(b)), when BLP-PCT2 is solved, all UAVs has the required energy to cover all the crowds during that period. In order to minimize the total energy consumption, the optimal solution of BLP-PCT2 kept using the same flying UAVs in the previous period. Unfortunately, the PCTs solver cannot solve BLP-PCT3 and BLP-PCT4. Indeed, for period P3 , all used UAVs during the previous two periods does not have the minimum required energy to perform the covering task, and thus must return to CSs for charging. With a total of eight requested UAVs by crowds during period P3, there are only six available UAVs (not used from the beginning of the OCA life-cycle) that makes the problem BLP-PCT3 infeasible. We recall that this issue, called “PCTs solver myopia” and already mentioned among our motivational factors in Section 1, is caused by the PCTs solver covering inability.

Otherwise, the solution provided by the MILP-MPCT model (see Figure 4) demonstrates its efficient covering ability to solve all periods during the whole OCA life-cycle of the illustrative scenario represented in Table 1. Indeed, the MILP-MPCT model chooses efficiently the most appropriate UAVs during each period. In fact, for every period λ, the UAVs assignment is guided by the OCA requirements in the next periods (). Contrary to the PCTs solver limitation motioned above, the MILP-MPCT model has an efficient covering ability thanks to its perspicacity that we call “clairvoyance.” In fact, the mono-periodic model proposed by Chebil et al. [51] suffers from “myopia.” Indeed, at each period it solves the PCT problem without considering the future periods’ needs that causes its inability to solve many PCT instances. However, the MILP-MPCT model handles with the interactions between all periods, of the whole OCA life-cycle, by considering all their requirements at the same time. Thanks to this “clairvoyance,” the solutions provided by the MILP-MPCT should be better (or equal, in the worst case) to those provided by the mono-periodic model.

The PCTs solver can be viewed as an approximate algorithm based on decomposing the MPCT problem into subproblems, where each subproblem represents an independent CT problem for a given period. Having a global vision on all the life-cycle system allows the MILP-MPCT to make choices that seems illogical by considering only the current period (e.g., an UAV coming back to a charging station with a sufficient charge autonomy allowing it to continue monitoring for the next periods), but we understand later that these choices were necessary to satisfy the demand of the crowds during all the OCA life-cycle time.

3.2. MILP-MPCT Performance Analysis

In this section, we present and discuss the computational results obtained by MILP-MPCT model to solve the CT using UAVs. We tested the MILP-MPCT model on the benchmark instances generated by Chebil et al. [51] in which the authors proposed a set of 840 instances under diversified scenarios during a fixed one-hour OCA life-cycle seconds and a rectangular shaped OCA with fixed area equal to . All the instances are generated according to different parameters as the number of periods during the OCA life-cycle , the number of charging stations , the maximum number of crowds in each period, and the number of required UAVs per . There are some other parameters that are fixed randomly or according to some formulas given in details in [51].

After solving the instances mentioned above using the MILP-MPCT model, we noticed that 35%, 60%, and 78% of them are solved (without guaranteeing the optimality for all of them) after one, two, and three hours of CPU computing, respectively. 22% of the instances are not solved due to the memory limitation “Out of Memory Error.” It is worthy to note that IBM-ILOG-CPLEX provides a feasible solution (i.e., optimality not guaranteed) after reaching a preset limitation computation time. Indeed, for the majority of the 840 instances, the MILP-MPCT generates a huge number of variables and constraints in the ranges and , respectively.

Without loss of generality and in order to have a significant and comparable results to those provided by the PCTs solver, we select only the instances where the MILP-MPCT is optimally solved. Table 2 shows the obtained objective values obtained by the MILP-MPCT model and the PCTs solver for each selected instance. The significations of the table headers are as follows:(i) and : the objective function value obtained by MILP-MPCT when the total time/energy objective (see equations (6) and (7)) is considered, respectively.(ii) and : the objective function value obtained by PCTs solver when the total time/energy objective is considered, respectively.(iii): the deviation gap percentage between objective functions values provided by MILP-MPCT and PCTs solver (i.e., the improvement made by MILP-MPCT comparing to PCTs solver).(iv): the improvement average.

From Table 2 that is also reflected by Figures 5(a) and 5(b), we can easily notice that the MILP-MPCT model outperforms the PCTs solver for all selected instances with an improvement between and when the time minimization (objective function (6)) is considered with an average of 15.38% and between and when the energy minimization (objective function (7)) is considered with an average of 11.22%. We justify these results by the fact that the MILP-MPCT model has a wide visibility comparing to the PCTs solver one. Indeed, for a given period of an OCA life-cycle, the MILP-MPCT considers all other periods’ needs when deciding what UAVs should be assigned to a given crowd. Then, a good decision of UAVs movements is made to minimize the time and energy. This MILP-MPCT strength point, already discussed in the previous section, is not owned by the PCTs solver that solve each BLP-PCT separately for each period.

Figure 6 shows comparisons between the total consumed times and between the total consumed energies when we apply the MILP-MPCT model with one of the defined objective functions (i.e., time minimization equation (1) or energy minimization equation (7)), then we compare its value with the total time or energy, consumed by all UAVs during the whole OCA life-cycle, when the other objective function is considered, respectively (e.g., if we apply MILP-MPCT with the objective function that minimizes the time, then we calculate the total consumed energy of the obtained solution and compare it to the consumed energy when the objective function that minimizes the energy is considered, and vice versa). The aims of this comparison are mainly (i) to provide information about the gap between the total consumed time/energy when we have different objectives, (ii) to evaluate the influenced relationship between the two objective functions, and (iii) to allow us to select the objective to consider in priority when certain contexts are given.

Figure 6(a) presents a comparison between the total consumed times by all UAVs when we consider the objective function (6) designated by the blue plot and when we consider the objective function (7) designated by the orange plot. We notice that for most instances the two plots are very close which is explained by the fact that the flying time requires implicitly an energy consumption. It is also worthy to note that the average deviation is equal to 21.83%, which is relatively high and is caused by some exceptions such as instances 10, 11, 14, and 15. We justify this anomaly by the fact that UAVs fleet is heterogeneous for each instance. Indeed, some UAVs characteristics, such as their energy consumption rates and their speeds , affect the founded solution given by the MILP-MPCT model. For example, in instance 11, the speed of the UAV U50 is and the speed of the UAV U35 is (around 3 times) with and . It is easy to conclude that when the objective function (6) is considered, the MILP-MPCT favors the use of UAV U50 than UAV U35. On the other hand, when the objective function (6) is considered, the MILP-MPCT gives advantage to use UAV U35 than UAV U50. In the same manner, Figure 6(b) presents a comparison between the total consumed energies by all UAVs when we consider individually the objective functions (7) or (6) designated by orange and blue plot, respectively.

3.3. MILP-MPCT Limitation

This section intends to provide readers with meaningful information to ensure research transparency, which is an ethical element of scientific inquiry to facilitate future research.

As discussed in Section 3.2, for some large instances, we found that IBM-ILOG-CPLEX crashes with an “Out of memory” message before reaching the time limit. For other instances, this limit time is insufficient to find even one feasible solution. Despite the performance of the MILP-MPCT model in terms of planning and assigning strategic moves of the UAVs to crowds thanks to its “clairvoyance,” it is still not able to solve large-size instances. It is clear that increasing the number of periods, UAVs, CSs, and crowds involves directly an increasing number of decisions variables and constraints, and then an overhead of CPU-time. Since the computational time is extremely data-dependent, some instances cannot be solved at all within the time limits. It is worthy to note that the long execution time due to the large number of variables of some instances cannot be considered as a real limit of the model. Indeed, we remind that MILP-MPCT is a multiperiodic model based on prediction that can allow the decision maker to launch it before a large amount of time from the beginning of crowds’ supervision.

Regarding the objectives to be optimized, we find that there is a trend to minimize time, distance, and energy. However, some of the optimization objectives were closely related. One interesting direction would be to study the problem of minimizing the number of UAVs needed to cover the crowds, which also reduces the model integration cost in real-life problems. Consequently, the objective function can be designated as a trade-off between the flight distance, the energy consumption, the number of required UAVs, and the QoS.

4. Conclusions

The periodic crowd tracking (PCT) problem consists of assigned UAVs to crowds in order to minimize the consumed time and energy during a given period of time. This paper deals with the multiperiodic crowd tracking (MPCT) problem, an extension of the PCT, where all crowds behaviors are known in advance and the PCT is studied from the multiperiodic aspect.

To tackle the problem with a detailed and formal consideration of the optimization aspect, we proposed a new mathematical model (called MILP-MPCT) and test it on different scenarios. Computational experiments were conducted to show that MILP-MPCT is more efficient than PCTs solver proposed in [51] that considers an iterative resolution strategy. The MILP-MPCT provides better solutions in terms of covering ability and the objective function quality, but it is slower in terms of CPU time. This is not considered as a limit for the model because of its multiperiodic context where the schedule can be provided before a sufficient time from the starting of crowds’ supervision. Moreover, we illustrate a scenario when the MILP-MPCT is able to find feasible solutions while the PCTs solver cannot. Thanks to the “clairvoyance” of the model, strategic moves of the UAVs take into account the future behaviors of crowds that allows it to avoid deadlocked situations that make the instance nonfeasible. In order to be objective, we have reserved a whole section to make a self-criticism of our model and to present its limits. Hence, a possible future research direction is to devise new heuristics to solve more larger and more real-life scenarios. Future work may also include the MILP-MPCT adaptation to find the optimal locations of the static CSs or to study the scenario where the CSs are dynamic and can change their locations during the OCA life-cycle. Finally, an open research challenge can be considered to detect and predict different crowded areas by using a new supervised machine learning techniques.

Data Availability

The selected instances, used to evaluate the performance of MILP-MPCT model to solve the MPCT problem, are taken from the 840 PCT instances generated by [51] and are available via the following link: https://shortest.link/38ZH. The selected instances and the whole experimental results of the MILP-MPCT model simulation are available in the Google Drive repository via the following persistent link: https://rb.gy/sd9bmk.

Conflicts of Interest

All authors declare that they have no conflicts of interest.

Acknowledgments

The authors extend their appreciation to the Deputyship for Research & Innovation, Ministry of Education in Saudi Arabia for funding this research work through the project number MoE-IF-G-20-08.