Next Article in Journal
Static Loading Tests and Finite Element Analysis of Phosphogypsum Steel Truss Concrete Slabs
Previous Article in Journal
Evaluation of Connected Vehicle Pavement Roughness Data for Statewide Needs Assessment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Connecting Cities: Solving Optimal-Resource-Distribution Problem Using Critical Range Radius

by
Jorge L. Perez-Ramos
,
Ana M. Herrera-Navarro
and
Hugo Jimenez-Hernandez
*
Facultad de Informática, Universidad Autónoma de Querétaro (UAQ), Av. de las Ciencias S/N, Juriquilla, Querétaro 76230, Mexico
*
Author to whom correspondence should be addressed.
Infrastructures 2025, 10(9), 249; https://doi.org/10.3390/infrastructures10090249
Submission received: 29 June 2025 / Revised: 6 September 2025 / Accepted: 16 September 2025 / Published: 18 September 2025

Abstract

Navigating and planning optimal paths for resource delivery algorithms poses significant physical and technical challenges in urban areas, primarily due to the limitations of existing infrastructure. As smart cities continue to develop, the importance of these algorithms becomes increasingly evident. The saturation of current urban landscapes exacerbates the complexity of navigating essential resources. Navigating densely connected networks can be intricate and often requires substantial computational resources or additional algorithms, as it can easily transform into an NP problem. Unfortunately, there is a lack of explicit algorithms designed for navigating these networks, resulting in a dependence on heuristic approaches and previous network systems. This reliance can create computational challenges, as navigation in this context typically involves a combinatorial search space. Current advances in Morphological Mathematics (MM) help to model everyday tasks as processes in discrete spaces, which take advantage of the properties offered by the morphological operators. Morphological Shortest-Path-Planning (MSPP) is a recent solution that effectively calculates the optimal trajectory within complex graphs. By utilizing morphological operators, this approach takes into account discrete properties and maps the process as a complete implementation algorithm using integer logic. In larger cities, determining the optimal delivery route and time from a resource center is a common task. This process is influenced by factors such as average speed, travel time, and distance, which generate a complex graph representation of the town, complicating its analysis. This paper presents a strategy for computing and analyzing delivery times by determining the accessibility of reliable paths from a delivery center to potential destinations in dense urban areas. The strategy presented and the use of the MSPP approach are suitable for calculating the time spent delivering and the distance traveled in working journeys. The MSPP approach is found to be nearly 60 % more efficient than the reference approach for computing the optimal path in the case study presented.

1. Introduction

The nature, magnitude, and complexity of the road environment pose significant challenges for intelligent navigation systems [1,2]. One of the primary tasks in this context is selecting the most efficient route for logistical transfer management between two points of interest [3].
In this context, road infrastructure analysis is a critical component of urban and rural resources that support the livelihoods of the population. The infrastructure of transport routes is an indispensable part of the good development and economic growth of a region, reflecting its economic condition [4,5]. Transport and distribution logistics represent the final stage of the traditional product- and service-development life cycle [6]. This phase involves the effective, efficient, and safe transfer of goods and services from distribution centers to multiple delivery points, in order to meet the needs of the end customer. Companies need to reduce the variable costs and fixed costs associated with the processes of distributing goods, since these directly impact the final cost of the products. Specifically, variable costs usually include, among others, fuel costs when traveling a route or the time spent on each transfer. Therefore, these costs are directly influenced by the distance and duration of the trip. In a real-world context, it is necessary to consider various restrictions and parameters that depend on the route, length, and travel time [7,8,9].
Communication infrastructure is conceived as a complex network of interconnected networks that integrate land, rail, port, and air routes, whose function is to guarantee mobility and the efficient exchange of goods, services, and information. These elements are essential for facilitating communication between populated areas. Effective road communication is crucial, as it ensures that people, services, and supplies can reach their destinations quickly and safely, significantly enhancing the quality of life and driving socioeconomic growth in the population [10].
Currently, the literature defines an urban road network as a complex interconnected system, due to the large number of spatial components with intricate structures that interact with each other, which can be represented as a dense graph [11]. Roads in a city/town/country can be represented as a graph of interconnections, and finding the best route with minimum cost in a graph is a challenging task that requires NP-algorithms [12,13,14]. One of the most complex challenges arises when any position in an urban center does not rise with the road infrastructure due to the urban conditions.
An avenue network can be accurately modeled as a graph, and navigating this graph-based structure is a critical focus within graph theory. One of the primary objectives in this field is to identify the most efficient path. The literature offers numerous approaches to tackle this challenge, often constrained by the specific context in which they are applied. Nevertheless, these constraints enable the practical computation of solutions under certain conditions [15,16,17].
The main challenge we face is finding a suitable solution to the problem of finding the most efficient path. The network complexity of road infrastructures transforms the computation task for delivering the optimal solution into an NP-complete problem, as the working space is caused by combinatorial states that represent a complex network resulting from a large city. In the worst cases, the different approaches become undecidable [18]. Therefore, our study aims to develop a practical approach that identifies reliable solutions that closely approximate the optimal ones within a given timeframe and are suitable in terms of the computational resources needed. Finding the shortest path in a dense graph is considered an NP-complete problem [19]. Fortunately, the literature offers several methodologies that provide various efficient algorithms. These approaches use contextual information and operational experience to introduce a set of constraints, ensuring that the problem remains manageable within certain limits.
In this context, Morphological Mathematics (MM) offers a theoretical foundation for expressing and modeling systems as complex graph spaces through a set of structural operators. These operators create order relations that facilitate navigation and represent the modeling process as a discrete, enumerated space. This characteristic is crucial because it allows for a bijection with natural number spaces, enabling the expression of all morphological operators as integer operators. This approach optimally utilizes the computation capabilities of various CPU and GPU architectures, making it an ideal way of representing information.
MM introduces two fundamental operators: dilation and erosion. By combining these operators, we derive several filters, including opening, closing, and the morphological gradient. These operations modify input data based on a neighborhood constraint defined by a structural element, which acts as a vicinity criterion [20,21,22]. In most applications, MM serves as a generalized reference framework primarily used in grid structures. However, it is less frequently applied in graph spaces associated with a lattice through morphological operators [23,24].
In graph theory, the introduction of morphological operators enables the establishment of an order relation, which serves as a criterion for navigating and organizing complex graphs. These morphological operators function as predecessor and successor operators, creating a structured order relation and providing a theoretical mechanism for traversing complex graphs.
This work implements a generalized framework for identifying the minimum path between two designated points based on morphological operators, and a mechanism for traveling along these paths. The morphological approach begins with a minimally connected subgraph, and the total search space is referred to as the supremum. Morphological operators then define a travel mechanism based on the structural vicinity, which helps analyze possible paths and discover the optimal solution. The use of morphological operators creates an order relation that serves as a mechanism for detecting suitable paths in a directed graph. The Minimal Spanning Subgraph Problem (MSSP) represents one of the most recent morphological processes that utilize the properties of MM and provides an approach to computing the optimal path in directed grid spaces [25].
In the context of crowded cities, the delivery of goods and services presents a significant challenge due to the complex road infrastructure and varying operational conditions. Factors such as traffic lights, intersections, roundabouts, and traffic flow velocity—which can change depending on the time of day—make current planning methodologies increasingly complex. This complexity affects both response times and the efficient use of road infrastructure.
These factors have led to the development of new and efficient algorithms for computing path trajectories in dense networks. The Morphological Shortest-Path-Planning (MSPP) approach allows us to model the system as a discrete working space, utilizing a set of operators based on set theory. By integrating these elements, we can create efficient implementations using integer logic operators, which are well-suited for current processor architectures.
By referencing the MSPP algorithm alongside the physical locations of delivery centers, it becomes possible to devise effective strategies for analyzing local neighborhoods. This analysis aids in calculating delivery distance and time, thereby facilitating the implementation of planning strategies that take into account external factors such as time of day and average traffic flow velocity.
The proposed method involves sampling potential delivery destinations near the physical delivery center to assess the local vehicular infrastructure. This assessment aims to calculate the expected response times and travel speeds at various times of the day. The information collected will help identify reliable routes and trajectories throughout the week. These delivery strategies aim to enhance services, as the rapid delivery of goods—enabled by e-commerce and urban logistics—can significantly reduce response times in large cities and optimize the use of urban resources.
This work presents a case study analyzing the applicability of the MSPP algorithm, which was previously proposed and validated by [25]. The aim of this study is to develop a strategy for planning the most reliable paths to optimize resource distribution by calculating optimal routes based on the concept of critical impact range. This concept defines the range of trajectories generated from a distribution center and their effects when navigating through a graphical representation of a dense urban network of manageable complexity. The optimal routes are computed using the MSPP algorithm, which provides an efficient framework for navigation in dense graphs.
The proposed strategy is validated through an experimental process that identifies the most efficient routes, using a geographic image layer of the avenues in Mexico’s largest and most representative city as a foundation. This study focuses on distribution centers located in economically significant and densely populated areas, characterized by complex road networks and numerous interconnected avenues. These regions experience considerable variations in traffic speeds throughout the day. To analyze this, the MSPP algorithm is implemented in the case study. The results obtained demonstrate the effectiveness and applicability of the proposed methodology in real, dynamic, and complex urban environments.
MSPP, a contemporary method for urban path planning, offers several advantages when navigating crowded cities. Its primary characteristic is the use of grid–graph scenarios, which provide an efficient representation of large, densely populated urban areas with complex vehicular infrastructures. The basic algorithm ensures that all networks are connected. However, a modified version [26] enhances this capability by detecting disconnected networks and determining whether there is no connection between two locations within the urban infrastructure.
The main contributions of this paper are as follows:
  • A full mathematical morphological strategy for analyzing reliable path trajectories from a delivery center.
  • The calculation of reliable paths under the local neighborhood for delivering goods.
  • The computation of the delivery response time during the daytime and on working days for different delivery centers.
  • A proposed methodological framework to inspect the local neighborhood from a delivery center, aimed at computing the average response time for delivering goods.
The rest of the article is organized into sections. Section 2 presents a literature review of works considered relevant to the subject of this study. Then, Section 3 describes the details of the proposed method. Section 4 presents the experimental analysis and the results obtained, and discusses the findings. Finally, Section 5 presents the conclusions, discusses the limitations of the proposed case study, and describes any future work that may arise.

2. Literature Review

Since the beginning of the COVID-19 pandemic, the world has experienced significant changes in its consumption dynamics, highlighting a notable growth in demand for goods and services. This increase has generated significant opportunities in urban freight distribution. The task of distribution plays a fundamental role as the basis for commercial activities that support the economy and the dynamics of growing cities. However, indirect problems related to increased traffic flow and the quality of services have also been detected [27].
The fundamental problem of vehicle routing initially arises as an optimization task that complements the classic routing problem used in maritime oil transport between refineries. In this sense, a specific set of customers with potentially variable product demands is defined, and a centralized distribution center manages the delivery of goods to these customers through a predefined transport fleet that allows for efficient organization of distribution routes. The main objective is for the distribution of products to reach their destinations, covering the distance with the lowest possible cumulative cost, which in turn implies the minimization of operating resource costs and operating times. Various constraints defined by this use case are also considered [28].
Moutaoukil [29] classifies the problems associated with urban freight distribution into three large groups: the first, related to economic impact, covers problems of operational inefficiency and high service costs, among others; the second, focused on environmental impact, considers aspects such as CO 2 emissions, global warming, and excessive consumption of fossil fuels; finally, the third is related to social impact, which is reflected in issues of public health, traffic accidents, noise pollution, and customer satisfaction.
Based on this evidence, two key components can be identified that contribute to addressing these areas of opportunity. The first component generally focuses on the analysis of optimal routes, intending to reduce the calculation of discretized geodesic distances along avenues that must be traveled efficiently, minimizing costs and delivery times, and improving the customer experience. The second component focuses on analyzing the impact radius of distribution centers and the town topology, particularly in complex cities, to enable greater efficiency in delivery planning through parameters such as optimal routes and average traffic speeds. In complex cities, greater efficiency in delivery planning can be achieved through the use of parameters such as the best routes and average traffic speeds.

2.1. Distribution Center Location Logistics

The literature describes a hub as a unified distribution center where key tasks such as receiving, sorting, storing, and processing goods of various types are performed. These centers are essential for logistics management, as they allow for the implementation of more efficient distribution strategies, significantly contributing to cost reduction. Furthermore, each transport unit that departs from the distribution center can be considered a mobile mini-hub, as it transports various quantities of goods that are delivered along a pre-planned route, serving multiple customers located in the same area. The problem of hub location consists of determining the optimal locations for these centers, ensuring an efficient flow of goods. To achieve this, it is necessary to consider the operational scope of the fleet, avoiding areas with high overlap in delivery routes that could hinder or impede the logistics process [30].
Considering the aforementioned challenges and areas of opportunity, a disproportionate growth in demand is identified, along with urban management and logistics problems. Therefore, analyzing the impact radius based on distribution centers located in densely populated areas represents a promising strategy to reduce these problems [31,32].
Some works have proposed models based on the optimal location of micro-hub networks that allow the largest possible area in urban delivery services to be covered, as in [33]. These models are based on optimization algorithms for agile routing, which have proven effective in cities with high logistical complexity, such as the case study of Barcelona, where a large number of distribution centers with variable impact radii are required [10].
Bard and Nananukul [34] propose an integrated framework that includes production, inventory, and distribution planning, with the objective of satisfying customer demand by minimizing total costs. This type of model focuses on clearly defined objective functions, which include (i) minimization of logistics costs, considering the number of vehicles, their types, and load capacities; (ii) minimizing the total distance traveled; (iii) determining the minimum fleet necessary to complete deliveries; (iv) minimizing downtime or empty-vehicle runs; and (v) reducing penalty costs associated with non-compliance with customer service levels.
To address this problem, the model presented in [35] proposes a single hub as a unified distribution center with time-varying demand, a finite planning horizon, and a homogeneous fleet of vehicles for deliveries. The routing problem is solved using reactive tabu search, which allows for finding feasible solutions to the entire problem. However, the model faces significant challenges as the amount of information analyzed increases, due to the high computational complexity of the proposed approach.

2.2. Optimal Routes Approach

In the context of intelligent navigation, route planning represents one of the most relevant areas to consider. Some works introduce the concept of symmetry through bidirectional search techniques, thus optimizing the route calculation process. In practical scenarios, where complex real-world environments are represented as densely connected graphs, planning algorithms such as A * have established themselves as fundamental tools for determining the route with the lowest cumulative cost, according to a metric defined based on the analysis case.
To address this task, there are various approaches aimed at obtaining optimal routes. One of the most classic approaches is based on graph search techniques, among which the most notable are Dijkstra’s algorithm [36]—which has been improved and adapted with use-case-specific restrictions, expanding its applicability—and the A * algorithm, which uses a heuristic function to estimate the minimum cost required to reach the target node [37].
On the other hand, sampling-based algorithms, such as Rapidly Exploring Random Tree (RRT) [38] and Branch and Bound (B&B) [39], build random trees from samples of the search space, discarding trajectories that are not viable for achieving the objective.
However, there are strategies based on optimization functions, among which genetic algorithms [40], particle swarm optimization (PSO) [41], and ant colony optimization (ACO) [42] stand out, among others.
In [43], a model is proposed that addresses the problem of vehicle routing under delivery-time-window constraints. The total distribution radius is calculated using the A * algorithm, considering objective functions that incorporate penalties for delivery overtime, as well as customer satisfaction. This process is optimized using a hybrid algorithm based on ant colonies. Along these lines, various approaches are compared in Table 1, considering the search space addressed in each study, as well as the constraints and key factors included in the proposed models.
On the other hand, graph-based search approaches that determine the best possible route have proven to be a robust framework for this type of study [25,26]. This approach focuses on analyzing and predicting maximum reach ranges based on the geodesic distance, defined by the distribution environment and strategic location of centers in areas with dense commercial traffic, such as Mexico City. In addition to considering the geodesic distance as a relevant factor, the average traffic speed is incorporated into the analysis according to the time of day at which the delivery is simulated, as well as the delivery area in which it is carried out.

3. The Proposal

In this section, the main contribution of this paper is described: an efficient strategy to analyze starting from a distribution center, the capability to access all possible distribution zones, and computing the most feasible routes. This strategy employs the MSPP approach, proposed by Perez-Ramos et al. [25], which offers better balance in terms of computational complexity and computational resources than other well-accepted methods.

3.1. Search Criterion

The MSPP method employs morphological operators to evaluate the spatial neighborhood to identify potential path trajectories. This technique involves executing a series of dilation operations initiated from the origin node. Upon reaching the destination node, the frequency of dilation for each node generates a new topological surface. On this surface, the paths connecting the origin to the destination nodes represent the shortest trajectories, adhering to a semi-order relation. The semi-order relation is defined by the number of times each node was dilated. The main advantage of this approach is that it can be considered a hybrid search approach. While other approaches analyze the working space first by width or first by depth, this approach combines both methods, resulting in the first-depth–width approach. It takes advantage of the search-width criterion, which helps to create a small hypothesis that searches simultaneously over the working space, reducing the number of iterations required to reach the destination.
The MSSP algorithm starts with an initial graph denoted by x 0     G , where G is the working space. In our case, we refer to G as a power set of the grid space of connected zones from the grid, i.e, all possible connected subsets that serve as the initial state. After defining the initial position, x 0 , it undergoes a dilation process that iterates through all connected zones to x 0 and x i from the i-th iteration. Notationally, the destination is represented by D. The algorithm iterates until x i becomes intersected over its vicinity with the D subset. Then, the natural-order relation built from the number of times each node was dilated is used in reverse order to determine all possible path trajectories that correspond to the optimal solution.
The details of the algorithm are as follows: It uses the dilation operator δ λ iteratively, where each iteration reaches the neighborhood zones with the λ criterion of connectivity. Each dilation performed in the graph represents a step in the direction of all connected zones of the working space. Eventually, under the assumption that the destination becomes connected, it reaches it. This iterative process is encapsulated in a covering operator, which, in addition to dilating the graph, computes the number of times each node becomes dilated. Under this operation, we observe that the first node (reference) is eventually dilated n times. If the destination is reached at n times, the dilation frequency of the vicinity decays to unity until it reaches the destination, which has 1 dilation. Using a reverse operation, the path node that represents this step denotes the optimal path. The algorithm has the advantage that this consideration is not limited to one solution, i.e., the set of paths that follow these considerations represents the set of solutions with the minimum path.
This approach demonstrates computational efficiency by exploring both width and depth, thereby enabling the effective elimination of node regions that do not contribute to the optimal solution. The algorithm works on the assumption that solutions can be accessed through dilation, which may lead to a non-decidable state. However, as discussed in [25], this issue is addressed by implementing a conditional test that verifies whether the solution remains within a non-connected graph structure.
This characteristic makes it feasible to use the algorithm for work purposes, which necessitates an efficient algorithm that is decidable over the best path trajectory to be applied in the infrastructure of dense towns. The pseudo-code of MSPP is presented in Algorithm 1. However, in real scenarios, this algorithm might be given a high amount of consideration. The working space must be fulfilled to ensure connection and provide a nearly complete solution. If a destination place is not connected, the algorithm cannot be decidable.
Algorithm 1 Pseudo-code of Non-MSPP based from [25]
  1:
procedure MSPP ( x 0 ,   D ,   x * ,   G ,   λ )
  2:
    M     δ λ · n - times · δ λ · x 0 until reach D with the neighborhood λ
  3:
▹ Adopting as origin the starting point in the graph, through dilation the destination is reached.
  4:
   if D will not reach then
  5:
   return null path, the destination does not belong to the graph.
  6:
   end if
  7:
    M     1     δ λ · n - times · δ λ · D until reach x o with the neighborhood λ
  8:
 ▹ From destination D build a list with all possible paths that follow the step-by-step relation semi-order.
  9:
    P     D e t e r m i n e O p t i m a l P a t h
10:
    C     C o m p u t e C o s t ( P )
11:
   return P, C
12:
end procedure
The above limitation is improved in the second implementation of the algorithm given in [26]. The second implementation adds a restriction on the covering operator, which makes it decidable. This implementation adds an extra halting condition without increasing complexity, adding robustness. The implementation of the enhanced MSPP is presented in Algorithm 2, which introduces this algorithm and provides an in-depth explanation of the algorithm’s functionality, evaluating all theoretical capabilities and proving why the final lattice computed becomes the shortest path over the workspace.
Algorithm 2 Pseudo-code of decidable MSPP based on [26] and D     x *
  1:
procedure SearchProcess( x 0 ,   D ,   x * ,   G ,   λ )
  2:
    M     δ λ ( x 0 ,   D )   ▹ Iterates over the initial node until it reaches the destination.
  3:
    M n     Associate the matrix cost
  4:
   From the reference position s i     S 0
  5:
    C   Initializated with M n x 0
  6:
    P   Initialized with { }
  7:
   while until find a solution. do
  8:
   Compute the best step n i + 1     C ( n i ) according c
  9:
   Adds current traveling node { ( n i , n i + 1 ) } to P
10:
   Advance to the follow step n i + 1
11:
   Update path cost C width M n n i
12:
   end while
13:
return The path trajectory P and associated cost for traveling C
14:
end procedure

3.2. Implementation Issues

To summarize the concepts introduced in this chapter, the proposed methodology focuses on selecting a distribution center and evaluating its surroundings to estimate delivery routes. This process involves considering the size of the access area based on the chosen location, the distribution of vehicles, and the maximum distance that needs to be covered. This distance depends on the delivery infrastructure and can vary; larger zones tend to be more beneficial, as they reduce complexity in the analysis.
Next, the local neighborhood is analyzed to understand the topology (road infrastructure) surrounding the distribution center. The topology is crucial because the complexity and constraints of access can affect the actual distance that needs to be traveled to deliver goods. The distance traveled is referred to as the geodesic distance, as it represents the real adjacency of the roads that form the sequence of routes for delivering the goods. The Euclidean distances (the distance from the delivery center to the location in a direct line) are used to determine the complexity of delivering to each destination zone.
Following this, we used the neighborhood topology along with prior information about common destinations and potential delivery locations to assess neighborhood accessibility. Figure 1 and Table 2 illustrate the destination zones; these zones are used as a reference to understand the topology, establish the best criteria for delivering goods, and evaluate the best response time. Formally, the delivery center is denoted by a tuple D   =   ( x 1 ,   x 2 ) , which indexes the physical location in the geographical grid and the list of possible destinations Θ   =   { ( x 1 ,   x 2 ) } that represent geographical delivery locations. The maps were taken from Google Maps [45].
Based on this data, we computed a list of optimal delivery paths using the MSSP algorithm described in Algorithm 1. The optimal routes computed denote the geodesic shortest path and represent the most suitable routes to be taken. This list produced a set of optimal routes for deliveries in the area.
The previously visited places, combined with a sampling process, form a list of destinations. The first step involves determining their geographical locations. Once a map of the vitality structure is obtained, the next task is to compute potential and probable destinations within a proximity radius using the MSPP algorithm. This process is illustrated in Figure 2 for the Terminal Norte location. The geographical zone indicates the location of the distribution center. In this context, the proximity area is defined as approximately 2 km, the distance an operator can cover on a motorcycle. Using a motorcycle is preferred because it offers a dynamic mode of transport that is more effective in crowded scenarios.
The MSPP approach offers a good balance in terms of complexity and computer resources used. Its capability to work as a morphological process enables its implementation with integer logic, allowing for its efficient execution on most processor architectures. In [25], the authors conduct an in-depth analysis of the computational complexity of the approach based at three different algorithm stages, where all complexity measures are given with Big O notation in the worst case: (I) the analysis of morphological operators used; (II) the total of computational complexity required in the worst case to compute the best path; and (III) the complexity required to select the best choice at each step in the traveling process.
The complexity of the algorithm is expressed by Equation (1), where the principal expression parameters are given by a connected subgraph of x * from the working space G; the parameter λ represents a subset and denotes the neighborhood criterion named structural element; and the degree connection in the nodes x * is expressed by o *   =   | λ | . Finally, two extra parameters are defined by a constant value τ , which takes the value 2 or 3, depending on whether the process is weighted or not, and a k factor that denotes the maximum dilation required to reach a destination and avoid the algorithm becoming undecidable. Finally, to conduct a detailed complexity analysis, we need to determine the covering operator’s complexity, which is expressed as
O ( τ | x * |   ×   o *   ×   | λ |   ×   k )
The complexity required to build the best trajectory after reaching the destination D is given by | M x 0 | and the C criterion, resulting in
O ( | M x 0 | )   ×   O ( | N | )
Finally, the total complexity is the result of adding Equations (1) and (2) resulting in (3):
O ( τ | x * |   ×   o *   ×   | λ |   ×   k ) + O ( | M x 0 | )   ×   O ( | N | )

4. Experimental Analysis and Results

A case study was conducted to determine the delivery time on different days of the week and during daytime hours for Mexico City. The case study consists of an analysis of the setup of different delivery centers. Each delivery center aims to deploy various goods using motorized vehicles. The delivery centers are located in different city zones, resulting in varying local conditions in each case. The topology and complexity of vital resources, constraints, and behavior differ significantly. Despite the close similarity in the distance to be covered, the response times and distances are distinct. The delivery task starts from a delivery center and considers the locally accessible destinations surrounding it. Then, the proposed strategy aims to analyze the average distance and time required to reach a destination. This strategy aims to demonstrate and calculate the response along the most reliable and efficient paths to communicate with various destinations from the delivery center. With this information, a plan that takes into account the best times and distances will be generated. The local complexity of urban infrastructure poses a challenge in terms of efficiently determining city topology and zone connections. This kind of analysis helps establish better communication criteria, especially in dense urban towns like Mexico City. The applicability of the proposed approach is described in the cases presented in this study for further analysis.

4.1. The Context of Applying the Proposed Strategy

Planning and estimating deliveries from a distribution point in a large town represents a significant opportunity, as it directly impacts customer satisfaction and can make delivery planning more cost-effective, depending on the town’s local dynamics. To address this challenge, a strategy focused on delivery locations around a store was proposed. This strategy leverages potential delivery areas and sub-sampling locations to optimize the delivery process, enabling a better understanding of the local topology around a delivery center and the potential for proposing efficient deployment that manages delivery and distribution more efficiently.
By using this information, we can define a maximum delivery distance based on the physical distance from the store or delivery center. A list resulting from available locations enables us to determine the optimal delivery path using the MSPP approach, which constructs a dense graph based on the city’s layout. This graph is created to show the center of the average distribution within the maximum proximity radius. The computation considers the town’s structure and direction within this proximity perimeter.
The continuous evaluation of the best delivery path yields insights into the optimal physical delivery route. As a result, the distance distribution across all delivery routes provides valuable data, enabling us to calculate the expected distance that will need to be covered.
While physical distance is an essential factor, it only accounts for part of the task. Traffic flow throughout the day significantly influences the average speed of navigation within the town, which can be represented as a delay in arriving at each destination in our graph. By combining the average traffic flow with the expected delivery distances from the store throughout the day, we can anticipate the delivery times to various locations. This information serves as the basis for creating a delivery planning strategy, which is the primary objective of this work.

4.2. The Case Study

Mexico City, the capital of Mexico, is divided into five main zones: south, north, east, central, and west. It is the most densely populated city in Mexico, with the highest population density found in the central–northern zone. Consequently, certain densely populated areas have been identified where delivery services often incur high costs due to the time and distance needed for deliveries. The choice of location for establishing a delivery center directly impacts response times, delivery distances, and the local complexity of the viaduct infrastructure. These factors are context-dependent and influenced by vehicle flow at different times of the day and varying workdays throughout the week. Figure 3 illustrates the location of Mexico City and the candidate zones chosen for analysis, labeled as 1 to 5, representing strategic zones for installing delivery centers. The maps in Figure 3 were obtained from Google Earth and are used as a general reference to locate the areas analyzed in Mexico City [45]. In particular, Table 2 summarizes the specific candidate zones considered, indicating in a small map the geographical places that correspond to each center set up to deliver supplies.
The implementation of the proposed approach involves using the current town topology while adhering to existing flow restrictions and directions. In this analysis, the proximity radius is approximately 2 km (which represents a coverage area of around 12 km2), which is a manageable distance for a motorcycle. To illustrate the case study, we focus on one of the selected locations, Terminal Norte, and present the complete results for all locations in Section 4.4.
The experimental process requires the use of the MSPP (2024) algorithm [25], which offers a balance of complexity and computational resources. Please note that the analysis should be adjusted slightly according to the base algorithm used to compute the optimal path. The experimental process is conducted using the following steps, which are described in detail.
  • Selecting the geographic location of the distribution center: In this process, well-known distribution centers in the city are selected, located in central, high-traffic areas of Mexico City (see Table 2). This selection aims to evaluate the efficiency of the proposed approach in representative environments with high demand for this type of service. The selection of a particular zone is dependent on the delivery requirements to provide goods in the geographical zone.
  • Extracting topological information on avenue resources: This process involves encoding cities as a connected graph and creating nodes through this encoding process by modeling the map as a graph space with a 2D grid topology. In this topology, connected nodes represent sub-sampling from an area that constitutes a map. Intersections between avenues, which represent vital infrastructure, are used in a section of the map of the densely populated and complexly structured city of Mexico City. The graph is weighted based on the distance in a defined metric space to represent the connections between nodes accurately. The vertex detection method is used to segment the road and identify the maximum values of the distance transformation, which serve as nodes. The interconnection between the avenues generates arcs that serve to connect each pair of nodes.
  • Marking potential destinations near the distribution center: This step involves the previously known delivery points and those that will eventually become candidate destination zones. The working space will be considerably ample for analysis; random sampling is conducted to simulate the final delivery or distribution locations and the demand for goods. This sampling become equiprobable with a uniform random distribution. These delivery points will serve as a reference for calculating the optimal route, considering the average speed variables defined for the area being analyzed.
  • Application of the MSPP algorithm to determine the most efficient distribution route: This process defines route reach areas from a central distribution point and the maximum reach. This critical radius is defined under a Euclidean metric and geodesic distance. The Euclidean distance represents the physical neighborhood to be covered, and the geodesic distance represents the real distance covered after performing the deployments, considering the topology of the map. The structure of the avenues, streets, and highways defines the trajectories with a radius based on the geodesy of the scenario, calculating the maximum-reach radius of a service.
  • Analyzing the expected value to calculate the distance traveled to reach the destinations: In this stage, the impact is analyzed in multiple representative areas of the main distribution points in Mexico City. The objective is to evaluate the distance traveled to reach any target point, starting from the distribution center, which is considered the center of the affected area, considering both the expected Euclidean distance and the geodesic distance. The computed optimal paths help us determine the actual distances traveled during the delivery process, thereby enabling the computation of delivery times.
  • Calculating the time delay required to reach the expected destination based on the average traffic speed: Finally, a complementary analysis is carried out by comparing the length of the maximum-range geodesic routes with the estimated time it takes to travel in an average week, based on average traffic speed values in Mexico City for urban area.

4.3. Implementation Details and Computational Resources

For computational analysis, simulations were performed using GNU Octave 10.2.0, a free software environment compatible with MATLAB R2025a and using the M-language. This tool was used to implement algorithms for data processing and numerical analysis, ensuring the reproducibility of the experiments and facilitating access thanks to its open-source nature. The OpenBLAS Library supports specific Octave implementations as of version 0.3.30, which enables the use of multicore processing in certain matrix transformations. This library enables the use of morphological operations that support the use of Integer graph representation, which helps to improve the speed and efficiency of implementation. The use of Octave ensures transparency and reproducibility in the methods employed, facilitating the replicability of the results by the scientific community.
This strategy is implemented using the shortest-path approach, known as MSPP. The choice of the MSPP algorithm over other widely accepted algorithms is due to its lower computational resource requirements, especially when developing implementations based on integer logic. This feasibility arises from the properties of Mathematical Morphology. Suppose a weighted version of the algorithm is used. In that case, the discrete steps for processing data can be easily implemented by applying a minimum δ approach, which renormalizes the data in discrete increments. In terms of understanding the advantages of implementing MSPP, a comparison is made of the number of integer operations required to compute the best path in a satellite image. This comparison illustrates the efficiency of algorithms by comparing the brute-force counting of integer operations required to analyze the shortest path using different algorithms. The comparison illustrates the performance of the proposed approach compared to other well-accepted algorithms in performing the same task. As a remark, the performance of the other algorithms, in certain circumstances, is not measured in Integer Ops, because they implement float operations, which might decrease the performance of the system considerably. Table 3 summarizes the total number of integer operations (IntOps) needed to compute a satellite map with 3,450,132 million edges and 383,348 Mill vertices required to calculate and analyze a single satellite map with the MSPP Algorithm, Dijkstra Algorithm, and A * Algorithm. Dijkstra’s algorithms and Three A * have slightly worse values because they include an operation to compute a priority list, which adds an extra step to complete the task. The MSPP approach will not explicitly require a priority list, due to the covering operator, which measures the number of times a specific node becomes dilated. The resulting discrete surface is traversed in the reverse direction once the destination is reached, building the optimal path. The difference in computation reflects a gain of 59.8% with Dijkstra and more than 300% in Three A * , which shows a considerable advantage. In general terms, this gain will improve the priority list, which, in the case of this study and the current implementation of MSPP, becomes more reliable, particularly when there is a need to compute several optimal paths for a given delivery center in scenarios involving transporting resources to dense urban towns, and the coding and representation are expressed in terms of integer operations.

4.4. Results Analysis

Figure 2 shows satellite images comprising binary representations of vital resources and traffic flow within the city. The images encode all vehicular communication roads, expressed as marked zones. The information about the city’s avenues is represented as a graph space. The binary map is an effective navigable map, as it represent a graph of adjacent roads to navigate among the zones. The digital images were the result of binarizing a vector image with all urban infrastructure. The dimensions of these images were 20.000 × 20.000 pixels.
The algorithm’s input image is derived from candidate locations designated as distribution centers and available distribution destinations, while also considering the surrounding areas for goods delivery. We employ feasible destination zones, complemented by random sampling from these candidate zones, to ensure a uniform probability distribution that accurately captures local neighborhood behavior. Together with the destination list, the computational process analyzes and processes all candidate delivery zones and the candidate delivery center by calculating the shortest routes using MSPP. The optimal path serves as a basis to identify those roads used for delivering.
After identifying all the shortest paths, the Euclidean distance is calculated, representing a direct line between the origin and destination. This measure provides information on the physical distance to the candidate zones. Then, to truly quantify the distance traveled, the geodesic distance is introduced, which reflects the actual distance based on the graph’s topology, i.e., attending to the current urban infrastructure of the roads. These calculations are highly relevant for estimating the travel distance of each delivery vehicle from the distribution center to the destination. The results of the shortest-path distribution are illustrated in the fifth step of Figure 2, which shows the distances calculated from the areas defined as sampling points. The expected-value calculation provides information about the actual distance traveled during the distribution process.
Like distance, the average speed at which vehicles can move in these areas of Mexico City plays a crucial role in calculating the time required for deliveries. The INEGI (Instituto Nacional de Estadística y Geografía) and SEMOVI (Secretaría de Movilidad del Distrito Federal) are departments that currently actively measure urban information. We analyzed data for the last year (2024) based on studies conducted by INEGI and SEMOVI [46,47].
As is known, the time required for delivering goods is not constant; it varies over time due to differences in the average speed of vehicles in each local neighborhood. This speed reflects the density of communication resource usage at different times, affecting delivery timelines. In step 6, we will detail the computation of average velocity and its adjustment to varying hours of the day to provide further clarity on this matter.
The complete data analysis regarding delivery times is illustrated in Figure 4. The results show the average time delay for completing deliveries in different city zones. Notably, delivery times are influenced by both the hour and the location. For instance, in Churubusco, on a Saturday at 8:00 a.m., the delivery time is approximately 160 s. However, if a delivery is made at the exact same location and time but on a Friday, the time increases to about 190 s. A similar effect is observed on Saturdays in the Santa Anita area, where the difference between making a delivery at 7:00 a.m. and 8:00 a.m. increases from 130 to 160 s, due to the variation in average speed and well-known peak hours in the city.
As is known, the shortest of the previously calculated paths is always the most efficient path to deliver goods. The implication of always computing the most efficient trajectory is that uniform sampling of the local neighborhood delivers local information on the distances that will be traveled for real deliveries. Ideally, the Euclidean distance represents the shortest rectilinear distance (upper right graph from Figure 5a–e). It is observed that the Euclidean distribution is approximated by an incremental distribution in all cases. The surface is sampled as a circle, making it more likely to select zones in external areas, as the sampling is uniform. With respect to geodesic distance (upper right graph from Figure 5a–e), the range of actual distance to be traveled for delivering goods increases. Since there is no direct path between different locations, the candidate path depends on connections between local avenues and the topology. This might cause physically near locations to have higher geodesic distances due to the topology of the infrastructure, which affects the available routes to the destination.
Grouping all measures of distance that the PDF distribution might be approximating indicates a maximum value before the most distant location, suggesting that delivery distances become uniformly distributed. In the locality, a certain degree of connection determines the most probable distances to cover. Once the real distance that must be traveled to each locality, with the average velocity over time, is known, the time response can be estimated. The advantage of this computation is that it reflects the most probable and accurate time delay due to the physical distance that must be covered in the delivery process, which is shown in Figure 4. The delivery-time figure is now used to determine the time elapsed, which is more suitable for providing the best responses or the exact delivery time at a specific hour.
As mentioned in the previous paragraphs, the proposed methodology serves as the basis for creating delivery plans and criteria linked to well-established variables, such as cost, response time, and scheduling, while excluding the impact of traffic. Our results confirm that the proposed approach is a highly reliable framework for developing search algorithms in a graph-based space. Additionally, it establishes a robust framework for path searching, providing a strong and concise theoretical foundation for defining the search process in any given environment. This method effectively simplifies the general approach to searching in discrete spaces.

5. Conclusions

In dense urban networks, determining the most efficient route for delivery vehicles is critical to ensuring the timely distribution of goods and services. This paper focuses on a real-life case study that seeks to calculate the critical distribution radius, considering real-life variables such as average traffic speed, in five dynamically active zones in dense urban areas.
The article presented a reliable strategy based on the MSPP algorithm and mathematical morphology to analyze the complex local topology around a distribution center and calculate the most appropriate delivery routes at different times of day and on weekdays for mass merchandise distribution plans. The proposed strategy was validated using a Mexico City case study, which analyzed the configuration of a set of distribution centers in various locations throughout the city. The strategy calculated feasible destinations considering the delivery times at different times of day.
Our results are satisfactory and demonstrate that the MSPP-based approach outperforms classical methods such as Dijkstra or Tree A * , achieving an improvement of nearly 60% compared to the second-best approach in this case study in terms of the number of integer operations performed to analyze a satellite map.
Fusing the proposed strategy with the MSPP algorithm leverages the advantages of Mathematical Morphology. The proposed approach offers a fully implemented strategy based on these foundations, enabling its efficient implementation through an integer logic approach that is compatible with most computer architectures.
The strategy enables the calculation of feasible delivery destinations by considering delivery times at various times of the day. The results are promising, as it allows for the estimation of delivery times to specific locations and provides insight into the urban connectivity surrounding the delivery centers.
Even though the proposed strategy yields positive results, several important issues need to be addressed in future work. The primary concerns stem from the method’s ability to adapt to real-life scenarios, particularly variables such as altitude variations, traffic dependences, and irregular surfaces, which are common in densely populated cities. These limitations highlight a critical opportunity for large-scale applications.

Further Works

Ideas for further work include analyzing other densely populated towns to propose strategies for the optimal deployment of goods and to reduce response times.
Similarly, we propose the inclusion of other urban networks, where latency becomes vital for communication or routing technologies, as well as the inclusion of more urban variables that express locality, such as elevation, temperature, events, or weather behavior, which would help to better plan strategies for road delivery.
With regard to the MSPP algorithm, its implementation is achieved based on Mathematical Morphology, which opens an opportunity whereby the algorithm can be rewritten with theoretical properties to simplify and improve the efficiency of the MSPP’s implementation.
We also propose using more generalized operators such as Morphological Geodesic or Viscous operators, which have properties complementary to graphs with multiple variables.
The proposed strategy utilizes an optimal-path-computing approach. Currently, it employs the Multi-Source Path Planning (MSPP) algorithm to determine the optimal path. However, this strategy is limited by the shortcomings of the MSPP algorithm. It cannot adequately analyze and weigh altitude variations in urban corridors with non-uniform surfaces. Furthermore, in densely populated areas with overlapping urban corridors at different altitude levels, the MSPP algorithm fails to account for these complexities. Therefore, incorporating complex graphs that encapsulate these variables, using morphological concepts, presents a valuable opportunity for further research.

Author Contributions

Conceptualization, J.L.P.-R. and H.J.-H.; Formal Analysis, A.M.H.-N. and H.J.-H.; Methodology, J.L.P.-R., A.M.H.-N. and H.J.-H.; Software, H.J.-H.; Supervision, A.M.H.-N. and H.J.-H.; Writing—Original Draft, J.L.P.-R. and A.M.H.-N.; Writing—Review and Editing, A.M.H.-N., J.L.P.-R. and H.J.-H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data from this study can be made available on request to the corresponding author.

Acknowledgments

We wish to give thanks to the CIICCTE (Centro de Investigación e Innovación en Ciencias de la Computación y Tecnología Educativa) laboratory of the FIF-UAQ, which provided technical and infrastructure support.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Farahani, R.Z.; Miandoabchi, E.; Szeto, W.Y.; Rashidi, H. A review of urban transportation network design problems. Eur. J. Oper. Res. 2013, 229, 281–302. [Google Scholar] [CrossRef]
  2. Zhang, H.; Zhang, G.; Cai, X. Logistics Transfer Center Planning Based on Internet of Things Technology. In Advances in Intelligent Systems and Computing, Proceedings of the Application of Intelligent Systems in Multi-Modal Information Analytics; Springer: Berlin/Heidelberg, Germany, 2021; Volume 1233, pp. 175–182. [Google Scholar] [CrossRef]
  3. Tian, Z.; Jia, L.; Dong, H.; Su, F.; Zhang, Z. Analysis of urban road traffic network based on complex network. Procedia Eng. 2016, 137, 537–546. [Google Scholar] [CrossRef]
  4. Idhoko, K.; Ndiwari, E.; Ogeh, V.; Ikegbulam, S. Urban road network analysis of Yenagoa, Bayelsa State Using GIS. Int. J. Eng. Comput. Sci. 2016, 5, 15605–15615. [Google Scholar] [CrossRef]
  5. Steever, Z.; Karwan, M.; Murray, C. Dynamic courier routing for a food delivery service. Comput. Oper. Res. 2019, 107, 173–188. [Google Scholar] [CrossRef]
  6. Liu, W.; Zhang, J.; Shi, Y.; Lee, P.T.W.; Liang, Y. Intelligent logistics transformation problems in efficient commodity distribution. Transp. Res. Part E Logist. Transp. Rev. 2022, 163, 102735. [Google Scholar] [CrossRef]
  7. Konstantakopoulos, G.D.; Gayialis, S.P.; Kechagias, E.P. Vehicle routing problem and related algorithms for logistics distribution: A literature review and classification. Oper. Res. 2022, 22, 2033–2062. [Google Scholar] [CrossRef]
  8. Li, Y.; Liu, M.; Jiang, D. Application of unmanned aerial vehicles in logistics: A literature review. Sustainability 2022, 14, 14473. [Google Scholar] [CrossRef]
  9. Mahmoudi, M.; Chen, J.; Shi, T.; Zhang, Y.; Zhou, X. A cumulative service state representation for the pickup and delivery problem with transfers. Transp. Res. Part B Methodol. 2019, 129, 351–380. [Google Scholar] [CrossRef]
  10. Castillo, C.; Panadero, J.; Alvarez-Palau, E.; Juan, A.A. Towards greener city logistics: An application of agile routing algorithms to optimize the distribution of micro-hubs in Barcelona. Eur. Transp. Res. Rev. 2024, 16, 44. [Google Scholar] [CrossRef]
  11. Shang, W.L.; Chen, Y.; Bi, H.; Zhang, H.; Ma, C.; Ochieng, W.Y. Statistical characteristics and community analysis of urban road networks. Complexity 2020, 2020, 6025821. [Google Scholar] [CrossRef]
  12. Yahia, N.B.; Eljaoued, W.; Saoud, N.B.B.; Colomo-Palacios, R. Towards sustainable collaborative networks for smart cities co-governance. Int. J. Inf. Manag. 2021, 56, 102037. [Google Scholar] [CrossRef]
  13. Arosio, M.; Martina, M.L.; Figueiredo, R.; Creaco, E. GRAph-based Model (GRAM) to assessment of flood impacts in the complex metropolitan area of Mexico City. In Geophysical Research Abstracts; EGU General Assembly: Vienna, Austria, 2019; Volume 21. [Google Scholar]
  14. Gross, J.L.; Yellen, J.; Anderson, M. Graph Theory and Its Applications; Chapman and Hall/CRC: Boca Raton, FL, USA, 2018. [Google Scholar] [CrossRef]
  15. Candra, A.; Budiman, M.A.; Hartanto, K. Dijkstra’s and a-star in finding the shortest path: A tutorial. In Proceedings of the 2020 International Conference on Data Science, Artificial Intelligence, and Business Analytics (DATABIA), Online, 16–17 July 2020; pp. 28–32. [Google Scholar]
  16. Samolej, S.; Dec, G.; Rzonca, D.; Majka, A.; Rogalski, T. Regular graph-based free route flight planning approach. Aircr. Eng. Aerosp. Technol. 2021, 93, 1488–1501. [Google Scholar] [CrossRef]
  17. Cui, H.; Qiu, J.; Cao, J.; Guo, M.; Chen, X.; Gorbachev, S. Route optimization in township logistics distribution considering customer satisfaction based on adaptive genetic algorithm. Math. Comput. Simul. 2023, 204, 28–42. [Google Scholar] [CrossRef]
  18. Ju, C.; Luo, Q.; Yan, X. Path planning using an improved a-star algorithm. In Proceedings of the 2020 11th International Conference on Prognostics and System Health Management (PHM-2020 Jinan), Jinan, China, 23–25 October 2020; pp. 23–26. [Google Scholar] [CrossRef]
  19. Halim, A.H.; Ismail, I. Combinatorial optimization: Comparison of heuristic algorithms in travelling salesman problem. Arch. Comput. Methods Eng. 2019, 26, 367–380. [Google Scholar] [CrossRef]
  20. Gaikwad, S.K.; Karwankar, A.R. Food image 3D reconstruction using image processing. In Proceedings of the 2019 3rd International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India, 23–25 April 2019. [Google Scholar] [CrossRef]
  21. Hÿtch, M.; Hawkes, P.W. Morphological Image Operators; Academic Press: Cambridge, MA, USA, 2020. [Google Scholar]
  22. Aiguier, M.; Bloch, I. Logical dual concepts based on mathematical morphology in stratified institutions: Applications to spatial reasoning. J. Appl.-Non-Class. Logics 2019, 29, 392–429. [Google Scholar] [CrossRef]
  23. Marcondes, D.; Barrera, J. Discrete Morphological Neural Networks. SIAM J. Imaging Sci. 2024, 17, 1650–1689. [Google Scholar] [CrossRef]
  24. Maragos, P. Tropical Geometry, Mathematical Morphology and Weighted Lattices. In Mathematical Morphology and Its Applications to Signal and Image Processing; Springer: Cham, Switzerland, 2019; pp. 3–15. [Google Scholar] [CrossRef]
  25. Perez-Ramos, J.L.; Ramirez-Rosales, S.; Canton-Enriquez, D.; Diaz-Jimenez, L.A.; Xicotencatl-Ramirez, G.; Herrera-Navarro, A.M.; Jimenez-Hernandez, H. Algorithm Based on Morphological Operators for Shortness Path Planning. Algorithms 2024, 17, 184. [Google Scholar] [CrossRef]
  26. Perez-Ramos, J.L.; Ramirez-Rosales, S.; Canton-Enriquez, D.; Diaz Jimenez, L.A.; Hernandez-Ramirez, H.; Herrera-Navarro, A.M.; Jimenez-Hernandez, H. Connecting Cities: A Case Study on the Application of Morphological Shortest Paths. Symmetry 2025, 17, 114. [Google Scholar] [CrossRef]
  27. Escudero-Santana, A.; Muñuzuri, J.; Lorenzo-Espejo, A.; Muñoz-Díaz, M.L. Improving e-commerce distribution through last-mile logistics with multiple possibilities of deliveries based on time and location. J. Theor. Appl. Electron. Commer. Res. 2022, 17, 507–521. [Google Scholar] [CrossRef]
  28. Rios, B.H.O.; Xavier, E.C.; Miyazawa, F.K.; Amorim, P.; Curcio, E.; Santos, M.J. Recent dynamic vehicle routing problems: A survey. Comput. Ind. Eng. 2021, 160, 107604. [Google Scholar] [CrossRef]
  29. Moutaoukil, A.; Neubert, G.; Derrouiche, R. Urban Freight Distribution: The impact of delivery time on sustainability. IFAC-PapersOnLine 2015, 48, 2368–2373. [Google Scholar] [CrossRef]
  30. Alumur, S.; Kara, B.Y. Network hub location problems: The state of the art. Eur. J. Oper. Res. 2008, 190, 1–21. [Google Scholar] [CrossRef]
  31. Golinska-Dawson, P.; Sethanan, K. Sustainable urban freight for energy-efficient smart cities—Systematic literature review. Energies 2023, 16, 2617. [Google Scholar] [CrossRef]
  32. Mazzarino, M.; Rubini, L. Smart urban planning: Evaluating urban logistics performance of innovative solutions and sustainable policies in the Venice Lagoon—The results of a case study. Sustainability 2019, 11, 4580. [Google Scholar] [CrossRef]
  33. Zhao, L.; Li, H.; Li, M.; Sun, Y.; Hu, Q.; Mao, S.; Li, J.; Xue, J. Location selection of intra-city distribution hubs in the metro-integrated logistics system. Tunn. Undergr. Space Technol. 2018, 80, 246–256. [Google Scholar] [CrossRef]
  34. Bard, J.F.; Nananukul, N. The integrated production–inventory–distribution–routing problem. J. Sched. 2009, 12, 257–280. [Google Scholar] [CrossRef]
  35. Lei, L.; Liu, S.; Ruszczynski, A.; Park, S. On the integrated production, inventory, and distribution routing problem. IIE Trans. 2006, 38, 955–970. [Google Scholar] [CrossRef]
  36. Lotfi, M.; Osório, G.J.; Javadi, M.S.; Ashraf, A.; Zahran, M.; Samih, G.; Catalão, J.P. A Dijkstra-inspired graph algorithm for fully autonomous tasking in industrial applications. IEEE Trans. Ind. Appl. 2021, 57, 5448–5460. [Google Scholar] [CrossRef]
  37. Liu, X.; Zhang, D.; Zhang, T.; Cui, Y.; Chen, L.; Liu, S. Novel best path selection approach based on hybrid improved A* algorithm and reinforcement learning. Appl. Intell. 2021, 51, 9015–9029. [Google Scholar] [CrossRef]
  38. Pham, Q.D.; Deville, Y.; Hentenryck, P.V. LS(Graph): A constraint-based local search for constraint optimization on trees and paths. Constraints 2012, 17, 357–408. [Google Scholar] [CrossRef]
  39. Dell’Amico, M.; Montemanni, R.; Novellani, S. Algorithms based on branch and bound for the flying sidekick traveling salesman problem. Omega 2021, 104, 102493. [Google Scholar] [CrossRef]
  40. D’Angelo, G.; Palmieri, F. GGA: A modified genetic algorithm with gradient-based local search for solving constrained optimization problems. Inf. Sci. 2021, 547, 136–162. [Google Scholar] [CrossRef]
  41. Marinakis, Y.; Migdalas, A.; Sifaleras, A. A hybrid particle swarm optimization–variable neighborhood search algorithm for constrained shortest path problems. Eur. J. Oper. Res. 2017, 261, 819–834. [Google Scholar] [CrossRef]
  42. Zhang, H.; Zhang, Q.; Ma, L.; Zhang, Z.; Liu, Y. A hybrid ant colony optimization algorithm for a multi-objective vehicle routing problem with flexible time windows. Inf. Sci. 2019, 490, 166–190. [Google Scholar] [CrossRef]
  43. Wu, D.; Zhu, Z.; Hu, D.; Mansour, R.F. Optimizing Fresh Logistics Distribution Route Based on Improved Ant Colony Algorithm. Comput. Mater. Contin. 2022, 73, 2079–2095. [Google Scholar] [CrossRef]
  44. Sarma, S.S.; Sinha, B.P.; Sinha, K. Efficient Traffic Routing in Smart Cities to Minimize Evacuation Time During Disasters. In Lecture Notes in Computer Science, Proceedings of the Distributed Computing and Internet Technology; Springer: Berlin/Heidelberg, Germany, 2022; Volume 13145, pp. 185–197. [Google Scholar] [CrossRef]
  45. Google Earth. Google Earth 10.77.0.0 (2023), Mexico City, Mexico, 19°26′19″ N 99°07′52″ W, Elevation 2240m. 2023. Available online: https://www.google.es/intl/es/earth/index.html (accessed on 25 March 2025).
  46. INEGI. Mexico—Estadística de Transporte Urbano de Pasajeros 2024. 2024. Available online: https://www.inegi.org.mx/ (accessed on 28 March 2025).
  47. Secretaría de Movilidad de la CDMX. 2025. Available online: https://www.semovi.cdmx.gob.mx/ (accessed on 27 March 2025).
Figure 1. Reference locations of centers with considerable economic activity in Mexico City: (a) Churubusco, (b) San Lázaro, (c) Santa Anita, (d) Terminal Norte, and (e) Zócalo.
Figure 1. Reference locations of centers with considerable economic activity in Mexico City: (a) Churubusco, (b) San Lázaro, (c) Santa Anita, (d) Terminal Norte, and (e) Zócalo.
Infrastructures 10 00249 g001
Figure 2. Illustration of the process of analysis, from locating the distribution center to analyzing the time required to reach the target point.
Figure 2. Illustration of the process of analysis, from locating the distribution center to analyzing the time required to reach the target point.
Infrastructures 10 00249 g002
Figure 3. Location of Mexico City and distribution centers chosen to analyze the proximity radius.
Figure 3. Location of Mexico City and distribution centers chosen to analyze the proximity radius.
Infrastructures 10 00249 g003
Figure 4. The delivery time is determined based on the different delivery centers: (a) Churubusco, (b) San Lázaro, (c) Santa Anita, (d) Terminal Norte, and (e) Zócalo.
Figure 4. The delivery time is determined based on the different delivery centers: (a) Churubusco, (b) San Lázaro, (c) Santa Anita, (d) Terminal Norte, and (e) Zócalo.
Infrastructures 10 00249 g004
Figure 5. Sampling of candidate distribution locations within the vicinity radius using Euclidean and geodesic distances for the optimal distribution of resources to various distribution centers: (a) Churubusco, (b) San Lázaro, (c) Santa Anita, (d) Terminal Norte, and (e) Zócalo, where destinations are marked in green color, and optimal paths are marked as red lines.
Figure 5. Sampling of candidate distribution locations within the vicinity radius using Euclidean and geodesic distances for the optimal distribution of resources to various distribution centers: (a) Churubusco, (b) San Lázaro, (c) Santa Anita, (d) Terminal Norte, and (e) Zócalo, where destinations are marked in green color, and optimal paths are marked as red lines.
Infrastructures 10 00249 g005
Table 1. Approaches to computing the best path trajectory.
Table 1. Approaches to computing the best path trajectory.
WorkMethod CategoryWorking SpaceRemarksAdvantages/Disadvantages
Graph Search Methods
Dynamic programming and Lagrangian heuristics algorithms [9]Graph SearchGraphThis approach uses a new mathematical model that incorporates numerous complex constraints of classical routing problems. A dynamic programming solution is offered, dividing the general problem into subproblems, which are solved repeatedly and stored to avoid unnecessary recalculations.-Guarantees optimal solutions to the search problem.
-Limited application for dynamic constraints.
Optimal traffic allocation approach [44]Graph SearchGridThis approach employs an optimal traffic allocation technique aimed at minimizing average travel time. This methodology has proven effective in practical contexts, particularly in traffic management during disaster evacuation scenarios where densely populated areas generate increased traffic congestion on major arterial roads, increasing travel time to safe areas.-High computational cost for large networks.
-Efficient for route planning with reduced cumulative cost (short distances).
Optimization approach
Adaptive genetic algorithm [17]OptimizationGraphAn adaptive genetic algorithm is introduced that improves local optimization capabilities by exploring large neighborhoods. This algorithm is applied to an urban logistics distribution model with variable constraints and time windows. The objective function considers both total cost minimization and customer satisfaction maximization.-Efficient in cases where there are complex restrictions.
-Slow convergence process.
The tabu search algorithm [35]OptimizationGraphAn approach to supply chain optimization is presented, focusing on the coordination of production, inventory, and delivery planning, with the goal of minimizing logistics costs. The model considers a single production point, variable customer demand, and a fleet of delivery vehicles. To solve the problem efficiently, a reactive tabu search procedure is implemented.-Low susceptibility to stagnation in local optima.
-The results are affected by parameter tuning.
Heuristic approach with Integer Programming [5]OptimizationGraphThis heuristic incorporates fairness and dispersion criteria as auxiliary metrics in solving the delivery problem. It also considers multiple variables associated with the loading, unloading, and transfer processes, among other factors that can influence the estimated delivery time. Given that this is a dynamic stochastic problem, an integer programming-based formulation is proposed, allowing for an approximate static–deterministic solution.-Robust approach to path planning.
-Only an approximation of the global solution is obtained.
Hybrid Approach
Improved A * algorithm and Ant colony algorithm [43]HybridGraphThis method proposes a logistics route optimization model based on the relationship between maximum customer satisfaction and minimum total distribution costs. The model considers two objective functions: the first focuses on minimizing costs associated with CO 2 emissions, overload, and distribution, while the second seeks to maximize customer satisfaction. To solve the problem, improved A * algorithms and ant-colony-based optimization techniques are implemented.-Balance between exploration and objective functions.
-Approach with high computational cost.
Agile routing algorithms [10]HybridGraphAn adaptive algorithm is proposed that efficiently determines the optimal number and ideal location of micro-distribution centers, optimizing urban freight logistics using heuristic methods and machine learning. This approach considers minimizing the total distance, associated costs, and CO 2 emissions throughout the distribution network.-Flexible, adaptable, and scalable strategy.
-Susceptible to the quality of the input data.
Alternative approach
Morphological Shortest-Path-Planning Approach [25]MorphologicalGraph and GridAn innovative approach is proposed that defines a general framework based on operators from Morphological Mathematics, from which two new operators are generated. These operators establish an incremental natural-order relationship, determined by the optimal least-cost path between two points of interest, with a computational complexity comparable to that of state-of-the-art methods.-Computational complexity competitive with other techniques.
-Being a recent algorithm, it has weak validation.
Table 2. Step 1: Table of distribution center location.
Table 2. Step 1: Table of distribution center location.
NoPlaceTown AreaReference (Figure 1)
1ChurubuscoSouth of town(a)
2San LázaroCenter–east of town(b)
3Santa AnitaCenter–south of town(c)
4Terminal NorteNorth of town(d)
5ZócaloCenter of town(e)
Table 3. Comparison of the number of integer operations needed to compute an optimal path.
Table 3. Comparison of the number of integer operations needed to compute an optimal path.
ApproachIntOps (Giga) ↓Proportion to MSPP
MSPP69000
Djistra11,02670.598
Three A * 29,6143.291
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

Perez-Ramos, J.L.; Herrera-Navarro, A.M.; Jimenez-Hernandez, H. Connecting Cities: Solving Optimal-Resource-Distribution Problem Using Critical Range Radius. Infrastructures 2025, 10, 249. https://doi.org/10.3390/infrastructures10090249

AMA Style

Perez-Ramos JL, Herrera-Navarro AM, Jimenez-Hernandez H. Connecting Cities: Solving Optimal-Resource-Distribution Problem Using Critical Range Radius. Infrastructures. 2025; 10(9):249. https://doi.org/10.3390/infrastructures10090249

Chicago/Turabian Style

Perez-Ramos, Jorge L., Ana M. Herrera-Navarro, and Hugo Jimenez-Hernandez. 2025. "Connecting Cities: Solving Optimal-Resource-Distribution Problem Using Critical Range Radius" Infrastructures 10, no. 9: 249. https://doi.org/10.3390/infrastructures10090249

APA Style

Perez-Ramos, J. L., Herrera-Navarro, A. M., & Jimenez-Hernandez, H. (2025). Connecting Cities: Solving Optimal-Resource-Distribution Problem Using Critical Range Radius. Infrastructures, 10(9), 249. https://doi.org/10.3390/infrastructures10090249

Article Metrics

Back to TopTop