Next Article in Journal
Conv1D-GRU-Self Attention: An Efficient Deep Learning Framework for Detecting Intrusions in Wireless Sensor Networks
Previous Article in Journal
Detecting Emerging DGA Malware in Federated Environments via Variational Autoencoder-Based Clustering and Resource-Aware Client Selection
Previous Article in Special Issue
Internet of Things (IoT)-Based Solutions for Uneven Roads and Balanced Vehicle Systems Using YOLOv8
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A UAV Trajectory Optimization and Task Offloading Strategy Based on Hybrid Metaheuristic Algorithm in Mobile Edge Computing

1
Center for Applied Mathematics of Guangxi, Yulin Normal University, Yulin 537000, China
2
School of Computer and Electronic Information, Guangxi University, Nanning 530004, China
*
Author to whom correspondence should be addressed.
Future Internet 2025, 17(7), 300; https://doi.org/10.3390/fi17070300
Submission received: 28 May 2025 / Revised: 26 June 2025 / Accepted: 30 June 2025 / Published: 3 July 2025

Abstract

In the UAV-assisted mobile edge computing (MEC) communication system, the UAV receives the data offloaded by multiple ground user devices as an aerial base station. Among them, due to the limited battery storage of a UAV, energy saving is a key issue in a UAV-assisted MEC system. However, for a low-altitude flying UAV, successful obstacle avoidance is also very necessary. This paper aims to maximize the system energy efficiency (defined as the ratio of the total amount of offloaded data to the energy consumption of the UAV) to meet the maneuverability and three-dimensional obstacle avoidance constraints of a UAV. A joint optimization strategy with maximized energy efficiency for the UAV flight trajectory and user device task offloading rate is proposed. In order to solve this problem, hybrid alternating metaheuristics for energy optimization are given. Due to the non-convexity and fractional structure of the optimization problem, it can be transformed into an equivalent parameter optimization problem using the Dinkelbach method and then divided into two sub-optimization problems that are alternately optimized using metaheuristic algorithms. The experimental results show that the strategy proposed in this paper can enable a UAV to avoid obstacles during flight by detouring or crossing, and the trajectory does not overlap with obstacles, effectively achieving two-dimensional and three-dimensional obstacle avoidance. In addition, compared with related solving methods, the solving method in this paper has significantly higher success than traditional algorithms. In comparison with related optimization strategies, the strategy proposed in this paper can effectively reduce the overall energy consumption of UAV.

1. Introduction

As mobile edge computing (MEC) resources are integrated into a unified resource pool and different edge facilities work together, MEC, as an important complement to edge computing, is gradually being more widely used [1]. Unlike traditional fixed edge nodes, MEC provides flexible computing support through mobile devices or nodes, suitable for environments with dynamic network conditions or imperfect infrastructure, especially for future 6G network integrated communication, computing, and caching (3C) [2], such as intelligent transportation, augmented reality, and unmanned aerial vehicle (UAV) communication [3,4].
UAVs have the characteristics of flexible deployment, strong maneuverability, and efficient line-of-sight communication. By integrating computing resources on UAVs, they can achieve efficient computing task assistance processing for terminal devices, reduce system latency, and improve overall energy efficiency [5]. They are an ideal solution for dealing with environments with limited or missing infrastructure, such as military, rescue, and emergency response. At present, UAVs mainly act as air data relays, mobile access points and temporary base stations in MEC network systems. Due to the limited battery storage of a UAV, energy saving is a key issue in a UAV-assisted MEC system. However, for a low-altitude flying UAV, successful obstacle avoidance is also very necessary. Regardless of its form, its flight trajectory is related to the energy consumption and latency of the network and directly affects computing efficiency and the quality of service. In this context, ways to optimize the flight trajectory of UAVs and offload computing tasks reasonably have gradually become a hot topic in academia and industry research.
This paper focuses on a UAV-assisted MEC network system, which provides flexible communication services for multiple ground user devices at different heights in a complex three-dimensional (3D) obstacle environment by carrying caching and computing resources on the UAV as an aerial base station.
The main contributions of this paper are summarized as follows:
(1)
We study the MEC model for receiving data offloaded from multiple ground mobile devices in a single UAV multi-user scenario in 3D space, satisfying the constraints of UAV maneuverability and obstacle avoidance. We propose a joint optimization strategy with maximized energy efficiency (OPMEE) for the UAV flight trajectory and user device task offloading rate.
(2)
To solve this problem, hybrid alternating metaheuristics for energy optimization (HAMEO) are given. Firstly, the Dinkelbach method is used to transform the nonlinear fractional programming problem into a corresponding parameter optimization problem. Then, it is divided into two sub-optimization problems, which are alternately optimized using an improved genetic algorithm and the Arctic puffin algorithm.
(3)
The experimental results show that the strategy proposed in this paper can enable a UAV to avoid obstacles during flight by detouring or crossing, and the trajectory does not overlap with obstacles, effectively achieving two-dimensional and three-dimensional obstacle avoidance. In addition, compared with related solving methods, the solving method in this paper has significantly higher success than traditional algorithms. In comparison with related optimization strategies, the strategy proposed in this paper can effectively reduce the overall energy consumption of a UAV.
The organizational structure of this paper is as follows: Section 2 reviews related works. Section 3 gives the system model and problem description. Section 4 solves optimization problems. Section 5 presents the experimental results and analysis. Finally, we summarize the paper and provide prospects for further work in Section 6.

2. Related Works

In recent years, the application of UAV technology in the field of MEC has become increasingly widespread. More research works focus on key issues such as UAV trajectory optimization, resource scheduling, and computation offloading:
(1)
UAV trajectory optimization. The authors in [6] proposed a reinforcement learning (RL) solution acceleration framework based on an incomplete information communication model and quadcopter UAV energy consumption model, and they designed two responsive UAV trajectory planning algorithms to achieve energy consumption optimization. In [7], the authors proposed a three-layer integrated vehicle networking-based UAV-assisted MEC architecture, which optimizes the trajectory of the UAV, while satisfying the constraints of the evolution law of the vehicle energy consumption state, and maximizes the total system utility. In [8], Lu W. et al. proposed a secure communication scheme for a dual UAV MEC system based on successive convex approximation and block coordinate descent, effectively planning the UAV flight trajectory to maximize the user’s minimum secure computing capability. In [9], Abdel-Basset M. et al. proposed multiple multi-objective trajectory planning algorithms based on metaheuristic algorithms and Pareto optimality theory, which accurately plan the trajectory of UAVs to minimize the energy consumption of data transmission and UAV flight in IoT devices. In [10], the authors considered the deadline for completing tasks for ground users and proposed an offline optimal trajectory design algorithm and an online approximation algorithm suitable for multiple flight scenarios. By optimizing the number of flights and flight trajectories, the energy consumption of UAVs is minimized to the greatest extent possible. A low-complexity UAV trajectory prediction and vehicle selection method is proposed using federated learning, which exploits related information from past trajectories in [11]. In [12], the authors proposed an energy-aware grid-based solution for obstacle avoidance.
(2)
Resource scheduling and computation offloading. The authors aimed to minimize the total power and adopted centralized multi-agent algorithms and federated multi-agent RL algorithms to handle resource allocation and power control problems in the system in [13]. In [14], Ren Y. et al. proposed two offloading schemes based on game theory with the objectives of minimizing computation time and energy consumption, and they successfully determined the optimal offloading ratio. Li J. et al. [15] considered the energy limitation of UAVs and proposed a hybrid approach based on semi-Markov decision processes and deep reinforcement learning (DRL) with the goal of maximizing user task transfer throughput. Tian X. Z. et al. [16] aimed to reduce system energy consumption under latency constraints, and they designed a two-layer iterative algorithm based on a genetic algorithm framework to maximize system energy efficiency by optimizing service caching mechanisms, computation offloading strategies, and resource allocation methods. Wang S. et al. [17] proposed a collaborative multi-agent DRL framework that uses Markov decision processes to optimize the computation offloading strategy of UAVs, and they achieved system latency minimization and fairness between ground terminals. Liu Z. R. et al. [18] applied the idea of cooperative transmission to improve channel conditions and maximized computing efficiency (CE) by using reconfigurable intelligent surfaces (RISs) in MEC.
(3)
In addition to the research on specific issues mentioned above, there are also many studies that jointly optimize UAV trajectories, resource scheduling, and computation offloading. Hu J. et al. [19] proposed an offloading scheme based on near-end strategy optimization to minimize task processing latency, which synergistically optimizes the flight trajectory, task offloading rate, and communication resource allocation of UAVs. Li W. T. et al. [20] considered delay-sensitive tasks and proposed a solution scheme based on the block coordinate descent method to jointly optimize the UAV trajectory, resource allocation, and offloading decisions, which minimized the total energy consumption of the equipment. In [21], UAVs were used as air data relays, and a heuristic algorithm based on particle swarm optimization was proposed to minimize the execution time of user offloading tasks by jointly optimizing the UAV’s task scheduling and flight trajectory. Yang Z. et al. [22] proposed a UAV-assisted edge computing framework based on artificial intelligence and non-orthogonal multiple access, which minimized transmission delay and power consumption by jointly optimizing UAV deployment and resource allocation. Zhang Y. et al. [23] proposed a joint dynamic programming and bidding algorithm with the goal of maximizing the minimum secure computing capability of dynamic end users, through joint optimization of UAV offloading decisions, resource allocation, and trajectory planning. Zeng Y. P. et al. [24] proposed a two-stage dynamic optimization method based on Lyapunov optimization theory, which minimized the comprehensive energy consumption of the system by jointly optimizing task offloading, communication resource allocation, and the UAV 3D trajectory. Chen Y. et al. [25] propose a solution based on deep reinforcement learning for the optimization of UAV trajectories and resource allocation problems, which minimizes the energy consumption of mobile users under the constraints of system performance and UAV energy. Pervez F. et al. [26] proposed an alternating iterative method based on block descent in a multi-UAV-assisted network, which minimized the cost function based on energy and delay by jointly optimizing task offloading and MEC server selection decisions, transmission power, flight trajectory, and CPU frequency allocation.
Based on the analysis of the existing literature, the following problems still exist in the research on UAV-assisted MEC:
(1)
Most of the above studies are based on the premise that user devices are in the same plane, UAVs are flying at a fixed altitude, and the scene environment is naturally open. However, in the practical application of UAV-assisted edge computing, especially in complex scenes such as emergency rescue, the environmental conditions are complex and changeable, and key factors such as obstacles and user positions in 3D space need to be further considered.
(2)
The current research on performance indicators mainly focuses on latency, throughput, power, flight time, and energy consumption, and most of them are single or simply weighted. To improve system performance, the intrinsic correlation between multiple performance indicators in the MEC model can be comprehensively considered and jointly optimized.
(3)
Although traditional convex optimization methods are effective in simplifying models, the number of system variables increases and the complexity of the problem significantly increases in large-scale application scenarios. At this point, traditional convex optimization methods will no longer be applicable, and more advantageous metaheuristic algorithms can be considered for the solution.

3. System Model and Problem Description

The UAV-assisted MEC system model studied in this paper is shown in Figure 1. The system architecture U ( u = 1,2 , , U ) consists of a UAV equipped with high-performance edge servers and user devices distributed at different height levels, with K ( k = 1,2 , , K ) high-threat obstacles present in the scene. The UAV takes off from its initial position to perform communication service tasks. During the flight, it needs to dynamically avoid obstacles and provide stable communication service support for user devices. After completing the service period, the UAV returns to its initial position for energy supply. The user device adopts a partial offloading strategy, offloading some tasks to the UAV edge server for processing, while the remaining tasks are retained for local execution.

3.1. Network Model

To achieve discretization of continuous UAV trajectories, the UAV flight service period is T f divided into N equally long time slots, with each slot being longer δ t = T f N .
In the 3D Cartesian coordinate system, the flight altitude of the UAV is denoted as h ( t ) in a time slot t { 1,2 , , N } , and its projection coordinates q ( t )   in the horizontal plane are represented as x t , y t , while its position coordinates c ( t )   in 3D space are represented as q t , h ( t ) .
Due to the need for the UAV to return to the starting point after the service period ends, its trajectory must meet periodic constraints:
c ( 1 ) = c ( n )
In addition, during the flight of a UAV, the flight altitude h ( t ) , flight speed v ( t ) , and flight acceleration a ( t ) are, respectively, constrained by its maximum flight altitude h m a x , maximum flight speed v m a x , and maximum flight acceleration a m a x .
h ( t ) h m a x
v ( t ) = c t + 1 c t δ t v m a x
a ( t ) = v t + 1 v t δ t a m a x
If the 3D coordinates w u of user device u are x u , y u , z u , then the distance between the UAV and the u-th device is d u t , represented as w u c t 2 .
To simplify the analysis, this paper models obstacles using a cylinder. The center coordinates o k of the k-th obstacle are x k , y k , the radius is r k , and the height is l k . To ensure the safety of UAV flight, obstacle avoidance constraints can be decomposed into horizontal and vertical constraints:
| q t o k | r k + d s a f e
h t l k + d s a f e
where d s a f e is the preset safety margin. In a 3D environment, UAVs only need to choose between vertical crossing and horizontal circling to smoothly avoid obstacles. Therefore, combining the above two constraints produces
| q t o k | r k + d s a f e | | h ( t ) l k + d s a f e

3.2. Communication Model

For complex communication environments with obstacles, we use the Rayleigh fading channel model to characterize the wireless channel characteristics between UAVs and user devices, while considering the large-scale path loss determined by the propagation distance and the small-scale signal fading caused by multipath effects (including reflection, refraction, and scattering phenomena caused by obstacles). The channel gain between user devices and UAVs is expressed as
h u t = β u t g u t = β 0 d u t α g u t = β 0 | w u c t | α g u t
where β u t is the large-scale average channel power gain, β 0 is the reference channel gain when the distance between the sender and receiver is 1 m, and α is the path loss index. The small-scale fading coefficient g u ( t ) is represented as follows:
g u t = k u ( t ) k u t + 1 g + 1 k u t + 1 g ~
where g is the line-of-sight component and | g |=1, g ~ is a Gaussian random variable, and k u t is the Rayleigh factor:
k u t = K 1 e K 2 θ u t
In (10), K1 and K2 are environmental coefficients, and θ u t are the elevation angles between the user equipment u and the UAV in time slot t, expressed as
θ u t = arcsin [ h t z u / d u ( t ) ]
As can be seen from the above, the achievable rate between user equipment u and the UAV in time slot t can be expressed as
R u t = B u ( t ) 1 o g 2 [ 1 + | h u t | 2 p u ( t ) σ 2 Γ ]
where B u t and p u t , respectively, represent the bandwidth between the u-th user device and the UAV in time slot t, as well as the transmission power when the user device offloads tasks to the UAV. σ 2 is the noise power, and Γ > 1 represents the signal-to-noise ratio (SNR) difference between the theoretical Gaussian signal and the actual modulation and coding scheme.

3.3. Offloading Model

Due to the relatively small amount of data offloading from the UAV to user devices, the delay can be ignored. We consider offloading transmission delay in the UAV-assisted MEC system. We adopt the TDMA protocol for the data offloading of the active user devices. Each user device can transmit data in its own time slot, and thus the interference among different devices can be ignored. The UAV flight service period is T f divided into N equally long time slots, with each slot being longer δ t . For simplicity, suppose N = k, and the t-th time slot is allocated to the u-th user device for data offloading.
The amount of data that the user device u needs to process in time slot t is defined as l u ( t ) . Due to local computing limitations, user devices need to offload some tasks to the UAV for processing. The task offloading rate is denoted as η u ( t ) and η u ( t ) ( 0,1 ) . The amount of task data requested for processing by user device u in time slot t is
I u t = l u ( t ) η u ( t )
The offloading bandwidths obtained by the user device u at time slot t is denoted as b u ( t ) . Let B u ( t ) denote the total offloading bandwidth capacity in the system. The allocation of bandwidth needs to meet the constraints denoted by (14):
t = 1 N b u ( t ) B u ( t )

3.4. Energy Consumption Model

System energy consumption includes user device energy consumption and UAV energy consumption, among which UAV energy consumption consists of four parts: flight energy consumption, task receiving energy consumption, computing and processing energy consumption, and communication energy consumption. Due to the magnitude difference between user device energy consumption and UAV energy consumption, this paper only considers the top three types of energy consumption components in UAV energy consumption that are most affected by flight trajectory and offloading data.
The amount of data that the user device needs to process in time slot t is defined as l u ( t ) , where the number of CPU cycles required for processing each bit of data is C u . Due to local computing limitations, user devices need to offload some tasks to the UAV for processing. f represents the computing capability of the UAV.
The energy consumption of UAVs receiving pending tasks sent by user devices is
E u r e c ( t ) = p u ( t ) l u ( t ) η u ( t ) R u t
UAVs calculate the energy consumption of the tasks they receive:
E u c o m p ( t ) = l u ( t ) η u ( t ) C u f 2 ψ
where ψ depends on the capacitance coefficient of the UAV chip.
The energy consumption of UAV flight is mainly related to its flight trajectory and quality:
E f l y ( t ) = ξ ( | | c t + 1 c ( t ) | | δ t ) 2
where ξ = 0.5 M , with M the payload of the UAV.
Finally, we get the total energy consumption E t o t a l t , w h i c h is
E t o t a l t = E u r e c t + E u c o m p t + E f l y t .

3.5. Problem Definition

In the UAV-assisted MEC system, the limited airborne energy makes the balance between UAV energy consumption and computing task allocation a key issue. We aim to maximize the energy efficiency of UAVs by jointly optimizing their 3D flight trajectories and user device task offloading rates while meeting UAV maneuverability constraints and other communication resource limitations. The energy efficiency γ is defined as the ratio of the total number of data bits successfully processed by the UAV to the total energy consumed. The expression for γ is as follows:
γ = t = 1 N u = 1 U I u t t = 1 N u = 1 U E u r e c t + E u c o m p ( t ) + t = 1 N E f l y ( t )
where I u t is the number of task bits offloaded from user device u to the UAV in time slot t, and the total energy consumption of the UAV E u c o m p ( t ) includes three parts: flight energy consumption E f l y ( t ) , task receiving energy consumption E u r e c t , and computation and processing energy consumption. Formula (19) quantifies the relationship between task processing volume and total energy consumption, directly reflecting the energy efficiency performance of UAVs through γ. Therefore, a joint optimization strategy with maximized energy efficiency (OPMEE) for the UAV flight trajectory and user device task offloading rate problem can be modeled as
P 1 : m a x c t , η u ( t ) γ C S E s . t .   C 1 : | q t o k | r k + d s a f e | | h ( t ) l k + d s a f e C 2 : c ( 1 ) = c ( n ) C 3 : h ( t ) h m a x C 4 : v ( t ) v m a x C 5 : a ( t ) a m a x C 6 : 0 < η u ( t ) < 1 C 7 :   t = 1 N b u ( t ) B u ( t )
In problem P1, C1 represents the obstacle avoidance constraint of the UAV, C2 is the periodic constraint of UAV service, C3 to C5, respectively, limit the flight altitude, speed, and acceleration of the UAV, C6 specifies the feasible range of user task offloading rate in each time slot, and C7 limits the amount of migrated data in terms of bandwidth. The optimization of energy efficiency γ needs to be achieved through joint control of UAV trajectory c t and the task offloading rate. Trajectory optimization directly affects flight energy consumption and communication quality, while offloading rate allocation determines the utilization efficiency of computing resources. Constraints C1 to C7 jointly ensure the safety and service stability of UAVs in complex environments, providing clear boundary conditions for subsequent algorithm design.

4. Optimization Problem Solving

There are two main difficulties in solving problem P1: Firstly, the objective function has non-convex characteristics and a fractional structure. Secondly, there is a complex nonlinear coupling relationship between the optimization variables c t and η u ( t ) .
Regarding the first difficulty, we first use the Dinkelbach method to perform convex transformation on the fractional structure of the objective function, transforming the original non-convex problem into an equivalent solvable form. According to Dinkelbach’s method, the optimal solution of the original problem can only be obtained when formula (21) holds γ * . The proof process is detailed in references [27,28].
m a x c t , η u ( t ) t = 1 N u = 1 U I u t γ * t = 1 N u = 1 U E u r e c t + E u c o m p ( t ) + t = 1 N E f l y ( t ) = 0
Thus, P1 can be equivalently transformed into a parameter optimization problem regarding γ:
P 2 : m a x c t , η u ( t ) t = 1 N u = 1 U I u t γ t = 1 N u = 1 U E u r e c t + E u c o m p ( t ) + t = 1 N E f l y ( t ) s . t .   C 1 ~ C 6
where γ is a non-negative parameter. When solving P2, we first fix a value of γ, then optimize the variables and η u ( t ) update γ based on the current solution, and iterate until the algorithm converges to obtain the optimal solution γ * .
For the second difficulty, an alternating optimization strategy can be adopted to decouple and block the optimization variables, decomposing the original problem into two more easily solvable sub-problems: (1) Optimizing the user offloading rate under a fixed UAV trajectory. (2) Optimizing the UAV trajectory under a given offloading rate. The definitions and solutions for these two sub-problems are given below.

4.1. Task Offloading Optimization for User Device

Firstly, we discuss the η u ( t ) optimization problem P3 of the task offloading rate of user equipment u in time slot t under the condition of a fixed UAV trajectory. This sub-problem corresponds to the constraint condition C6 in P1, and its expression is as follows:
P 3 : m a x η u ( t ) f 1 ( γ ) s . t .   C 6
where f 1 ( γ ) is related to γ .
f 1 ( γ ) = t = 1 N u = 1 U I u t γ t = 1 N u = 1 U E u r e c t + E u c o m p ( t )
P3 is essentially a complex combinatorial optimization problem, and traditional mathematical programming methods are difficult to effectively solve. This paper proposes an optimization scheme based on the genetic algorithm (GA), which dynamically adjusts the offloading rate through a biomimetic evolution mechanism. The specific improvements are as follows:
(1)
Design of fitness function
Maximizing f 1 ( γ ) requires balancing data processing and energy consumption costs, and when the UAV trajectory is fixed, the flight energy consumption E f l y ( t ) is pre-calculated by trajectory planning and treated as a constant term, so f 1 ( γ ) can be directly used as the fitness function.
(2)
Encoding and population initialization
Using a real number encoding strategy, chromosome individuals are represented by U*N-dimensional vectors, corresponding to the offloading rates of U user devices in N time slots. By using a balanced initialization strategy based on preset initial values η u ( t ) ( 0,1 ) to generate an initial population, ensuring population diversity, the size of population N p 1 needs to balance search efficiency and computational costs.
(3)
Genetic manipulation design
Selection operation: Adopting a tournament selection strategy, randomly selecting k individuals from the population and retaining the one with the highest fitness to enter the next generation. This strategy can maintain selection pressure while avoiding excessive dependence on extreme fitness values in roulette wheel selection.
Cross operation: Using arithmetic crossover to generate offspring individuals based on the characteristics of continuous variables. Let the individual parents be η 1 and η 2 , the individual child be η , generated by η = α 1 η 1 + ( 1 α 1 ) η 2 , where α 1 [ 0 , 1 ] is a random weight, to enhance global exploration ability.
Mutation operation: Non-uniform Gaussian mutation is used. To the gene η u ( t ) , perturbation η u ( t ) = η u ( t ) + N(0, σ t 2 ) is applied, where σ t is the mutation intensity parameter, followed by boundary repair (truncation when exceeded). The mutation rate P m decreases adaptively with the number of iterations, encouraging diversity in the initial stage and strengthening the local search in the later stage.
(4)
Constraint handling and computation acceleration
Constraint C6 is guaranteed through a dual mechanism of direct restriction and post-mutation repair during the encoding stage. To reduce computational complexity, duplicate terms in the objective function can be precomputed and cached, and parallelized for fitness evaluation.

4.2. UAV Trajectory Optimization Problem

The corresponding solving variables for the UAV flight trajectory optimization problem under the condition of a known user device offloading rate are c ( t ) = q t , h t = [ x t , y t , z t ] , and this sub-problem corresponds to the constraint conditions C1~C5 in P1. The expression for question P4 is
P 4 : m a x c ( t ) f 2 ( γ ) s . t .   C 1 ~ C 5
where f 2 ( γ ) is related to γ .
                  f 2 ( γ ) = γ t = 1 N u = 1 U E u r e c t + E u c o m p ( t ) + t = 1 N E f l y ( t )
It is obvious that problem P4 is nonlinear and complicated. In order to balance computational efficiency and solution quality, this paper uses the Arctic puffin optimization (APO) algorithm to solve this problem. The APO algorithm is a metaheuristic optimization algorithm proposed by Wang et al. [29], inspired by the survival and predation behavior of Arctic puffins. Due to its unique algorithm structure and novel iterative method, it has strong adaptive optimization capabilities.
The algorithm mainly consists of three stages: population initialization, aerial flight (global exploration), and underwater foraging (local development). The aerial flight stage utilizes the Levy flight and velocity factor mechanism to improve the global search ability, while the underwater foraging stage enhances the local development ability through synergistic effects and adaptive change factors. The following provides the biological mechanism and key description of using the APO algorithm to solve problem P4.
(1)
Design of fitness function
Based on the objective function f 2 ( γ )   and corresponding constraint conditions, a penalty function is designed to jointly construct the fitness evaluation criteria f 2 ( γ ) . For solutions that violate the constraint conditions, the penalty term P γ is defined as
P ( γ ) = k = 1 5 C k m a x 0 , g k ( γ ) 2
where C k ( k = 1,2 , 3,4 , 5 ) is the dynamic penalty coefficient used to adjust the punishment intensity, which increases with the number of iterations, and g k ( γ ) is the standard form of the constraint function corresponding to the k-th constraint condition. The final fitness function can be expressed as
f 2 ( γ ) = f 2 ( γ ) + P ( γ )
By balancing the value of the objective function with the degree of constraint violation, f 2 ( γ ) selects high-quality populations and eliminates inefficient solutions.
(2)
Population initialization
The initialization population of the APO algorithm is an N p 2 D 2 matrix X = [ X 1 , X 2 , , X N p 2 ] T , where N p 2 is the population size, D 2 is the variable dimension, and X i is a D 2 dimensional variable, where X i = [ X i 1 , X i 2 , , X i D 2 ] corresponds to the discrete coordinates of the 3D trajectory of the UAV in N time slots. In the classical APO algorithm, the initial individual’s position is usually randomly generated within a pre-determined range. To improve algorithm efficiency, the search direction is guided by initial values to avoid complete randomness and accelerate algorithm convergence. Among them, the initial value is obtained based on prior knowledge of the problem (corresponding to the coordinates of the UAV trajectory in the previous iteration when the inner loop alternately optimizes the UAV trajectory and offloading rate in Algorithm 1), and then Gaussian random perturbations are applied to the initial value to guide the search direction, balancing diversity and convergence.
(3)
Aerial flight phase
There are two main strategies used during the aerial flight phase. The first strategy is the aerial search, which simulates the low-altitude collaborative reconnaissance behavior of Arctic puffin populations to search for areas with abundant prey and fewer natural enemies. The dynamic adjustment mechanism of this strategy is as follows:
Y i j + 1 = X i j + ( X i j X r j )     L ( D 2 ) + R
R = round ( 0.5     ( 0.05 + rand ) ) α 2
where X i j represents the current position of the i-th Arctic puffin, X r j represents X i j excluding randomly selected Arctic puffins from the current population, and L( D 2 ) is a random number generated by Levy’s flight, α 2 ~ N o r m a l ( 0,1 ) .
The second strategy is diving predation. When prey is found in the air, Arctic puffins quickly change direction through high-speed diving to hunt. The position update mechanism during this stage is as follows:
Z i j + 1 = Y i j + 1 S
S = tan((rand-0.5) ∗ π)
where S is used as the velocity coefficient to simulate subduction behavior.
(4)
Underwater foraging stage
After diving into the water to forage, Arctic puffins will dynamically adjust their strategies according to different environments. The first step is to gather and forage, using a collective cooperative foraging strategy to gather and surround fish schools and observe peer behavior to determine the optimal diving point. The location update mechanism is as follows:
W i j + 1 = X r 1 j + F L ( D 2 ) X r 2 j X r 3 j , r a n d 0.5 X r 1 j + F X r 2 j X r 3 j   ,                         r a n d < 0.5
where X r 1 j , X r 2 j , and X r 3 j represent three randomly selected candidate solutions in the current population, except for X i j , and F represents the cooperative factor used to regulate foraging behavior.
After gathering to forage, when Arctic puffins perceive that the current foraging area is depleted of resources, they will adopt an enhanced search strategy, actively adjust their diving position, and explore new areas to maintain food supply. The location update mechanism during this process is as follows:
Y i j + 1 = W i j + 1 1 + f 2
f 2 = 0.1 r a n d 1   J j J
where J represents the total number of iterations, and j represents the current iteration round.
Arctic puffins may encounter other predators underwater, and in this case, they will use their predator avoidance strategy to trigger group avoidance behavior and cooperate to respond to predator threats. The specific location update mechanism is as follows:
Z i j + 1 = X i j + F L ( D 2 ) X r 1 j X r 2 j , r a n d 0.5 X i j + β 2 X r 2 j X r 3 j ,                             r a n d < 0.5
where β 2 is a random number uniformly distributed between 0 and 1.
Finally, to obtain the optimal solution, the solutions generated by gathering for foraging, enhancing search, and avoiding predation are merged, and the top N individuals are selected as the new population after sorting by fitness.

4.3. Joint Optimization Algorithm Design

(1)
Algorithm design
The energy efficiency maximization algorithm for joint optimization of the UAV flight trajectory and user device task offloading rate proposed in this paper is summarized as follows in Algorithm 1.
Algorithm 1: Hybrid Alternating Metaheuristics for Energy Optimization (HAMEO)
Futureinternet 17 00300 i001
(2)
Complexity analysis
The computational complexity of this algorithm is determined by two layers of iterations: the number iteration of the outer layer is k m a x , they alternately execute the GA algorithm and APO algorithm each time, and the total number of iterations is n m a x .
The single-run complexity of the GA algorithm is O ( T g a N p 1 U N ) , and the single-run complexity of the APO algorithm is O ( T a p o N p 2 3 N ) , where T g a and T a p o are the number of internal iterations of the GA and APO algorithms.
Therefore, the computational complexity of the algorithm can be expressed as O ( k m a x n m a x ( T g a N p 1 U N + T a p o N p 2 3 N ) ) , ignoring the constant and further simplifying it O ( k m a x n m a x ( U N ) , indicating that it mainly depends on the number of user devices U and the number of time slots N.
(3)
Convergence analysis
Algorithm 1 belongs to a two-layer alternating optimization framework, and its convergence depends on the following mathematical properties:
Outer loop: Based on the Dinkelbach method, the fractional programming problem is transformed into an iterative subtraction problem. In each iteration, the update of γ strictly monotonically increases, and the objective function has an upper bound. When | | γ k + 1 γ k | | ϵ , the ϵ - global optimal solution is reached.
Inner loop: Alternate optimization of η u ( t ) and c t , where, in problem P3 (genetic algorithm GA), the global search feature of GA ensures that the optimal η u ( t ) is approximated with a probability of 1 within a finite generation, but it needs to satisfy the elite retention strategy and appropriate mutation rate. In problem P4 (APO algorithm), APO ensures convergence to the local optimal trajectory c t under the constraint set convexity.
We set the maximum number of outer iterations to 50, convergence threshold to 0.3, optimal energy efficiency value to 1.3, and initial energy efficiency to 0.5. The results are showed in Figure 2.
We can observe that the sequence of the objective function is non-decreasing after each alternating optimization in (b). When the number of iteration is 17, the energy efficiency of outer iteration is converged and bounded in (a). According to the monotonic bounded theorem, Algorithm 1 must converge.

5. Experimental Results and Analysis

Consider a simulation network environment of UAV-assisted MEC, including a single UAV and U randomly distributed user equipment. The UAV starts from the origin (0,0,0) and returns to the origin after completing a task period. The experiment was conducted in the WIN10 environment based on the MATLAB R2020a platform, with a hardware configuration of an Intel Core i5-12400 processor and 16 GB of memory. Firstly, according to the simulation parameters in Table 1 (the settings of these parameters are from the relevant literature), variables were defined in the MATLAB script and the environment was initialized, including the random distribution of obstacles and user devices, channel models, and configuration of computing tasks. Then, the core module of the HAMEO algorithm in this paper is programmed and compared with the current mainstream algorithms in terms of performance. Finally, the MATLAB Graphics toolbox is used to visualize the experimental data.

5.1. UAV Trajectory Analysis

By conducting comparative experiments with different flight time slots, the U = 30 motion of the UAV in 3D space (Figure 3) and its 2D projection (Figure 4) were plotted for the number of user devices.
The experimental results show that the algorithm proposed in this paper can effectively achieve 3D obstacle avoidance. The UAV can avoid obstacles by circling or crossing during flight, and the trajectory does not overlap with the obstacles. Combining 2D trajectory analysis provides a more intuitive display. As the number of time slots increases, the spatial matching degree between the UAV trajectory and the user device position further improves, allowing it to move closer to the user side and effectively improving the quality of communication services.
To verify the performance advantage of the APO algorithm in solving problem P4, we compare it with three UAV trajectory planning algorithms: the GA [30], Ant Colony Optimization (ACO) [31], and Whale Optimization Algorithm (WOA) [32].
Figure 5 shows the running time required for each algorithm to achieve a stable UAV trajectory for the first time at different time slots. When the number of time slots was small, there was not much difference in the time consumption of each algorithm. As the number of slots increased, the time consumption of the GA and WOA increased rapidly, while the ACO algorithm grew slowly, and the overall time consumption of the APO algorithm remained relatively low.
It needs further explanation that as the number of time slots increases, the reason for the increase in the running time of each algorithm is mainly related to the expansion of the problem scale and the search mechanism of the algorithm itself. The number of time slots directly determines the number of discrete time steps in drone trajectory planning. The more time slots there are, the more trajectory points (position, velocity, direction, etc.) need to be optimized, resulting in linear or even polynomial growth in the dimensions of decision variables. For heuristic algorithms such as GA, WOA, ACO, and APO, the size of the solution space exponentially increases with the variable dimension. For example, GA (genetic algorithm): The cost of population evolution is high: as time slots increase, individual encoding lengths become longer, and the time required for crossover and mutation operations increases. The WOA relies on random concatenation and spiral update mechanisms. As the number of time slots increases, adjusting parameters (such as search radius) becomes more difficult and the convergence speed slows down. ACO needs to gradually construct the trajectory for each time slot, and increasing the number of time slots directly extends the iteration time. In this paper, APO utilizes problem decomposability to maintain a low time complexity.

5.2. Performance Analysis

To verify the energy efficiency advantages of the joint optimization strategy with maximized energy efficiency (OPMEE) for the UAV flight trajectory and user device task offloading rate strategy proposed in this paper, several different offloading strategies were compared.
(1)
Optimal Service Order and Flight Speed (OSOFS) [10]: A two-stage optimization algorithm is proposed to minimize the energy consumption of a single UAV-assisted MEC system during each flight.
(2)
Binary Offloading with Single UAV MEC (BOSU) [33]: A single UAV-assisted MEC is used to provide computing resources, where all user tasks are either executed on the user device or offloaded to the UAV MEC for execution, and the UAV flies according to the designed UAV trajectory.
(3)
Partial Offloading with Single UAV MEC (POSU) [34]: The user’s task can be divided into two parts, using the user device and UAV-assisted MEC to complete the computation with a given UAV trajectory.
As shown in Figure 6, the energy consumption of the UAV-assisted MEC system changes with the enhancement of UAV performance. Among them, the BOSU and POSU schemes have higher energy consumption, while the OSOFS and OPMEE schemes have lower energy consumption. With the enhancement of UAV-assisted MEC system performance, the energy consumption reduction of the OPMEE scheme proposed in this paper is more significant. The performance of UAV-assisted MEC systems can affect the trajectory and hovering time of UAVs, thereby affecting the total energy consumption, by affecting the computation delay of tasks. In BOSU and POSU schemes, due to the lack of trajectory optimization capability, UAVs have more wasteful trajectories, thereby increasing energy consumption. In addition, due to their excellent trajectory optimization capabilities and the ability to partition time slots and tasks more finely, the OSOFS and OPMEE schemes make more efficient use of edge network resources, resulting in lower energy consumption.
Figure 7 shows the trend of task offloading ratio as task complexity increases. The offloading ratio of the four task offloading schemes increases with the increase in task complexity, but the offloading ratio of BOSU and POSU schemes is significantly lower than that of OSOFS and OPMEE schemes. Therefore, whether the scheme has trajectory optimization is very important. When the complexity of tasks increases, in order to reduce energy consumption, user devices tend to migrate more tasks to UAV-assisted MEC. In the OSOFS and OPMEE schemes, UAV-assisted MEC performs task offloading and computation along optimized trajectories, thus increasing the task offloading ratio. The task offloading cost in BOSU and POSU schemes is relatively high, so the offloading ratio is lower than that in OSOFS and OPMEE schemes. Note that when task complexity increases 6, the offloading rate of OSOFS is bigger than OPMEE. We point out that OPMEE offloads as many tasks as possible to save energy consumption in the initial stage for saving energy consumption. When the task complexity reaches a certain level, such as 6, in order to balance energy consumption and optimize flight trajectories, the number of offloading tasks may be reduced. After that, a higher offloading ratio is recovered. That is to say, the algorithm will choose a balancing strategy between energy consumption and trajectory optimization.

6. Conclusions and Further Work

Due to the limited battery storage of a UAV, energy saving is a key issue in a UAV-assisted MEC system. However, for a low-altitude flying UAV, successful obstacle avoidance is also very necessary. This paper aims to maximize the system energy efficiency (defined as the ratio of the total amount of offloaded data to the energy consumption of the UAV) to meet the maneuverability and three-dimensional obstacle avoidance constraints of a UAV. A joint optimization strategy with maximized energy efficiency for the UAV flight trajectory and user device task offloading rate is proposed. In order to solve this problem, hybrid alternating metaheuristics for energy optimization are given. Due to the non-convexity and fractional structure of the optimization problem, it can be transformed into an equivalent parameter optimization problem using the Dinkelbach method, and then divided into two sub-optimization problems that are alternately optimized using metaheuristic algorithms. The experimental results show that the strategy proposed in this paper can enable the UAV to avoid obstacles during flight by detouring or crossing, and the trajectory does not overlap with obstacles, effectively achieving two-dimensional and three-dimensional obstacle avoidance. In addition, compared with related solving methods, the solving method in this paper is significantly higher than traditional algorithms. In comparison with related optimization strategies, the strategy proposed in this paper can effectively reduce the overall energy consumption of a UAV. Future research work can further expand to multi-UAV collaboration scenarios, exploring the task offloading relationship between multiple UAVs and user devices.

Author Contributions

Conceptualization, Y.Z.; methodology, A.L.; validation, Y.W.; investigation, Y.Z.; resources, Y.W.; writing—original draft preparation, Y.Z.; writing—review and editing, A.L. and G.W.; supervision, G.W.; funding acquisition, G.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Natural Science Foundation of China (62062007), Guangxi Natural Science Foundation (2025GXNSFAA069236), and Guangxi Key R&D Program (2024AB33144).

Data Availability Statement

Data available on request from the authors.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Cai, Q.; Zhou, Y.; Liu, L.; Qi, Y.; Pan, Z.; Zhang, H. Collaboration of Heterogeneous Edge Computing Paradigms: How to Fill the Gap Between Theory and Practice. IEEE Wirel. Commun. 2024, 31, 110–117. [Google Scholar] [CrossRef]
  2. Zhou, Y.; Liu, L.; Wang, L.; Hui, N.; Cui, X.; Wu, J.; Peng, Y.; Qi, Y.; Xing, C. Service Aware 6G: An Intelligent and Open Network Based on Convergence of Communication, Computing and Caching. Digit. Commun. Netw. 2020, 6, 253–260. [Google Scholar] [CrossRef]
  3. Cao, K.; Liu, Y.; Meng, G.; Sun, Q. An overview on edge computing research. IEEE Access 2020, 8, 85714–85728. [Google Scholar] [CrossRef]
  4. Taleb, T.; Samdanis, K.; Mada, B.; Flinck, H.; Dutta, S.; Sabella, D. On multi-access edge computing: A survey of the emerging 5G network edge cloud architecture and orchestration. IEEE Commun. Surv. Tutor. 2017, 19, 1657–1681. [Google Scholar] [CrossRef]
  5. Luo, J.; Wang, Z.; Xia, M.; Wu, L.; Tian, Y.; Chen, Y. Path planning for UAV communication networks: Related technologies, solutions, and opportunities. ACM Comput. Surv. 2023, 55, 193. [Google Scholar] [CrossRef]
  6. Huang, J.; Wu, B.; Duan, Q.; Dong, L.; Yu, S. A fast UAV trajectory planning framework in RIS-assisted communication systems with accelerated learning via multithreading and federating. IEEE Trans. Mob. Comput. 2025, 1–16. [Google Scholar] [CrossRef]
  7. Zhang, L.; Zhao, Z.; Wu, Q.; Zhao, H.; Xu, H.; Wu, X. Energy-aware dynamic resource allocation in UAV-assisted mobile edge computing over social internet of vehicles. IEEE Access 2018, 6, 56700–56715. [Google Scholar] [CrossRef]
  8. Lu, W.; Ding, Y.; Gao, Y.; Hu, S.; Wu, Y.; Zhao, N.; Gong, Y. Resource and trajectory optimization for secure communications in dual unmanned aerial vehicle mobile edge computing systems. IEEE Trans. Ind. Inform. 2021, 18, 2704–2713. [Google Scholar] [CrossRef]
  9. Abdel-Basset, M.; Mohamed, R.; Hezam, I.M.; Sallam, K.M.; Foul, A.; Hameed, I.A. Multiobjective trajectory optimization algorithms for solving multi-UAV-assisted mobile edge computing problem. J. Cloud Comput. 2024, 13, 35. [Google Scholar] [CrossRef]
  10. Ye, W.; Zhao, L.; Zhou, J.; Xu, S.; Xiao, F. Energy-Efficient Flight Scheduling and Trajectory Optimization in UAV-Aided Edge Computing Networks. IEEE Trans. Netw. Sci. Eng. 2024, 11, 4591–4602. [Google Scholar] [CrossRef]
  11. Fernando, X.; Gupta, A. UAV Trajectory Control and Power Optimization for Low-Latency C-V2X Communications in a Federated Learning Environment. Sensors 2024, 24, 8186. [Google Scholar] [CrossRef]
  12. Ghaddar, A.; Merei, A. EAOA: Energy-Aware Grid-Based 3D-Obstacle Avoidance in Coverage Path Planning for UAVs. Future Internet 2020, 12, 29. [Google Scholar] [CrossRef]
  13. Nie, Y.; Zhao, J.; Gao, F.; Yu, F.R. Semi-distributed resource management in UAV-aided MEC systems: A multi-agent federated reinforcement learning approach. IEEE Trans. Veh. Technol. 2021, 70, 13162–13173. [Google Scholar] [CrossRef]
  14. Ren, Y.; Xie, Z.; Ding, Z.; Sun, X.; Xia, J.; Tian, Y. Computation offloading game in multiple unmanned aerial vehicle-enabled mobile edge computing networks. IET Commun. 2021, 15, 1392–1401. [Google Scholar] [CrossRef]
  15. Li, J.; Liu, Q.; Wu, P.; Shu, F.; Jin, S. Task offloading for UAV-based mobile edge computing via deep reinforcement learning. In Proceedings of the 2018 IEEE/CIC International Conference on Communications in China (ICCC), Beijing, China, 16–18 August 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 798–802. [Google Scholar]
  16. Tian, X.Z.; Min, X.; Zhou, L. UAV-enabled Service Caching Edge Computing Optimal Computation Offloading and Resource Allocation Strategy. J. Chin. Comput. Syst. 2023, 44, 1557–1562. [Google Scholar]
  17. Wang, S.; Song, X.; Song, T.; Yang, Y. Fairness-aware computation offloading with trajectory optimization and phase-shift design in RIS-assisted multi-UAV MEC network. IEEE Internet Things J. 2024, 11, 20547–20561. [Google Scholar] [CrossRef]
  18. Liu, Z.; Li, Z.; Gong, Y.; Wu, Y.-C. RIS-Aided Cooperative Mobile Edge Computing: Computation Efficiency Maximization via Joint Uplink and Downlink Resource Allocation. IEEE Trans. Wirel. Commun. 2024, 23, 11535–11550. [Google Scholar] [CrossRef]
  19. Hu, J.; Lin, J.; Li, Z.Q.; Xu, Y.L.; Zhang, S. UAV-assisted mobile edge computing based on proximal policy optimization. Comput. Eng. Des. 2025, 46, 974–982. [Google Scholar]
  20. WLi, T.; Zhao, M.; Wu, Y.-H.; Yu, J.-J.; Bao, L.-Y.; Yang, H.; Liu, D. Collaborative offloading for UAV-enabled time-sensitive MEC networks. EURASIP J. Wirel. Commun. Netw. 2021, 2021, 1. [Google Scholar]
  21. Zhang, B.; Zhang, G.; Ma, S.; Yang, K.; Wang, K. Efficient Multitask Scheduling for Completion Time Minimization in UAV-Assisted Mobile Edge Computing. Mob. Inf. Syst. 2020, 2020, 8791030. [Google Scholar] [CrossRef]
  22. Yang, Z.; Chen, M.; Liu, X.; Liu, Y.; Chen, Y.; Cui, S.; Poor, H.V. AI-driven UAV-NOMA-MEC in next generation wireless networks. IEEE Wirel. Commun. 2021, 28, 66–73. [Google Scholar] [CrossRef]
  23. Zhang, Y.; Kuang, Z.; Feng, Y.; Hou, F. Task offloading and trajectory optimization for secure communications in dynamic user Multi-UAV MEC systems. IEEE Trans. Mob. Comput. 2024, 23, 14427–14440. [Google Scholar] [CrossRef]
  24. Zeng, Y.P.; Xia, Y.T.; Jiang, W.W.; Liu, Y.Q. Research on UAV-Assisted Mobile Edge Computing Strategy with Weighted Energy Minimization. Comput. Eng. 2024, 50, 288–297. [Google Scholar]
  25. Chen, Y.; Yang, Y.; Wu, Y.; Huang, J.; Zhao, L. Joint trajectory optimization and resource allocation in UAV-MEC systems: A lyapunov-assisted DRL approach. IEEE Trans. Serv. Comput. 2025, 18, 854–867. [Google Scholar] [CrossRef]
  26. Pervez, F.; Sultana, A.; Yang, C.; Zhao, L. Energy and latency efficient joint communication and computation optimization in a multi-UAV-assisted MEC network. IEEE Trans. Wirel. Commun. 2023, 23, 1728–1741. [Google Scholar] [CrossRef]
  27. Wu, Q.H.; Wu, W. Algorithm design on energy efficiency maximization for UAV-assisted edge computing. J. Commun. 2020, 41, 15–24. [Google Scholar]
  28. Guerekata, G.M.N.; Verma, R.U. Generalized Fractional Programming; Nova Science Publishers: New York, NY, USA, 2017. [Google Scholar]
  29. Wang, W.-C.; Tian, W.-C.; Xu, D.-M.; Zang, H.-F. Arctic puffin optimization: A bio-inspired metaheuristic algorithm for solving engineering design optimization. Adv. Eng. Softw. 2024, 195, 103694. [Google Scholar] [CrossRef]
  30. Xu, H.; Niu, Z.; Jiang, B.; Zhang, Y.; Chen, S.; Li, Z.; Gao, M.; Zhu, M. ERRT-GA: Expert Genetic Algorithm with Rapidly Exploring Random Tree Initialization for Multi-UAV Path Planning. Drones 2024, 8, 367. [Google Scholar] [CrossRef]
  31. Zhang, C.; Hu, C.; Feng, J.; Liu, Z.; Zhou, Y.; Zhang, Z. A self-heuristic ant-based method for path planning of unmanned aerial vehicle in complex 3-D space with dense U-type obstacles. IEEE Access 2019, 7, 150775–150791. [Google Scholar] [CrossRef]
  32. Li, Y.; Gao, A.; Li, H.; Li, L. An improved whale optimization algorithm for UAV swarm trajectory planning. Adv. Contin. Discret. Models 2024, 2024, 40. [Google Scholar] [CrossRef]
  33. Guo, H.; Liu, J. UAV-Enhanced Intelligent Offloading for Internet of Things at the Edge. IEEE Trans. Ind. Inform. 2020, 16, 2737–2746. [Google Scholar] [CrossRef]
  34. Hua, M.; Wang, Y.; Li, C.; Huang, Y.; Yang, L. UAV-Aided Mobile Edge Computing Systems with One by One Access Scheme. IEEE Trans. Green Commun. Netw. 2019, 3, 664–678. [Google Scholar] [CrossRef]
Figure 1. Model of UAV-assisted MEC system.
Figure 1. Model of UAV-assisted MEC system.
Futureinternet 17 00300 g001
Figure 2. The algorithm 1 convergence performance.
Figure 2. The algorithm 1 convergence performance.
Futureinternet 17 00300 g002
Figure 3. Three-dimensional trajectory maps of UAV with different flight time slots.
Figure 3. Three-dimensional trajectory maps of UAV with different flight time slots.
Futureinternet 17 00300 g003
Figure 4. Two-dimensional projection of UAV trajectories at different flight time slots.
Figure 4. Two-dimensional projection of UAV trajectories at different flight time slots.
Futureinternet 17 00300 g004
Figure 5. Running times for different trajectory optimization algorithms.
Figure 5. Running times for different trajectory optimization algorithms.
Futureinternet 17 00300 g005
Figure 6. MEC UAV frequency and energy consumption.
Figure 6. MEC UAV frequency and energy consumption.
Futureinternet 17 00300 g006
Figure 7. Task complexity and offloading ratio.
Figure 7. Task complexity and offloading ratio.
Futureinternet 17 00300 g007
Table 1. Simulation parameters.
Table 1. Simulation parameters.
ParameterDescriptionValue
DRange 1000 m × 1000 m × 50 m
T f Period duration 70 s
NNumber of time slots40
β 0 Average channel gain at 1 m−50 dB
σ 2 Noise−100 dBm
Γ Signal-to-noise ratio difference 8.2 dB
αPath loss parameter 2
B u t Bandwidth 1 MHz
p u ( t ) Device transmission power30 dBm
l u ( t ) Amount of data offloading by the device[1, 10] Mbit
C u CPU cycle required for unit bit data 10 3 cycles/bit
MUAV payload5 kg
v m a x Maximum speed of UAV20 m/s
a m a x Maximum acceleration of UAV5 m/ s 2
f UAV computing capability1 GHz
ψUAV capacitance coefficient 10 27
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zheng, Y.; Li, A.; Wen, Y.; Wang, G. A UAV Trajectory Optimization and Task Offloading Strategy Based on Hybrid Metaheuristic Algorithm in Mobile Edge Computing. Future Internet 2025, 17, 300. https://doi.org/10.3390/fi17070300

AMA Style

Zheng Y, Li A, Wen Y, Wang G. A UAV Trajectory Optimization and Task Offloading Strategy Based on Hybrid Metaheuristic Algorithm in Mobile Edge Computing. Future Internet. 2025; 17(7):300. https://doi.org/10.3390/fi17070300

Chicago/Turabian Style

Zheng, Yeqiang, An Li, Yihu Wen, and Gaocai Wang. 2025. "A UAV Trajectory Optimization and Task Offloading Strategy Based on Hybrid Metaheuristic Algorithm in Mobile Edge Computing" Future Internet 17, no. 7: 300. https://doi.org/10.3390/fi17070300

APA Style

Zheng, Y., Li, A., Wen, Y., & Wang, G. (2025). A UAV Trajectory Optimization and Task Offloading Strategy Based on Hybrid Metaheuristic Algorithm in Mobile Edge Computing. Future Internet, 17(7), 300. https://doi.org/10.3390/fi17070300

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop