Abstract
Edge server placement (ESP) is a critical determinant of service quality in edge–cloud computing systems, yet existing solutions often neglect the inherent collaboration between edge and cloud, leading to suboptimal performance under dynamic workloads. To address this gap, this paper proposes a novel meta-heuristic edge server placement algorithm based on the Coati Optimization Algorithm (COA). We first formulate the ESP problem as a constrained binary nonlinear programming model that explicitly incorporates edge–cloud collaboration, aiming to minimize the average request processing delay. The proposed COA-based solver features a compact one-dimensional encoding scheme that simultaneously represents server placement and request offloading decisions, a tailored boundary correction mechanism to enforce coverage and atomicity constraints, and a balanced exploration–exploitation strategy inspired by coatis’ natural hunting and escape behaviors. Extensive simulations are conducted, comparing the proposed algorithm against ten representative heuristic and meta-heuristic algorithms, including GA, PSO, DE, GWO, and their variants. The experimental results demonstrate that our algorithm significantly outperforms all compared methods in terms of the mean, minimum, and standard deviation of the overall average processing delay. Specifically, it achieves a 98.2% reduction in the mean delay relative to suboptimal algorithms while maintaining near-zero variance, confirming its effectiveness, efficiency, and robustness. The proposed algorithm provides a promising solution for service providers to enhance quality of service through optimal edge server deployment and request offloading under edge–cloud collaboration.
1. Introduction
In recent years, with the rapid development of technologies such as the Internet of Things (IoT) and 5G, a plethora of latency-sensitive applications have emerged, posing significant challenges to the traditional cloud computing paradigm. Edge computing, which deploys computational and storage resources at the network edge, enables low-latency, high-bandwidth services near data sources and has become a critical infrastructure supporting novel applications [1]. In an edge computing environment, the physical placement of edge servers directly impacts user request processing delay, server load balancing, and operational costs. However, the edge does not exist in isolation; its ability to collaborate with cloud centers is a core factor determining service quality. Therefore, how to scientifically deploy edge servers while considering edge–cloud collaboration has become a key issue for both academia and industry.
The edge server placement problem (ESPP) is typically modeled as selecting an optimal subset from candidate locations to deploy servers, subject to constraints such as server capacity and coverage range, with the objective of minimizing the average processing delay of user requests [2]. This problem is inherently a discrete combinatorial optimization problem with an NP-hard nature [3]. However, existing research often models the edge layer as an independent system, focusing solely on the processing delay of requests handled locally at edge servers. This approach overlooks the collaborative scenario where requests must be offloaded to the cloud center for processing when edge servers are overloaded or have insufficient resources. This simplification leads to a disconnect between placement decisions and the actual operational mechanism of edge–cloud collaboration. Consequently, the placement solutions derived from such models are often suboptimal in practice, failing to achieve theoretical optimality during real-world operation. Therefore, integrating edge–cloud collaboration mechanisms into the problem modeling phase to construct an optimization model that more accurately reflects actual operational patterns is a critical breakthrough point for enhancing the practicality of server placement solutions.
Recently, researchers have proposed various heuristic algorithms (e.g., greedy algorithms, simulated annealing) and meta-heuristic algorithms (e.g., Particle Swarm Optimization, Genetic Algorithms, Ant Colony Optimization) to address ESPP. While these methods can achieve relatively good solutions to some extent, they suffer from two main shortcomings. First, some algorithms converge slowly, are prone to getting trapped in local optima, and exhibit significant performance degradation when handling large-scale instances. Second, the vast majority of studies neglect the edge–cloud collaboration mechanism when designing optimization objectives. They fail to accurately model the complete path delay for requests that cannot be processed at the edge and must be offloaded to the cloud center. As a result, the solutions derived from these algorithms perform poorly under actual edge–cloud collaborative operations. Hence, there is an urgent need to investigate new optimization algorithms that can incorporate edge–cloud collaboration characteristics to overcome the performance bottlenecks of existing methods.
The Coati Optimization Algorithm (COA) is a novel meta-heuristic algorithm proposed in recent years, inspired by the cooperative hunting and predator evasion behaviors of coatis in nature [4]. By simulating the exploration and exploitation processes of a coati population within the search space, COA offers advantages such as few parameters, a simple structure, fast convergence, and strong global search capability. It has demonstrated excellent performance on various classic benchmark functions and engineering optimization problems. Based on this, this paper makes the first attempt to apply COA to the edge server placement problem. Innovatively, we incorporate the edge–cloud collaboration mechanism into the problem modelling phase by integrating the full-path delay into the optimization objective, encompassing both local edge processing and cloud center processing for offloaded requests. The aim is to leverage COA’s powerful optimization capabilities to solve this more practically relevant combinatorial optimization challenge, thereby reducing end-to-end request processing delay and enhancing service quality. Comparative experimental results validate that the proposed COA-based placement strategy, which integrates edge–cloud collaboration, consistently outperforms solutions from ten representative heuristic and meta-heuristic algorithms across various scenarios, demonstrating its effectiveness and potential. In summary, the main contributions of this paper are as follows:
- The ESPP is formally modelled as a binary nonlinear programming problem that incorporates edge–cloud collaboration, aiming to minimize the average request processing delay under practical constraints such as server capacity and coverage range.
- The Coati Optimization Algorithm (COA) is adapted and applied to solve the edge server placement problem for the first time. To the best of our knowledge, this study represents the initial attempt to employ COA in this domain, thereby broadening the algorithm’s application scope and offering a novel perspective on edge server placement optimization.
- Extensive simulations are carried out to evaluate the performance of COA against ten representative heuristic and meta-heuristic algorithms across a variety of scenarios. The experimental results consistently show that COA outperforms the compared methods in terms of solution quality, demonstrating its effectiveness and robustness for edge server placement.
2. Problem Formulation
In this paper, we consider an edge–cloud system as depicted in Figure 1, which comprises multiple user devices (UDs), several edge computing centers (ECs), and a central cloud. Each EC is equipped with a base station (BS) and may host one or more edge servers (ESs). Note that, due to the one-to-one correspondence between ECs and BSs, the terms EC and BS are used interchangeably throughout this paper. Requests generated by UDs can be processed either at an EC equipped with at least one ES or by the remote cloud. The core problem addressed in this paper is two-fold: determining the optimal placement of ESs and deciding where each request should be processed. This is precisely the decision-making process that service providers face when establishing or upgrading their edge computing infrastructure.
Figure 1.
The environment of edge–cloud. (BS—base station; EC—edge computing center; ES—edge server; UD—user device).
2.1. System Model
In the edge–cloud system under consideration, there are U (UDs) and B BSs. To establish or upgrade the infrastructure, the service provider has procured E ESs to be placed at a subset of the B BSs. For the i-th UD, its request is characterized by an input data size of and requires computing resources for processing. In this paper, we assume that each user device (UD) generates one request at any given time. This assumption is commonly adopted in edge computing research to simplify modeling and analysis without the loss of generality. Moreover, the assumption does not compromise applicability, as scenarios involving multiple requests can be handled by treating them as sequential arrivals or by logically representing a UD with concurrent requests as multiple virtual UDs. The j-th BS provides a wireless data transfer rate for receiving data from UDs. Due to the limited wireless coverage of each BS, a UD can only transmit its request to a BS within its communication range. We use a binary indicator to denote the coverage relationship between BSs and UDs, where indicates that the i-th UD is covered by the j-th BS, i.e., the distance between them is less than the maximum wireless transmission range of the BS; otherwise, . For the E edge servers, the computing capacity of the k-th ES is denoted by . The cloud, on the other hand, is assumed to provide a data transfer rate of W and a computing resource amount of C for each request processed.
In this paper, we assume that each UD generates exactly one request at any given time. This assumption is common in static edge server placement studies to simplify modeling and focus on the core optimization problem. As noted by the reviewer, this may oversimplify scenarios with bursty or concurrent traffic patterns. However, this assumption does not fundamentally restrict the applicability of our model: a scenario where a single UD issues multiple concurrent requests can be equivalently transformed by treating each request as originating from an independent virtual UD that shares the same location and coverage constraints. This transformation preserves the combinatorial structure of the problem while keeping the formulation tractable. Therefore, our model can be extended to more general workloads without changing the underlying optimization framework.
A solution to the edge server placement problem (ESPP) involves two key decisions: determining the BS with which each ES is associated, and deciding whether each request is processed at the edge (by an EC) or by the cloud. To formally represent a solution, we introduce two sets of binary variables, denoted by and . The variable indicates whether the k-th ES is placed at the j-th EC, as defined in Equation (1). The variable specifies whether the request from the i-th UD is processed at the EC associated with the j-th BS, as defined in Equation (2).
For each ES, it can be placed at only one EC. Therefore, the constraint in (3) must be satisfied for the k-th ES, meaning that only one variable in the set can take the value of one.
Meanwhile, each request generated by a UD can be processed either at exactly one EC or at the cloud. Thus, inequality (4) holds for the i-th UD. Specifically, when a request is offloaded to the cloud, we have for all j, i.e., .
Moreover, at the edge side, a request can be processed by an EC only if that EC is equipped with at least one ES. Consequently, Equation (5) imposes the following condition for the i-th UD and j-th EC: must be zero when no ES is placed at the j-th EC (i.e., ), and can be either zero or one when at least one ES is present ().
In addition, a request can only be offloaded to an EC that covers the corresponding UD. Hence, Equation (6) enforces that for the i-th UD and j-th EC, if and if .
2.2. Delay Model
Each request can be processed either at the edge or in the cloud. In what follows, we formulate the processing delay for these two cases, respectively.
2.2.1. Processing in Edge
When a request is offloaded to and processed at an EC, its processing delay consists of two components: the data transmission delay from the UD to the EC, and the computing delay incurred at the ESs hosted by that EC. For the j-th EC, the requests to be processed originate from the set of UDs . In this paper, we assume that the wireless networks of BSs employ Orthogonal Frequency Division Multiplexing (OFDM), ensuring that data transmissions from different UDs do not interfere with one another. The total amount of data to be transmitted from UDs to the j-th EC is . Consequently, the accumulated transmission delay for all requests processed by the j-th EC is given by .
The computing capacity of the k-th ES is denoted by . The set of ESs placed at the j-th EC is , and thus the total computing capacity available at the j-th EC is . Since the accumulated computational workload of requests processed at the j-th EC is , the accumulated computing delay for these requests is .
By combining these two components, the total delay incurred by processing all requests offloaded to the j-th EC can be formulated as in Equation (7).
2.2.2. Processing in the Cloud
When an EC experiences an excessive number of requests, its limited computing resources may lead to degraded service quality. In such cases, some requests can be offloaded to the cloud to take advantage of its abundant resource capacity. For a request offloaded to the cloud, its processing delay also consists of two components: the data transmission delay and the computing delay. The data transmission delay is the time required to transfer the input data from the corresponding UD to the cloud, which is given by for the request from the i-th UD. The computing delay for processing this request in the cloud is . Benefiting from the virtually unlimited resources of the cloud, all requests are processed without mutual interference. Note that when the request from the i-th UD is offloaded to the cloud, we have for all , which is equivalent to . Therefore, for all requests processed in the cloud, the accumulated data transmission delay is , and the accumulated computing delay is . Consequently, the total processing delay for all requests offloaded to the cloud can be formulated as in Equation (8).
2.2.3. Overall Delay
Based on the two cases discussed above, the overall average processing delay in the edge–cloud system is formulated as in Equation (9), where denotes the accumulated delay of requests processed at the edge, and denotes that of requests processed in the cloud. Therefore, the total accumulated delay for all requests in the system is given by .
2.3. Problem Model
Based on the above formulations, the edge server placement problem (ESPP) is modeled
as the optimization problem in Equation (10), which minimizes the overall average
processing delay to enhance service quality. Constraint (11) ensures that each edge server
is placed at exactly one base station (or edge computing center). Constraint (12) guarantees
that each request is processed either at exactly one EC or offloaded to the cloud.
Constraints (13) and (14) specify that a request can be processed at an EC only if the corresponding
base station covers the user device and the EC is equipped with at least one edge
server. Finally, Constraints (15) and (16) define the binary nature of the decision variables
for server placement and request offloading.
Obviously, the ESPP is a binary nonlinear programming problem, which is generally NP-Hard. Deriving the optimal solution would require exponential time complexity, making it impractical for real-world scenarios with large-scale deployments. Therefore, an efficient approximation or meta-heuristic approach is essential. In the next section, we employ the Coati Optimization Algorithm (COA), a state-of-the-art meta-heuristic, to solve the ESPP in a polynomial time complexity. The Coati Optimization Algorithm is particularly well-suited for this problem due to its strong global search capability, fast convergence speed, and simplicity in parameter tuning. Inspired by the cooperative behaviors of coatis in nature, COA effectively balances exploration and exploitation during the optimization process, enabling it to escape local optima and find high-quality solutions in complex solution spaces. These advantages make COA a promising candidate for addressing the combinatorial complexity inherent in the ESPP.
2.4. Formulation Extension
The binary nonlinear programming model presented previously captures the core ESPP under static conditions with edge–cloud collaboration. However, practical deployments often involve dynamic user mobility, time-varying workloads, multiple conflicting objectives, and heterogeneous edge resources. The current formulation can be extended along several dimensions without altering its essential structure.
2.4.1. Dynamic User Mobility and Time-Varying Requests
Let denote the coverage indicator at time t, and and the request characteristics. The system then evolves over a finite horizon . A natural extension is to adopt a receding horizon control framework: at each decision epoch , the operator solves the static ESPP using the predicted parameters for the next window . The solution (placement and offloading decisions) is applied for that window, after which the problem is re-solved with updated predictions. The same COA solver can be used repeatedly, optionally warm started from the previous solution to reduce computation. Alternatively, a multi-timescale formulation can separate slow (server placement) and fast (request offloading) decisions, similar to the stochastic programming framework in [5].
2.4.2. Multi-Objective Optimization
Service providers often need to balance delay against other criteria such as energy consumption, capital expenditure (CAPEX), operational cost (OPEX), or load fairness. The current model can be extended to a multi-objective formulation by replacing the scalar objective (average delay) with a vector . For example, energy consumption can be expressed as
where is the fixed power of an active base station, the server power, and the transmission energy per bit. The overall objective becomes , with Pareto optimality as the solution concept. The COA encoding remains unchanged; only the fitness evaluation is replaced by a Pareto based ranking (e.g., non-dominated sorting) combined with crowding distance. This yields a multi-objective optimization problem where the Pareto frontier captures the fundamental trade-offs among conflicting objectives (e.g., delay, energy consumption, and deployment cost).
2.4.3. Heterogeneous Edge Devices
The current model already allows servers to have different capacities . To capture further heterogeneity (e.g., different power profiles, memory, specialized accelerators), we can assign each server a type with corresponding attributes . The encoding and constraints are unchanged, but the objective can incorporate a preference for more efficient devices, e.g., by adding a term that penalizes energy inefficient server activation.
All extensions preserve the core binary decision variables and the COA operator design, making them incremental rather than disruptive. We leave these extensions as promising for future work and focus in this paper on the static, single-objective, homogeneous device case to clearly demonstrate the benefits of COA for edge–cloud collaborative ESPP.
3. Method
This section presents the proposed Coati Optimization Algorithm (COA) for solving the edge server placement problem (ESPP). We first describe the encoding scheme used to represent candidate solutions, followed by the fitness function, the detailed algorithmic steps, and finally the complexity analysis.
3.1. Solution Representation
A candidate solution for the ESPP must encode two types of decisions: (1) the placement of each edge server (ES) to a base station (BS), and (2) the offloading decision for each user equipment (UD) request. To efficiently represent these decisions while naturally satisfying the problem constraints, we adopt a one-dimensional vector of length , where E is the number of ESs and U is the number of UDs. The structure is detailed as follows.
3.1.1. Placement Part (First E Dimensions)
For the k-th ES (), the value denotes the index of the BS where this ES is deployed. This encoding directly corresponds to the binary decision variables by setting if and only if . Since each ES must be placed at exactly one BS, this representation inherently satisfies the atomicity constraint .
3.1.2. Offloading Part (Last U Dimensions)
For the i-th UD (), the value indicates where the request is processed:
- : The request is offloaded to the cloud.
- (with ): The request is processed at the edge computing center (EC) associated with BS j, i.e., .
The encoding must respect the coverage constraint: a request can only be processed at BS j if . Therefore, the feasible set for is . This ensures that the corresponding binary variables satisfy (with representing cloud processing) and when .
This representation avoids invalid solutions and reduces the need for complex repair mechanisms during optimization.
We note that the proposed encoding scheme can be readily extended to multi-objective formulations. For example, additional objectives such as deployment cost, energy consumption, or load fairness can be incorporated by constructing a composite fitness function (e.g., weighted sum or Pareto dominance) while keeping the same decision variables (server placement and request offloading). This flexibility enhances the practical relevance of our approach. A systematic multi-objective investigation, including the selection of appropriate Pareto-based ranking and diversity preservation mechanisms, is left as a promising exploration for future work.
3.2. Fitness Function
The fitness of a candidate solution is evaluated as the overall average processing delay defined in Equation (9). Given a specific placement and offloading decisions, we first compute the accumulated delay at each EC j as using Equation (7) and the cloud delay using Equation (8). The average delay is then
Since the objective is to minimize the average delay, a lower fitness value indicates a better solution.
3.3. The COA Algorithm for ESPP
The Coati Optimization Algorithm (COA) is a meta-heuristic inspired by the cooperative foraging and predator evasion behaviors of coatis. It maintains a population of N individuals (solutions) and iteratively improves them through two main phases: exploration (mimicking hunting) and exploitation (mimicking escape from predators). The algorithm adapts COA to handle the discrete search space of the ESPP, as outlined in Algorithm 1 and detailed as follows.
The proposed COA-based solver for the ESPP follows an iterative population-based search procedure inspired by the cooperative behaviors of coatis. The algorithm begins by initializing a population of N candidate solutions, each represented as a vector of length according to the encoding scheme described in Section 3.1. For each individual, the first E dimensions are randomly assigned integer values from one to B, representing the BS indices where each ES is placed. The remaining U dimensions are randomly assigned feasible offloading decisions, where each is drawn uniformly from the set , ensuring that coverage constraints are satisfied from the outset. After initialization, the fitness of every individual is evaluated using the average processing delay defined in Equation (18), and the global best solution is recorded.
The main loop of the algorithm runs for a predefined number of iterations . Each iteration consists of two sequential phases: exploration (hunting) and exploitation (escape), mimicking the natural behavior of coatis.
In the exploration phase, the current population is randomly partitioned into two groups: hunters and prey. For each hunter individual , a prey individual is randomly selected from the prey group. The hunter then updates its position according to the following rule:
where r is a random number uniformly distributed in , I is a vector of the same dimension as with each element randomly chosen from the set , and ⊙ denotes element-wise multiplication. This update mechanism allows the hunter to move toward the prey while incorporating stochastic perturbations, promoting global exploration of the search space. After computing the new position, a boundary correction procedure is applied to ensure that all dimensions lie within their feasible domains. Specifically, for placement dimensions , the value is rounded to the nearest integer and clamped to ; for offloading dimensions , the real value is mapped to the nearest feasible discrete option: if the value is close to zero, it is set to zero and otherwise it is set to the closest BS index j for which (with ties broken randomly). The fitness of the corrected new position is then evaluated, and if it is better than the original hunter’s fitness, the hunter is replaced; otherwise, the hunter remains unchanged.
| Algorithm 1 COA-based ESPP Solver |
|
In the exploitation phase, each individual in the population (including those updated in the exploration phase) attempts to improve its position by moving toward a local best solution , which can be either the best individual in its neighborhood or the global best found so far. The update rule for this phase is
where r is again a random number in . This formulation allows the individual to explore positions around the local best, effectively refining the solution in promising regions. After the update, the same boundary correction and fitness evaluation are performed, and the individual is replaced if the new position yields a lower (better) fitness value.
Following the exploitation phase, the global best solution is updated if any individual in the current population achieves a fitness value lower than the current best. The algorithm then proceeds to the next iteration until the maximum number of iterations is reached. Finally, the best found solution is returned as the output, representing the optimal or near-optimal ES placement and request offloading decisions for the given ESPP instance.
This iterative process balances exploration and exploitation through the two distinct phases, enabling the COA to effectively navigate the complex combinatorial search space of the ESPP while maintaining feasibility through the dedicated boundary correction mechanism.
3.3.1. Boundary Correction
For placement dimensions (), if the updated value is not an integer in , we round it to the nearest integer and clamp it to . For offloading dimensions (), we map the real value to the nearest feasible discrete option: if the value is close to zero, set ; otherwise, find the closest j with (ties broken randomly). This ensures feasibility after each update.
3.3.2. Time Complexity
The initialization phase requires operations to randomly generate feasible solutions for all individuals. Within each iteration, both the exploration and exploitation phases incur time, as each individual update involves vector operations of length . The fitness evaluation, which computes accumulated edge delays and cloud delay , can be optimized by precomputing aggregated sums, resulting in per evaluation. Since each individual undergoes fitness evaluation in both phases, the total per-iteration complexity remains . Therefore, over iterations, the overall time complexity of the proposed COA-based solver is , demonstrating linear scalability with respect to problem size and population.
Note that while the asymptotic complexity is linear in the problem dimension, the absolute runtime grows with . For extremely large instances (e.g., ), further optimizations such as sparse fitness evaluation or dimension reduction may be required.
4. Performance Evaluation
To evaluate the performance of the proposed COA-based algorithm, extensive simulations are conducted under a realistic edge–cloud environment, referring to related works [6,7,8,9]. The simulation parameters are configured as follows. The network comprises BSs and one cloud. The service provider plans to deploy ESs across these BSs. A total of UDs are randomly distributed within the coverage area, and each UD generates a single request at a time. The input data size of each request, denoted by , is uniformly drawn from the range MB, while the required computing workload follows a uniform distribution between 1 and 100 million instructions (MI). The computing capacity of each ES, , is randomly assigned between 10 and 100 million instructions per second (MIPS). The cloud is assumed to have abundant resources, providing a computing capacity MIPS and a data transfer rate Mbps for each request. Each BS provides a wireless data rate uniformly distributed between 10 and 100 Mbps for receiving uplink data from UDs. Every UD is randomly covered by a BS.
We compare the proposed COA with a set of representative heuristic and meta-heuristic algorithms, which are briefly described as follows:
- AllCloud: All requests are offloaded to the cloud for processing, without using any edge servers.
- AllEdge: All requests are processed at the edge, assuming sufficient edge resources are always available (though this may lead to overload).
- RAND: A random search method that generates random feasible solutions. It serves as a baseline to demonstrate the effectiveness of iterative improvement in meta-heuristics.
- MLF (Most Load First): A greedy heuristic that prioritizes placing ESs on the BSs with the highest total computational load from the UDs they cover.
- GA (Genetic Algorithm): A classic evolutionary algorithm using selection, crossover, and mutation.
- DE (Differential Evolution): A population-based stochastic optimization method that uses vector differences.
- PSO (Particle Swarm Optimization): A swarm intelligence algorithm inspired by social behavior of birds.
- GWO (Grey Wolf Optimizer) [10]: A meta-heuristic mimicking the leadership hierarchy and hunting mechanism of grey wolves.
- GWOA (Hybrid Grey Wolf–Whale Optimization Algorithm) [11]: A hybrid algorithm combining GWO and Whale Optimization Algorithm.
- MGTO (Modified Gorilla Troops Optimizer) [12]: An improved version of the Gorilla Troops Optimization algorithm.
- FOX [13]: A novel meta-heuristic inspired by the foraging behavior of foxes.
- PSOGA [14]: A hybrid algorithm that integrates PSO and GA to balance exploration and exploitation.
For all meta-heuristic algorithms (including COA, GA, DE, PSO, GWO, GWOA, MGTO, FOX, and PSOGA), we set the population size to and the maximum number of iterations to to ensure a fair comparison. Other algorithm-specific parameters are adopted from their default configurations in the MEALPY 3.0.3 library [15,16,17], a well-established toolbox for meta-heuristic optimization. Each experiment is repeated 20 independent times with different random seeds, and the results are reported in terms of the mean and standard deviation of the overall average request processing delay. This setup allows a comprehensive evaluation of the proposed COA against a wide range of state-of-the-art algorithms under identical conditions.
To comprehensively evaluate the performance of the proposed algorithm, we design the following experimental procedure. In each run, an edge–cloud simulation system is first randomly generated according to the aforementioned parameter setting. Subsequently, all comparison algorithms, including AllCloud, AllEdge, RAND, MLF, GA, DE, PSO, GWO, GWOA, MGTO, FOX, PSOGA, and the proposed COA, are executed on the same generated environment, and the overall average processing delay achieved by each algorithm is recorded. To ensure statistical reliability, this process is independently repeated 20 times, each with a different random seed to generate varying simulation environments. For each algorithm, we compute three key metrics from the 20 experimental results: the mean reflects the average solution quality and is used to evaluate effectiveness; the minimum (i.e., the best result among the 20 runs) indicates the algorithm’s optimization potential under ideal conditions, serving as a measure of efficiency, and the standard deviation captures the fluctuation across different environments, which assesses stability. By comparing these metrics comprehensively, we can systematically validate the superiority of the proposed COA method in solving the edge server placement problem.
The detailed experimental results under the configuration of 10 ESs, 50 BSs, and 1000 UDs are shown in Table 1, while the mean, minimum, and standard deviation of the measured overall average processing delay are visualized in Figure 2, Figure 3, and Figure 4, respectively. As shown in these results, the proposed COA algorithm outperforms all compared algorithms across all three evaluation metrics. Specifically, COA achieves the lowest average delay, minimum delay, and standard deviation, whereas the corresponding metrics of other algorithms are generally higher and exhibit greater fluctuations. This overall trend preliminarily indicates that COA possesses outstanding solution capability and stability when addressing the complex combinatorial optimization problem of edge server placement.
Table 1.
Processing delays (seconds) for 20 repeated executions under the configuration of 10 ESs, 50 BSs, and 1000 UDs.
Figure 2.
The mean overall average delay over 20 independent experimental runs.
Figure 3.
The minimum overall average delay over 20 independent experimental runs.
Figure 4.
The standard deviation of the overall average delay across 20 independent experimental runs.
Figure 2 presents the mean overall average delay of each algorithm over 20 independent runs. COA achieves a mean delay of only 0.0017 s, significantly lower than that of the suboptimal algorithms GA and PSOGA (both 0.0978 s), and more than two orders of magnitude lower than the traditional heuristic MLF (0.2355 s) and the baseline AllEdge (0.2446 s). Notably, while GA and PSOGA exhibit similar average performance, COA reduces the mean delay by approximately 98.2% relative to them. This substantial performance gain can be attributed to three key design features of COA: (1) a compact encoding scheme that directly enforces atomicity and coverage constraints, eliminating the need for repair heuristics that waste search effort; (2) a boundary correction mechanism that guarantees all individuals remain feasible, thus avoiding exploration of invalid regions; and (3) a balanced exploration–exploitation strategy derived from the cooperative hunting and escape behaviors of coatis, which enables COA to efficiently escape local optima and converge to high-quality solutions. This result clearly demonstrates the superiority of the proposed algorithm in solution quality, indicating that COA effectively explores the solution space to identify better server placement and request offloading strategies, thereby substantially reducing the average system processing delay.
Figure 3 illustrates the best (minimum) delay achieved by each algorithm across the 20 runs. The minimum value of COA is 0.0010 s, again far lower than those of other algorithms, among which GA and PSOGA achieve a minimum of 0.0834 s, while AllCloud reaches as high as 0.691 s. These data indicate that COA possesses exceptionally strong optimization capability, enabling it to approach the global optimal solution even in a single run, which reflects its efficiency. In contrast, although other meta-heuristic algorithms can obtain relatively good solutions, they still lag behind COA by an order of magnitude.
Figure 4 displays the standard deviation of the delay for each algorithm, which measures their stability across different environments. The standard deviation of COA is merely 0.0004, nearly zero, indicating that the algorithm is insensitive to initial conditions and environmental variations, consistently delivering high-quality solutions across diverse simulation scenarios. In contrast, the standard deviations of other algorithms are generally large: for instance, AllEdge exhibits a standard deviation of 0.0465, RAND 0.0419, and MGTO 0.0395, demonstrating significant performance fluctuations and poor reliability. Although GA and PSOGA achieve favorable mean values, their standard deviations reach 0.008, still far exceeding that of COA. Therefore, COA exhibits strong advantages in terms of stability.
In summary, the proposed COA algorithm comprehensively outperforms all compared algorithms across the three dimensions of the mean, minimum, and standard deviation. Compared with baseline schemes, COA significantly reduces processing delay. Compared with classical meta-heuristic algorithms (such as GA, PSO, and DE), COA not only finds superior solutions but also demonstrates exceptional stability. Even when compared with the hybrid algorithm PSOGA, COA exhibits clear and consistent advantages. These results provide strong evidence for the effectiveness, efficiency, and robustness of COA in solving the edge server placement problem, establishing it as a highly promising new method for this domain.
To further validate the statistical significance of the observed performance differences, we conducted paired t-tests and Wilcoxon signed-rank tests between COA and each baseline algorithm over the 20 independent runs. The resulting p-values are summarised in Table 2. For all comparisons, both tests produced p-values far below the conventional significance level of 0.001 (e.g., the largest p-value is on the order of ). These extremely low p-values provide strong statistical evidence that the improvements achieved by COA are not due to random chance. In particular, the Wilcoxon signed-rank test gave a consistent p-value of for every pair because COA outperformed the other algorithms in every single run. Together with the mean delay reduction of 98.2% and the near-zero variance, these statistical results firmly confirm the superiority, robustness, and reliability of the proposed COA-based solver for edge server placement.
Table 2.
Statistical significance tests between COA and baseline algorithms (paired t-test and Wilcoxon signed-rank test p-values).
5. Related Work
The edge server placement problem (ESPP) has attracted considerable research attention due to its critical role in determining the quality of service in edge computing systems. Existing studies have approached this problem from various perspectives, employing diverse optimization techniques ranging from evolutionary algorithms to mathematical programming and machine learning.
A large body of research focuses on evolutionary and meta-heuristic algorithms. Surayya et al. [18] conducted a comprehensive evaluation of several evolutionary algorithms for solving the ESPP, considering both delay and energy consumption optimization objectives. The compared algorithms included Genetic Algorithm (GA), Non-Dominated Sorting Genetic Algorithm II (NSGA-II), Particle Swarm Optimization (PSO), Ant Colony Optimization (ACO), and Teaching–Learning-Based Optimization (TLBO). Their experimental results demonstrated that ACO achieves superior performance among the evaluated methods. Lü et al. [19] proposed an adaptive rank-based coevolutionary learning Particle Swarm Optimization (PSO) algorithm that combines multiple PSO subpopulations with adaptive parameter control, achieving strong performance on edge server placement benchmarks. Focusing on delay and energy consumption optimization in ESPP, Moorthy et al. [20] proposed a nonlinear decreasing convergence factor to slow down convergence in early stages while accelerating it in later stages, thereby improving solution quality. Ghasemzadeh et al. [21] developed an NSGA-II-based approach to reduce workload variance and latency through optimal edge server placement. Xie et al. [22] proposed a directed-evolution Non-Dominated Sorting Genetic Algorithm (DNSGA) that eliminates conventional crossover operations and incorporates two problem-specific heuristics: a K-means-based task assignment module to reduce latency, and an efficiency-driven load migration strategy to balance server-side workloads. Given the demonstrated effectiveness of ACO, several studies have enhanced this approach. Havas et al. [23] proposed a multi-objective ant colony optimization algorithm incorporating a semi-greedy strategy to enhance efficiency, accelerate convergence, and reduce the search space during initial population generation. Zarei et al. [9] developed an ACO-based algorithm specifically designed to ensure balanced load distribution among servers, introducing two complementary heuristic algorithms: one for selecting the most suitable server for incoming workloads, and another for scheduling requests on each server based on their urgency and importance.
Beyond single-objective and single-algorithm designs, multi-objective optimization frameworks have also been explored. Kontos et al. [24] proposed a novel adaptation of the Multi-Objective Evolutionary Algorithm by Decomposition (MOEA/D) for edge server placement, embedding a heuristic algorithm to assist in chromosome fitness calculation. Their method leverages the similarity among neighboring subproblems in a multi-objective framework to efficiently approximate the underlying Pareto frontier, enabling balanced optimization of multiple conflicting objectives.
Clustering- and learning-based methods offer another orthogonal direction. Zhou and Abawajy [25] proposed a hybrid edge server placement approach combining Improved Spectral Clustering (ISC) and Q-Learning. In the first stage, ISC clusters base stations based on geographic distribution and connected user count to identify preliminary deployment locations. The second stage employs Q-Learning to dynamically refine these initial placements, ultimately determining optimal server locations. Wang et al. [26] developed an Advanced K-Means method that improves upon traditional K-means clustering to accommodate users with diverse requirements within a fixed area, aiming to maximize system profitability across different time periods. Zhang, Yu and Hu [27] presented a graph clustering-based edge server placement method that groups base stations according to geographic proximity and user density, then deploys servers at cluster centers; this reduces the number of candidate locations and improves scalability.
Finally, stochastic, uncertainty-aware and mobility-aware frameworks have been proposed to handle dynamic environments. Liu et al. [5] proposed a multi-timescale stochastic programming framework for edge server placement that distinguishes between strategic and tactical decision layers. Their approach operates on a large timescale (period) for strategic-layer decisions and a small timescale (slot) for tactical-layer adjustments. They designed a Lyapunov-based algorithm to solve the tactical-layer problem at each time slot, and a Markov approximation algorithm to address the strategic-layer problem in every time period, enabling adaptive placement decisions under dynamic conditions. Tran et al. [28] addressed deployment under uncertainty by formulating a stochastic model that captures fluctuating request rates and using robust optimization to guarantee service quality. Li [29] considered mobility-aware server placement and power allocation for randomly walking users, deriving analytical bounds on expected latency and energy consumption, and providing a framework that jointly optimizes server locations and transmission power.
Despite the significant contributions of these studies, several limitations remain. First, most existing works model the edge layer in isolation, neglecting the inherent collaboration between edge and cloud that characterizes real-world deployments. This oversight can lead to suboptimal solutions when edge resources are insufficient and requests must be offloaded to the cloud. Second, while various meta-heuristic algorithms have been applied to ESPP, the recently proposed Coati Optimization Algorithm (COA), which has demonstrated strong performance in other combinatorial optimization domains, has not yet been explored for edge server placement. Third, many existing approaches require complex parameter tuning or problem-specific heuristics, limiting their generalizability. To address these gaps, this paper explicitly incorporates edge–cloud collaboration into the problem formulation and presents the first application of COA to ESPP, with tailored encoding and boundary correction mechanisms that efficiently handle the discrete combinatorial search space while maintaining feasibility.
6. Conclusions
This paper addressed the edge server placement problem (ESPP) by incorporating edge–cloud collaboration into the optimization framework. We formulated the ESPP as a binary nonlinear program minimizing average processing delay and proposed a Coati Optimization Algorithm (COA)-based solver with tailored encoding and boundary correction. Simulations over 20 random environments show COA outperforms ten compared algorithms in mean, minimum, and standard deviation of delay, achieving a 98.2% reduction over suboptimal methods with near-zero variance, validating its effectiveness, efficiency, and robustness for enhancing edge service quality.
We acknowledge several limitations. The current model assumes static user locations and request patterns, whereas real-world edge systems face dynamic mobility and time-varying workloads. The binary nonlinear programming formulation may also face scalability challenges in extremely large deployments. To address these, we have outlined concrete future work directions, including the following: (i) extending the formulation to handle user mobility and time-varying requests via a receding-horizon or multi-timescale framework; (ii) developing multi-objective COA variants that consider energy consumption, deployment cost, and load fairness; (iii) incorporating heterogeneous edge devices with different power and accelerator profiles; (iv) performing ablation studies and sensitivity analyses across problem scales and workload distributions; and (v) validating the approach on real-world testbeds and large-scale simulators with detailed network protocols. We believe that the current work provides a solid foundation for these future investigations and offers a practical, high-performance solution for edge server placement under edge–cloud collaboration.
Author Contributions
Conceptualization, X.X.; methodology, Z.Z.; software, B.W.; validation, X.X.; formal analysis, B.W.; investigation, X.X.; resources, Z.Z.; data curation, X.X.; writing—original draft preparation, X.X.; writing—review and editing, B.W.; visualization, X.X.; supervision, Z.Z.; project administration, B.W.; and funding acquisition, Z.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the key scientific and technological projects of Henan Province (Grant No. 262102211130 and 252102211072).
Data Availability Statement
Dataset available on request from the authors.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| ACO | Ant Colony Optimization |
| BS | Base Station |
| COA | Coati Optimization Algorithm |
| DE | Differential Evolution |
| DNSGA | Non-Dominated Sorting Genetic Algorithm |
| GA | Genetic Algorithm |
| GWO | Grey Wolf Optimizer |
| GWOA | Hybrid Grey Wolf–Whale Optimization Algorithm |
| EC | Edge Computing Center |
| ES | Edge Server |
| ESPP | Edge Server Placement Problem |
| IoT | Internet of Things |
| ISC | Improved Spectral Clustering |
| MGTO | Modified Gorilla Troops Optimizer |
| MI | Million Instruction |
| MIPS | Million Instruction Per Second |
| MLF | Most Load First |
| MOEA/D | Multi-Objective Evolutionary Algorithm by Decomposition |
| PSO | Particle Swarm Optimization |
| PSOGA | Hybrid PSO and GA |
| TLBO | Teaching–Learning-Based Optimization |
| UD | User Device |
References
- Liu, J.; Du, Y.; Yang, K.; Wu, J.; Wang, Y.; Hu, X.; Wang, Z.; Liu, Y.; Sun, P.; Boukerche, A.; et al. Edge-Cloud Collaborative Computing on Distributed Intelligence and Model Optimization: A Survey. IEEE Commun. Surv. Tutor. 2026, 28, 5049–5080. [Google Scholar] [CrossRef] [Scilit]
- Sonkoly, B.; Czentye, J.; Szalay, M.; Németh, B.; Toka, L. Survey on Placement Methods in the Edge and Beyond. IEEE Commun. Surv. Tutor. 2021, 23, 2590–2629. [Google Scholar] [CrossRef] [Scilit]
- Bahrami, B.; Khayyambashi, M.R.; Mirjalili, S. Edge server placement problem in multi-access edge computing environment: Models, techniques, and applications. Clust. Comput. 2023, 26, 3237–3262. [Google Scholar] [CrossRef] [Scilit]
- Dehghani, M.; Montazeri, Z.; Trojovská, E.; Trojovský, P. Coati Optimization Algorithm: A new bio-inspired metaheuristic algorithm for solving optimization problems. Knowl.-Based Syst. 2023, 259, 110011. [Google Scholar] [CrossRef] [Scilit]
- Liu, H.; Wu, J.; Wang, Z.; Cao, B.; Gao, L. Joint Edge Server Deployment and Computation Offloading: A Multi-Timescale Stochastic Programming Framework. IEEE Trans. Mob. Comput. 2026, 25, 4535–4550. [Google Scholar] [CrossRef] [Scilit]
- Tang, J.; Jin, J.; Zhao, W.; Yang, S.; Xiang, Y.; Zhou, Z. User On-demand Driven MEC Servers Deployment from Collaborative Device-Edge-Cloud Network. IEEE Trans. Serv. Comput. 2025, 1–14, Early Access. [Google Scholar] [CrossRef] [Scilit]
- Pan, J.S.; Yang, Q.; Chu, S.C.; Chao, H.C. A Joint Edge Server and Service Deployment Method in C-RAN With Multilayer MEC for Multicommunities. IEEE Internet Things J. 2025, 12, 904–918. [Google Scholar] [CrossRef] [Scilit]
- Wang, B.; Zhang, Z.; Song, Y.; Chen, M.; Chu, Y. Application of Quantum Particle Swarm Optimization for task scheduling in Device-Edge-Cloud Cooperative Computing. Eng. Appl. Artif. Intell. 2023, 126, 107020. [Google Scholar] [CrossRef] [Scilit]
- Zarei, S.; Azizi, S.; Ahmed, A. Optimizing Edge Server Placement and Load Distribution in Mobile Edge Computing Using ACO and Heuristic algorithms. J. Supercomput. 2025, 81, 257. [Google Scholar] [CrossRef] [Scilit]
- Jiang, J.; Zhao, Z.; Liu, Y.; Li, W.; Wang, H. DSGWO: An improved grey wolf optimizer with diversity enhanced strategy based on group-stage competition and balance mechanisms. Knowl.-Based Syst. 2022, 250, 109100. [Google Scholar] [CrossRef] [Scilit]
- Obadina, O.O.; Thaha, M.A.; Althoefer, K.; Shaheed, M.H. Dynamic characterization of a master–slave robotic manipulator using a hybrid grey wolf–whale optimization algorithm. J. Vib. Control 2022, 25, 1992–2003. [Google Scholar] [CrossRef] [Scilit]
- Mostafa, R.R.; Gaheen, M.A.; Abd ElAziz, M.; Al-Betar, M.A.; Ewees, A.A. An improved gorilla troops optimizer for global optimization problems and feature selection. Knowl.-Based Syst. 2023, 269, 110462. [Google Scholar] [CrossRef] [Scilit]
- Mohammed, H.; Rashid, T. FOX: A FOX-inspired optimization algorithm. Appl. Intell. 2023, 53, 1030–1050. [Google Scholar] [CrossRef] [Scilit]
- Song, M.; An, M.; He, W.; Wu, Y. Research on land use optimization based on PSO-GA model with the goals of increasing economic benefits and ecosystem services value. Sustain. Cities Soc. 2025, 119, 106072. [Google Scholar] [CrossRef] [Scilit]
- Van Thieu, N. Welcome to MEALPY’s Documentation! 2026. Available online: https://mealpy.readthedocs.io/ (accessed on 15 May 2026).
- Van Thieu, N.; Barma, S.D.; Van Lam, T.; Kisi, O.; Mahesha, A. Groundwater level modeling using Augmented Artificial Ecosystem Optimization. J. Hydrol. 2023, 617, 129034. [Google Scholar] [CrossRef] [Scilit]
- Van Thieu, N.; Mirjalili, S. MEALPY: An open-source library for latest meta-heuristic algorithms in Python. J. Syst. Archit. 2023, 139, 102871. [Google Scholar] [CrossRef] [Scilit]
- Surayya, A.; Muzakkir Hussain, M.; Reddy, V.D.; Abdul, A.; Gazi, F. Evolutionary Algorithms for Edge Server Placement in Vehicular Edge Computing. IEEE Access 2025, 13, 79030–79052. [Google Scholar] [CrossRef] [Scilit]
- Lü, J.; Huang, S.; He, Z.; Wang, F. An adaptive rank-based coevolutionary learning particle swarm optimization algorithm for server placement in edge computing. Expert Syst. Appl. 2026, 323, 132381. [Google Scholar] [CrossRef] [Scilit]
- Moorthy, R.S.; Arikumar, K.S.; Prathiba, B.S.B. An Improved Whale Optimization Algorithm for Optimal Placement of Edge Server. In Proceedings of the the Fourth International Conference on Advances in Distributed Computing and Machine Learning (ICADCML 2023), Rourkela, India, 15–16 January 2023; pp. 89–100. [Google Scholar] [CrossRef] [Scilit]
- Ghasemzadeh, A.; Aghdasi, H.S.; Saeedvand, S. Edge server placement and allocation optimization: A tradeoff for enhanced performance. Clust. Comput. 2024, 27, 5783–5797. [Google Scholar] [CrossRef] [Scilit]
- Xie, X.; Xu, J.; Chen, Q.; Gong, S.; Zhang, T. Multiobjective Optimization of Edge Server Placement in UAV Ad Hoc Networks. IEEE Internet Things J. 2026, 13, 5682–5693. [Google Scholar] [CrossRef] [Scilit]
- Havas, S.; Azizi, S.; Abdollahpouri, A. SG-MOACO: A semi-greedy multi-objective ACO method for edge server placement in mobile edge computing. Computing 2025, 107, 51. [Google Scholar] [CrossRef] [Scilit]
- Kontos, G.; Soumplis, P.; Makris, P.; Varvarigos, E. Multi-objective hierarchical edge infrastructure design for service chain workloads: A MOEA/D-driven joint planning and operation approach. Comput. Netw. 2026, 276, 111988. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Z.; Abawajy, J. Reinforcement Learning-Based Edge Server Placement in the Intelligent Internet of Vehicles Environment. IEEE Trans. Intell. Transp. Syst. 2025, 1–11, in Press. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Dong, H.; Jin, X.; Chen, Y. A profit-aware server deployment approach for edge computing. Computing 2025, 107, 16. [Google Scholar] [CrossRef] [Scilit]
- Zhang, S.; Yu, J.; Hu, M. An edge server placement based on graph clustering in mobile edge computing. Sci. Rep. 2024, 14, 29986. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Tran, D.A.; Truong, D.; Le, D. Strategic server deployment under uncertainty in mobile edge computing. Int. J. Parallel Emergent Distrib. Syst. 2026, 1–21, in Press. [Google Scholar] [CrossRef] [Scilit]
- Li, K. Mobility-aware server placement and power allocation for randomly walking mobile users. J. Parallel Distrib. Comput. 2026, 210, 105216. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.



