Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Multi-AGV task scheduling and dynamic map path planning based on task pre-allocation

  • Jie Gao,

    Roles Project administration, Writing – review & editing

    Affiliation School of Electronic Information Engineering, Shandong University of Science and Technology, Qingdao, Shandong, China

  • Weinan Xie,

    Roles Software, Validation

    Affiliation School of Electronic Information Engineering, Shandong University of Science and Technology, Qingdao, Shandong, China

  • Haoya Liu,

    Roles Software, Validation, Visualization, Writing – original draft

    Affiliation School of Electronic Information Engineering, Shandong University of Science and Technology, Qingdao, Shandong, China

  • Junda Zhou,

    Roles Data curation, Software

    Affiliation School of Electronic Information Engineering, Shandong University of Science and Technology, Qingdao, Shandong, China

  • Liang Wang ,

    Roles Resources

    wliang@sdust.edu.cn

    Affiliation School of Mechanical and Electronic Engineering, Shandong University of Science and Technology, Qingdao, Shandong, China

  • Jieke Liang

    Roles Software

    Affiliation School of Electronic Information Engineering, Shandong University of Science and Technology, Qingdao, Shandong, China

Abstract

Multi-AGV (Automated Guided Vehicle) systems operating in complex warehouse environments equipped with movable containers encounter several challenges, including high system no-load rate, low task response efficiency, and imbalanced path utilization. To address these issues, we propose an integrated optimization approach for task scheduling and path planning. First, a task segmentation strategy is introduced to decompose complex tasks into long-distance transport and precision in-racking sub-tasks which are then allocated to heterogeneous AGV types for execution. Second, a task pre-allocation algorithm is designed to enable AGVs to participate in the subsequent task assignment prior to the completion of their current tasks, thereby reducing the system no-load rate. Third, a dynamic map path planning mechanism is developed, which incorporates a temporary path traffic control module and a localized Floyd update algorithm to achieve real-time path adjustment and effective path utilization optimization. Comparative experiments were conducted in a multi-zone warehouse simulation environment. The results demonstrate that the proposed approach can reduce the system no-load rate, mitigate path congestion, and enhance overall operational performance.

Introduction

AGV (Automated Guided Vehicle) technology originated in the 1950s to address the excessive consumption of labor and resources in manufacturing through automated material handling [1]. With continuous advancements in sensors, navigation systems, and communication technologies, AGVs have been widely deployed in manufacturing [2], warehouse logistics [3], healthcare [4], and other domains. In intelligent warehouse systems, multi-AGV cooperation has become a key approach to improving operational efficiency and system automation. However, as warehouse environments become more complex and task demands more dynamic, the coordinated optimization of task scheduling and path planning remains a critical challenge.

From the perspective of system operation, task scheduling efficiency plays a fundamental role in determining overall performance. High no-load rates and delayed task responses can reduce system utilization and responsiveness. To address these issues, various studies have focused on optimizing task allocation strategies. Yang [5] incorporated AGV empty travel distance into optimization objectives, while Ventura [6] proposed a genetic algorithm to reduce response time in warehouse systems. Zhu [7] introduced task allocation balancing and priority mechanisms to improve AGV utilization. Despite these efforts, most existing approaches require AGVs to complete their current tasks or return to designated waiting stations before receiving new assignments [8]. This leads to increased no-load rates and reduced scheduling continuity. In addition, the coordination of heterogeneous AGVs with different functional capabilities is often insufficiently considered [9], limiting system efficiency in complex operational scenarios.

Path planning and conflict management constitute another essential aspect of multi-AGV systems. Numerous studies have been conducted to improve path optimization and avoid collisions. Xu et al. [10] proposed a spatiotemporal simulated annealing algorithm to achieve global path optimization, while He et al. [11] combined the Dijkstra algorithm with time window constraints to generate collision-free paths. Zhuge et al. [12] modeled AGV scheduling as a weighted minimum path cover problem. Furthermore, conflict prediction and avoidance methods based on graph theory and spatiotemporal analysis have been widely investigated [1315]. Although these approaches effectively improve path safety and feasibility, many of them assume relatively static environments and lack the ability to dynamically adjust paths under changing traffic conditions. As a result, issues such as path congestion and inefficient resource utilization may arise in large-scale systems.

With the increasing adoption of movable containers and flexible storage systems, warehouse environments are becoming highly dynamic. The frequent changes in obstacle positions make traditional path planning methods based on static maps less effective. Although some studies have attempted to incorporate dynamic environmental factors [1617], most approaches rely on global map updates, which incur significant computational overhead and limit real-time responsiveness. This poses a challenge for achieving efficient and adaptive path planning in dynamic multi-AGV systems.

In summary, existing research still faces several limitations in supporting efficient and coordinated multi-AGV operations in complex warehouse environments: (1) insufficient consideration of heterogeneous AGV collaboration in task scheduling, leading to suboptimal resource utilization; (2) reliance on sequential task assignment mechanisms, resulting in high no-load rates and reduced scheduling efficiency; and (3) limited adaptability of path planning methods in dynamic environments with frequently changing map structures.

To address these challenges, this paper proposes an integrated optimization approach for task scheduling and dynamic map path planning based on task pre-allocation. The main contributions of this paper are summarized as follows.

  1. (1) Task segmentation strategy: Complex tasks are decomposed into long-distance transportation and precision in-racking subtasks, which are allocated to heterogeneous AGVs for collaborative execution. This approach aligns task assignments with AGV functional differences, improving resource utilization.
  2. (2) Task pre-allocation algorithm: This algorithm enables AGVs to participate in subsequent task assignment prior to completing their current tasks, eliminating the need to return to waiting stations. This reduces system no-load rates and improves scheduling continuity.
  3. (3) Dynamic map path planning mechanism: A dynamic map-based planning framework is developed, integrating a temporary path traffic control module and a localized Floyd update algorithm. By restricting updates to affected regions, the proposed method reduces computational complexity and improves real-time responsiveness in dynamic environments.

The remainder of this paper is organized as follows. The Problem Formulation section presents the problem description and system model. The Floyd Algorithm section introduces the Floyd algorithm and its application in path planning. The System Design section describes the proposed task scheduling and dynamic path planning methods. The Simulation and Analysis section presents simulation results and performance analysis. The final section concludes the paper.

Problem formulation

Warehouse environment

This paper addresses the problem of task scheduling and path planning for multiple AGVs system in manufacturing logistics scenarios. A typical operational environment consisting of multiple zones is constructed in accordance with the production workshop environment of a certain factory. There are two types of AGVs with different functionalities to meet the requirements of handling tasks. The overall system layout, as illustrated in Fig 1, comprises a distribution area, multiple warehouse zones, and a series of production lines. The distribution area contains four 2 × 7 and two 2 × 8 storage sections, totaling 88 storage locations, which are designated for the temporary placement of materials pending warehousing. The distribution area comprises four 2 × 7 and two 2 × 8 storage sections, totaling 88 storage locations, which are designated for the temporary placement of materials pending warehousing. Warehouse Zone 1 consists of four 2 × 21 storage sections, providing a total of 168 storage locations. Warehouse Zone 2 consists of five 2 × 21 storage sections, providing a total of 210 storage locations. Warehouse Zones 3–5 each consist of three 2 × 22 storage sections, with 132 storage locations in each zone. Each of the five warehouse zones is configured with a 4 × 4 set of transfer points at its corners. Each of the four production lines is configured with a 2 × 2 set of feeding points at both ends. Additionally, waiting stations for AGVs are located below the distribution area, to the left of the warehouse zones, and at the midpoint of the production lines.

Each storage location and feeding point corresponds to one AGV operating point, while each transfer point corresponds to two AGV operating points. The number of AGVs and operating points allocated to each zone, determined in accordance with storage and production operational requirements, is presented in Table 1.

thumbnail
Table 1. Number of AGVs and operation points in each area.

https://doi.org/10.1371/journal.pone.0352782.t001

In terms of AGV types, the system is equipped with two categories of AGVs to enable task specialization and collaborative operations. As illustrated in Fig 2(a), the XP-type forklift is designated for long-distance cross-zone transportation, with its primary function being to handle material transfers between the distribution area and warehouse zones, as well as between warehouse zones and production lines. By contrast, as depicted in Fig 2(b), the XQE-type forklift is dedicated to stacking operations within warehouse zones. Endowed with precise handling and stacking capabilities, this type of forklift operates exclusively inside each warehouse zone and does not participate directly in cross-zone scheduling.

thumbnail
Fig 2. Two types of AGVs: (a) XP-type forklift; (b) XQE-type forklift.

https://doi.org/10.1371/journal.pone.0352782.g002

As illustrated in Fig 3, the movable containers serve not only as material loading cage but also as simple storage racks in this system. In the handling process, all AGVs take movable containers as the basic carriers to enable the orderly circulation of materials between different functional zones.

Basic operating rules of the system

AGVs operate under unified traffic rules to ensure orderly and safe multi-vehicle coordination. Specifically, AGV lanes are designated as one-way roads, and all AGVs follow the rule of keeping to the right while traveling within these lanes. As illustrated in Fig 1, when traversing intersection nodes, AGVs execute maneuvers such as straight travel, right turns, or left turns based on their target directions. AGVs performing turning operations must complete their directional adjustments only after confirming that no traffic conflicts will arise.

Based on the differences in AGV types and their respective operating areas, this paper constructs six adjacency matrices to characterize the path topologies within their corresponding regions. Specifically, XP-type AGVs are deployed to connect the distribution area, warehouse zones, and production lines, with their travel paths uniformly modeled as a single adjacency matrix denoted as . By contrast, XQE-type AGVs are restricted to exclusive operation within warehouse zones. The system is partitioned into five independent storage regions, each of which is modeled using a dedicated adjacency matrix denoted as , where . Each adjacency matrix characterizes the travel weight from node to node , subject to the following rules:

During the operation of the warehouse system, the scheduling system sequentially dispatches transportation tasks according to the operational coordination and material flows between the upstream distribution area and the downstream production lines. There are two kinds of tasks: inbound and outbound operations. In inbound operations, the XP-type forklift in the distribution area first transports the materials from the distribution area to the designated transfer point of the target warehouse zone. The XQE-type forklift in that warehouse zone then retrieves the materials from the transfer point and stacks them at the designated location within the warehouse. The outbound process is the reverse: the XQE-type forklift removes the target materials from the stacking area, delivers them to the warehouse zone’s transfer point, and then the XP-type forklift from the production line transfers them to the corresponding feeding point of the production line to complete the loading. Once a task is dispatched, it must be assigned to an suitable AGV, and a corresponding execution path must be generated. A schematic diagram of the inbound and outbound processes is illustrated in Fig 4.

thumbnail
Fig 4. Schematic of the inbound and outbound processes.

https://doi.org/10.1371/journal.pone.0352782.g004

To enable efficient collaboration between the two AGV types, this paper introduces a task segmentation strategy. This strategy allows the system to allocate tasks based on the functional characteristics of each AGV type, thereby rationalizing the assignment of task routes and operational zones. During task segmentation process, the system must first identify optimal handover locations, namely the coordinates of the transfer points. As indicated in the system map, each warehouse zone is configured with 16 transfer points. Each transfer point is equipped with one dedicated working position for an XP-type AGV and one for an XQE-type AGV to facilitate cargo handover operations. To unify the spatial and status management of transfer points, a matrix is defined for Warehouse Zone n to record the coordinates of its two working positions and their occupancy status, as shown below:

(1)

Each row of the matrix represents the information of one transfer point, where and denote the working position coordinates of the XQE- and XP-type AGVs at the transfer point , respectively. indicates the occupancy status, with meaning the point is occupied.

Taking the inbound task as an example, when the system receives a transportation task, it defines the starting point , the end point , and the coordinates of the transfer point n as . The goal is to find the index number of the transfer point that satisfies the condition below:

(2)

where . After segmentation, the pre-task information and post-task information are expressed as follows:

(3)

where is the starting point and is the end point of the pre-task, while is the starting point and is the end point of the post-task. This task segmentation strategy provides a basis for subsequent task path segmentation planning and resource allocation.

Floyd algorithm

In conventional AGV path planning, the Dijkstra algorithm is a widely used single-source shortest path method [18]. Starting from the initial position, it incrementally expands outward on the map, at each step selecting the path node closest to the source as the basis for further exploration, repeating until the destination is included in the path [19]. The A* algorithm adopts a greedy strategy to find the shortest path [20], introducing a heuristic function to evaluate the desirability of candidate paths between nodes, enabling it to obtain an optimal solution within a relatively short time. However, for maps with complex paths and large numbers of nodes, both Dijkstra and A* often incur excessive computational overhead, which hinders their ability to determine the optimal route efficiently.

In this paper, the Floyd algorithm is adopted, which exhibits higher efficiency than Dijkstra’s algorithm and the A* algorithm in solving the all-pairs shortest path problem [21]. The Floyd algorithm is a dynamic programming method for computing the shortest paths between all pairs of vertices in a map. During path planning, it computes routes directly by reading distances between two points from the adjacency matrix. Its core idea is to iteratively traverse all vertices in the weighted map and update the estimated shortest distances between node pairs. The formula is as follows:

(4)(5)
  1. 1) Initialization:

Create an adjacency matrix D, where D(i, j) represents the direct distance from node i to node j. If no direct connection exists, the distance is set to infinity. A path matrix P of the same size is also created, where P(i, j) records the path information, for unconnected nodes, the value is set −1; for connected nodes, the value is set to the row index.

  1. 2) Iterative update:

For each node pair (i, j), use k as an intermediate node. If , update with this smaller value and set , indicating that the shortest path from i to j passes through k.

  1. 3) Traversal:

Use k to iterate over all n vertices in the weighted map. After n iterations, the values in the distance matrix D will represent the shortest path lengths between all pairs of vertices, while retrieving the path only requires arranging the nodes from the path matrix P in reverse order.

Given that warehouse layouts only undergo localized modifications with a stable overall environment, a fast-computing algorithm is required to match these static characteristics, reducing computational overhead and improving system efficiency. As a classical graph-based algorithm, the Floyd algorithm can derive all-pairs shortest paths from the adjacency matrix in one execution, achieving both computational efficiency and global optimality. Thus, it is adopted in this paper as the fundamental path planning method for multi-AGV warehouse systems.

System design

In practical warehouse environments, when AGVs transport movable container, the failure of the path-planning process to promptly adapt to dynamic environmental changes can lead to unnecessary waiting and detours, thereby reducing overall handling efficiency. Conventional scheduling strategies often assign a new task only after the current one is completed, which increases the AGV’s empty travel rate and limits resource utilization efficiency.

To address these issues, this paper integrates two approaches: a task pre-allocation algorithm and a dynamic map path planning mechanism. The former matches subsequent tasks prior to the completion of an AGV’s current task, reducing the frequency of empty dispatches and enabling coordinated optimization of route continuity and scheduling foresight. The latter dynamically identifies non-stacking areas and temporarily opens corresponding paths, and efficiently updating route information using an improved localized Floyd algorithm, thereby enhancing the system’s environmental adaptability.

Task pre-allocation

In multi-AGV warehouse systems, conventional scheduling strategies typically assign the next task only after an AGV has completed its current task and returns to the waiting stations, which impairs the system’s response efficiency and scheduling continuity. This paper proposes a task pre-allocation algorithm that initiates the allocation process when an AGV is approaching the completion of its current task. The scheduling system selects the optimal pending task based on the spatial coordinates of the current task’s terminus, enabling task pre-allocation and seamless path concatenation for transportation tasks. This approach effectively reduces the system no-load rate, shortens task waiting time, and enhances the overall system efficiency.

To enable task pre-allocation, the system must quantitatively evaluate the response efficiency of each available AGV at the moment a transport order is issued. This paper adopts a time-cost–based evaluation strategy, via which the scheduling system estimates the total time required for an AGV to respond to a new task based on its current operating state. Considering different operational states of AGVs, this paper classifies their status into three categories and develops corresponding computational models for time-cost evaluation. The specific algorithm is presented as follows:

  1. (1) If AGV is docked at the standby station when a transport order is released, the time cost for responding to the task equals the travel time from the standby station to the task’s starting point. The calculation formula is as follows:
(6)

where D is the shortest distance matrix obtained by Floyd algorithm, is the coordinate of the standby station of AGV , is the coordinate of the starting point of transport order , and is the travel speed of AGV .

  1. (2) If AGV is traveling back to its standby station without load when the transport order arrived, the time cost equals the travel time from its current position to the starting point of the task. The calculation formula is as follows:
(7)
  1. (3) If AGV is executing an assigned transport order when the transport order arrived, the time cost equals the total time required to complete all current tasks plus the travel time from the end point of the last current task to the starting point of task . The calculation formula is as follows:
(8)

where is the total number of operating points in the current task list of AGV , is the number of operating points that AGV has arrived at, is the position coordinates of the operating point m in the task list, is the operation time required for AGV at the operating point m, and is the end point coordinates of the task in the task list.

After estimating the time costs of AGVs under various states, the system adopts these costs as task allocation metrics. The AGV with the minimum time cost is deemed the most suitable for executing the pending task at the current moment. During the task assignment, the task pre-allocation algorithm achieves path connectivity and resource screening, while incorporating AGVs in all operational states into the evaluation scope. This not only reduces empty-load redundancy but also improves scheduling continuity.

Dynamic map path planning

To enhance the path adaptability of multi-AGV systems in warehouse environments, this paper develops a dynamic map path planning mechanism based on static path planning. This strategy addresses local path accessibility changes caused by variations in the stacking status of movable container. During the transport of movable container, areas that are initially inaccessible may become temporarily available as paths in the course of task execution, as illustrated in Fig 5.

If such areas can be dynamically marked as accessible temporary paths during the path-planning stage, path utilization can be improved, local traffic congestion alleviated, and conflict-induced waiting times reduced. Assuming the warehouse zone contains n movable containers, a location state matrix is defined to describe the operational status of each location, as follows:

(9)

Each row of the matrix represents a single location, where denotes the Cartesian coordinate of node i, is the placement status of movable containers, indicates that a movable container is placed at this location, and is the temporary path flag. A value of indicates that the location can serve as a temporary path.

During operation, the system periodically inspects the states of vertically adjacent locations within the same column. If two consecutive locations are both unoccupied, they are deemed eligible to form a temporary path. The corresponding entries in the adjacency matrix between these nodes are then dynamically updated to reflect the new connectivity, enabling real-time updates of the path topology. Simultaneously, the system monitors all existing temporary paths. If any node along a temporary path becomes occupied by movable containers, the path is deemed invalid and is removed from the adjacency matrix. The detailed steps of the temporary path update algorithm are as follows:

Algorithm temporary path update

Input:   The location state matrix S

       The adjacency matrix G

Output: The updated adjacency matrix

      The distance matrix D

      The path matrix P

1  Initialize the adjacency matrix

2  for each in to

3   Determine whether the path is passable

4    if

5     Restore Path Weight

6     

7     

8    end

9   Determine whether a temporary path exists

10   if

11    Determine whether the temporary path is blocked

12    if

13     Block the temporary path

14     

15       

16    end

17   end

18end

19

In the algorithm, denotes the vertical distance between adjacent storage locations, is the weight assigned to the temporary path in the topological map, and denotes the distance and path matrices derived from the Floyd algorithm implemented in accordance with Eq. (4) and Eq. (5).

Since temporary paths are typically situated between storage positions in the warehouse and are bidirectional, simultaneous entry of multiple AGVs is prone to causing head-on conflicts, which impairs system efficiency and may even lead to deadlocks. To address this issue, a temporary-path traffic control module is developed to dynamically manage access permissions and coordinate scheduling. The module ensures that only one direction of travel is permitted for AGVs on a temporary path at any given time, thereby effectively preventing path conflicts and scheduling blockages arising from opposing traffic. The decision-making process of the traffic control module is illustrated in Fig 6.

thumbnail
Fig 6. The decision-making process of the temporary-path traffic control module.

https://doi.org/10.1371/journal.pone.0352782.g006

Based on the control logic of path locking, identity verification, and path unlocking, the temporary path ensures directional exclusivity and AGV safety during operation. This mechanism effectively prevents head-on conflicts and path contention.

With the introduction of the temporary path, the system’s adjacency matrix G undergoes frequent updates due to dynamic changes in path status, which in turn affects the distance matrix D and path matrix P generated by the Floyd algorithm. Recomputing the full Floyd algorithm following each path change would incur considerable computational overhead and memory consumption, which impairs the system’s real-time responsiveness. To address this issue, an improved localized Floyd algorithm is proposed to update only the affected path regions in the adjacency matrix when a new temporary path emerges, thereby eliminating redundant computations across the entire graph. The algorithm is formulated as follows:

(10)(11)(12)

where and are the updated distance and path matrices, respectively; i is the starting node; j is the destination node; n is the number of nodes in the weighted map; a and b are the endpoints of the newly added temporary path in the topological map. The computation proceeds as follows:

  1. 1) Local Initialization:

During system operation, if a finite edge weight is assigned to two previously unconnected nodes a and b in the adjacency matrix G—indicating the establishment of a direct passage—the corresponding elements in the distance matrix are set to the new cost , as shown in Eq. (10).

  1. 2) Local Iteration:

For each pair of nodes (i, j) in the map, nodes a and b are employed as intermediate nodes for comparison. If or is smaller than the current , the distance matrix is updated as Eq. (11). Simultaneously, is updated to or , indicating that the shortest path from i to j passes through or , as shown in Eq. (12).

  1. 3) Traversal:

Since the impact of the updated path is locally confined, it is sufficient to traverse the other nodes in the topological map using and as intermediate paths to obtain the updated shortest distance matrix and path matrix after the temporary path is added.

Compared with the time complexity of the traditional Floyd algorithm, the proposed method employs local updates to reduce the complexity to , decreasing computation time and memory overhead while enhancing system real-time performance.

Multi-AGV task scheduling and dynamic map path planning algorithm based on task pre-allocation

The flowchart of the proposed multi-AGV task scheduling and path planning algorithm, which integrates the task pre-allocation strategy, dynamic map mechanism, and the improved localized Floyd algorithm, is illustrated in Fig 7.

thumbnail
Fig 7. Flowchart of multi-AGV task scheduling and dynamic map path planning algorithm based on task pre-allocation.

https://doi.org/10.1371/journal.pone.0352782.g007

The system consists of two components: the scheduling process and the AGV operation process. In the scheduling process, the system first acquires task list and identifies task types, then decomposes the tasks into subtasks to be executed by XP-type and XQE-type AGVs, respectively. It calculates the sum of Manhattan distances from each transfer point to the task’s start and end points, and selects the point with the minimum total distance as the handover location between the pre-task and post-task. Based on the real-time stacking status in the warehouse zone, the dynamic map module updates the adjacency matrix; subsequently, the localized Floyd algorithm efficiently refreshes the shortest-path matrix P and shortest-distance matrix D. The task pre-allocation algorithm then evaluates the time cost for each AGV within the task zone to respond to the target task, selects the AGV with the minimum cost and plans its pre-task path. Upon detection of a new transport task, the system re-executes the aforementioned process to maintain real-time scheduling performance.

In the AGV operation process, each AGV continuously monitors for potential path conflicts. Upon detecting a conflict, the system activates the obstacle-avoidance priority strategy [22] to determine and assign the yielding AGV, thereby preventing system blockages caused by path resource contention. If an AGV is about to enter a dynamically generated temporary path, the temporary path traffic control module is invoked to lock or release path usage rights, avoiding conflicts c arising from bidirectional competition. During operation, AGVs continuously update their positions, while the system monitors whether they have reached the task endpoint and decides whether to assign subsequent tasks or switch to standby mode. If there is subsequent task to be executed, the system replans the post-task path for the cargo and matches the most suitable AGV for the post-task process.

Through the coordinated interaction between scheduling processes and operational workflows, the proposed task scheduling and path planning algorithm exhibits effective adaptability to multi-AGV dispatch requirements in complex dynamic environments, enhancing overall operational efficiency.

Simulation and analysis

To validate the effectiveness of the proposed multi-AGV task scheduling and path planning algorithm, a simulation system for the multi-AGV warehouse environment was developed on the MATLAB 2019(b) platform, based on the layout of a factory’s production workshop. Typical task scenarios were configured to test and compare the performance of the proposed task pre-allocation algorithm, dynamic map path planning mechanism, and localized Floyd algorithm. Each experiment was repeated 50 times with independently generated task sets, and the reported results correspond to the average values, with error bars indicating the standard deviation to reflect result variability. Task instances were generated using a pseudo-random number generator with fixed seeds. For each task scale, the same randomly generated task sets were used across all algorithms to ensure fair comparison.

Task pre-allocation algorithm experiment

This experiment aims to evaluate the impact of the task pre-allocation algorithm on system operational efficiency under different task quantities. The system randomly generates a number of inbound and outbound tasks, and generates corresponding start and end points according to the task type. The task release interval is fixed at 5 seconds, with the number of tasks ranging from 10 to 80 in increments of 10, forming eight task scale configurations. For each task scale, the system randomly generated 50 sets of task data and conducts scheduling simulations using both the task pre-allocation algorithm proposed in this paper and the conventional bidding algorithm, which follows a standard auction-based task allocation mechanism: when a task is generated, all available AGVs participate in the bidding process by evaluating the task cost based on estimated completion time. The task is then assigned to the AGV with the minimum cost. This approach is widely adopted in multi-AGV scheduling problems and serves as a representative baseline for performance comparison [23].

Three metrics are recorded in each experiment: task completion time, system no-load rate, and task response time. The average value of the results from 50 experimental runs is taken as the performance evaluation index for both algorithms under the given task quantity.

To evaluate the statistical significance of the observed performance differences, paired statistical analyses were conducted based on the 50 paired simulation runs generated using the common random number (CRN) strategy. For each comparison, the normality of the paired differences was first assessed using the Shapiro–Wilk test. When the normality assumption was satisfied (p > 0.05), paired t-tests were performed; otherwise, Wilcoxon signed-rank tests were used. Cohen’s d_z was adopted as the effect size measure for paired t-tests. To control the family-wise error rate arising from multiple comparisons within each figure, Holm’s correction was applied to the corresponding p-values.

The task completion times for the two algorithms are presented in Fig 8(a). The optimization efficiency , shown in Fig 8(b), refers to the reduction in task completion time achieved by the task pre-allocation algorithm compared to the conventional bidding algorithm. The calculation method is given in Eq. (13), where denotes the task completion time of the conventional bidding algorithm, and denotes that of the proposed task pre-allocation algorithm.

(13)
thumbnail
Fig 8. Comparison of task completion times: (a) completion times; (b) optimization efficiency.

https://doi.org/10.1371/journal.pone.0352782.g008

To further verify whether the observed differences in task completion time are statistically significant, formal paired statistical tests were conducted based on the 50 paired simulation runs. The results are summarized in Table 2.

thumbnail
Table 2. Statistical comparison of task completion time between the proposed task pre-dispatching algorithm and the conventional bidding algorithm.

https://doi.org/10.1371/journal.pone.0352782.t002

Fig 8(a) illustrates that as the number of tasks increases, the task completion times of both algorithms exhibit an upward trend. However, the task completion time of the task pre-allocation algorithm is consistently lower than that of the conventional bidding algorithm. The error bars represent one standard deviation (SD) calculated from 50 independent simulation runs, reflecting the variability of the experimental results. The relatively small confidence intervals suggest that the results are stable and reliable.

As shown in Fig 8(b), the optimization efficiency of the task pre-allocation algorithm gradually increases with the number of tasks, peaking when the task quantity reaches 60 and 70. When the number of tasks further increases to 80, the optimization efficiency decreases slightly but remains stable at approximately 36%. This indicates that the task pre-allocation algorithm still maintains favorable scheduling performance even under the condition of continuously increasing task quantities. The error bars in Fig 8(b) represent one standard deviation (SD) computed from the optimization efficiency values obtained across 50 paired simulation runs.

To evaluate the robustness of the proposed method under varying operational conditions, a sensitivity analysis on task arrival intervals was conducted. Specifically, tasks were generated sequentially with fixed time intervals , where . Smaller values of correspond to higher task arrival rates and thus higher system load, while larger values represent lighter load conditions. The number of tasks is fixed at 50, which represents a moderate workload level within the tested range.

In this experiment, the warehouse layout, number of AGVs, and task allocation strategies were kept unchanged to ensure a fair comparison. For each interval setting, 50 independent task sets were generated using different random seeds, and all algorithms were evaluated on identical task instances. The reported results correspond to the mean performance over 50 runs, along with standard deviations to reflect variability. The experimental results are presented in Fig 9.

thumbnail
Fig 9. Performance comparison under different task arrival intervals.

https://doi.org/10.1371/journal.pone.0352782.g009

To assess whether the superiority of the proposed algorithm remains valid under different task arrival intervals, paired statistical tests were performed for each interval setting. The results are presented in Table 3.

thumbnail
Table 3. Statistical comparison of task completion times under different task arrival intervals.

https://doi.org/10.1371/journal.pone.0352782.t003

As shown in Fig 9, the total completion time of both algorithms decreases as the task arrival interval increases. This is because larger values correspond to lower system load, which reduces congestion and conflicts among AGVs.

When increases from 1 to 3, the total completion time decreases steadily, indicating that the system is highly sensitive to task arrival rates under high-load conditions. As increases further to 5, the decreasing trend continues but becomes less pronounced. When exceeds 5, the performance improvement gradually stabilizes, suggesting that the system operates under relatively low-load conditions.

In addition, the proposed task pre-dispatching algorithm consistently outperforms the conventional bidding algorithm across all tested intervals. The advantage is particularly pronounced under high-load conditions, demonstrating its effectiveness in reducing congestion and improving system efficiency. Furthermore, the relatively small error bars indicate low variability across repeated experiments, confirming the stability and robustness of the proposed method.

To further evaluate the robustness of the proposed task pre-allocation algorithm under different operational conditions, an additional sensitivity analysis was conducted by varying the AGV speed while keeping all other simulation parameters unchanged. The number of tasks was fixed at 50, and five speed settings (0.5, 0.75, 1.0, 1.25, and 1.5 m/s) were considered. For each speed level, 50 paired simulation runs were performed using the common random number (CRN) strategy to ensure a fair comparison between the proposed task pre-allocation algorithm and the conventional bidding algorithm. The average task completion time was selected as the evaluation metric. This experiment aims to verify whether the relative performance ranking of the two algorithms remains consistent under different AGV operating speeds. The experimental results are presented in Fig 10.

thumbnail
Fig 10. Performance comparison under different AGV speeds.

https://doi.org/10.1371/journal.pone.0352782.g010

To further evaluate the robustness of the proposed task pre-dispatching algorithm under different operational conditions, paired statistical analyses were conducted for each AGV speed setting based on 50 paired simulation runs. The results are summarized in Table 4.

thumbnail
Table 4. Statistical comparison of task completion times under different AGV speed settings.

https://doi.org/10.1371/journal.pone.0352782.t004

As shown in Fig 10, the total task completion time decreases as AGV speed increases for both algorithms, indicating that higher operating speeds improve overall transportation efficiency. Across all tested speed settings, the proposed task pre-dispatching algorithm consistently achieves lower completion times than the conventional bidding algorithm. Moreover, the performance ranking of the two algorithms remains unchanged, demonstrating that the proposed method maintains stable scheduling advantages under different AGV operating conditions.

During system operation, the travel status and running time of each AGV are recorded, based on which the overall system no-load rate is calculated. The calculation formula is as follows:

(14)

where N is the number of AGVs, is the total running time of AGV , and is the running time of AGV under load. The experimental results are presented in Fig 11.

thumbnail
Fig 11. Comparison of overall system no-load rates.

https://doi.org/10.1371/journal.pone.0352782.g011

To determine whether the reduction in no-load rate is statistically significant, paired statistical analyses were conducted for each task quantity. The corresponding results are reported in Table 5.

thumbnail
Table 5. Statistical comparison of overall system no-load rates.

https://doi.org/10.1371/journal.pone.0352782.t005

As presented in Fig 11, as the number of tasks increases from 10 to 80, the no-load rate achieved by the task pre-allocation algorithm remains consistently lower than that of the conventional bidding algorithm. This indicates its advantage in reducing no-load scheduling behavior.

The error bars represent one standard deviation (SD) calculated from 50 independent simulation runs. The relatively small confidence intervals suggest that both methods exhibit stable performance, while the proposed algorithm maintains a more favorable no-load rate across different task scales.

Specifically, the no-load rate under the conventional bidding algorithm remains at a relatively high level, ranging from approximately 62% to 64.5%. In contrast, the no-load rate of the task pre-allocation algorithm remains within a lower range of approximately 56% to 61%.

Notably, when the number of tasks is 60, 70, and 80, the system achieves no-load rates of 57.8%, 56.9%, and 57.0%, respectively, corresponding to reductions of 6.6, 7.6, and 6.6 percentage points compared with the conventional bidding algorithm. These results demonstrate the superior resource utilization efficiency of the proposed method.

In addition to the aforementioned indicators, this experiment also records and calculates the average response time for each task, which is defined as the waiting time from the dispatch of the transport order to the AGV’s pickup of the cargo. Meanwhile, the response times of inbound and outbound tasks are recorded separately based on the different task types. The experimental results are presented in Fig 12.

thumbnail
Fig 12. Comparison of average task response times.

https://doi.org/10.1371/journal.pone.0352782.g012

To further evaluate the effectiveness of the proposed algorithm in improving task responsiveness, paired statistical tests were conducted for the average task response time metric. The results are summarized in Table 6.

thumbnail
Table 6. Statistical comparison of average task response times.

https://doi.org/10.1371/journal.pone.0352782.t006

From the perspective of task type distribution, the response time for outbound tasks is generally slightly longer than that for inbound tasks under both algorithms, which can be attributed to the more complex routing and more concentrated target locations associated with outbound operations. From the overall performance, the task pre-dispatching algorithm consistently achieves substantially shorter response times than the conventional bidding algorithm across all task scales, and this advantage becomes more pronounced as the number of tasks increases. When the number of tasks reaches 80, the overall response time of the proposed algorithm is reduced by approximately 90 seconds compared with the conventional method.

As shown in Fig 12, error bars are provided for the “all” category to reflect the variability over 50 independent experimental runs. It can be observed that the variations remain relatively small, indicating that the observed performance improvements are statistically stable and not caused by random fluctuations. For clarity, error bars for inbound and outbound tasks are omitted, while their trends remain consistent with the overall results.

Dynamic map path planning experiment

To validate the effectiveness of dynamic map path planning mechanism in multi-AGV systems, this section designs simulation experiments to compare the differences in path planning performance before and after the introduction of dynamic map path planning mechanism. Considering that the dynamic changes in stacked materials are the primary factors affecting path accessibility, and the movable containers are only present within the warehouse zone, the experimental environment is focused on Warehouse Zone 1 as illustrated in Fig 1.

During the experiment, tasks are dispatched at 20-second intervals, with the number of tasks starting from 5 and incrementing by a step size of 5 up to 30. Under each task scale, the scheduling performance of two strategies is compared: static map planning (which does not consider changes in movable containers) and dynamic map path planning (which integrates stacking state detection and a temporary path mechanism). Under the same map and initial conditions, 50 sets of task data are randomly generated for each task scale, and the average value of the 50 experimental results is recorded and calculated as the final evaluation index for that task scale.

To more comprehensively evaluate the optimization effect of dynamic map path planning mechanism on the balance of path distribution, this experiment introduces the Weighted Hotspot Distribution Index (WHDI) as an evaluation metric. With the map of warehouse zone 1 as the reference, a heat map matrix is constructed, where the element H(x, y) in the matrix represents the number of times the coordinate point (x, y) in the map is traversed by AGVs, i.e., the heat value. The maximum heat value is defined as:

(15)

Busy points are defined as those positions in the heat matrix where the heat value exceeds half of the maximum heat value. The set of these points is denoted as follows:

(16)

The WHDI in this experiment is formally defined as follows:

(17)

This metric not only reflects the visitation frequency of AGVs to each path point during operation, but also highlights the impact of high-frequency path zones on the system’s spatial load balancing by introducing weighting factors. It thus provides an effective quantification of how the dynamic map path planning mechanism mitigates local congestion. The WHDI values obtained from the two experimental groups are presented in Fig 13, while the heatmap comparison under the 30-task condition is illustrated in Figs 14(a) and 14(b).

thumbnail
Fig 14. Comparison of heatmaps: (a) static map planning; (b) dynamic map path planning.

https://doi.org/10.1371/journal.pone.0352782.g014

To evaluate whether the dynamic map planning strategy effectively improves path utilization balance, paired statistical analyses were conducted on the WHDI metric for different task quantities based on 50 paired simulation runs. The results are summarized in Table 7.

thumbnail
Table 7. Statistical comparison of WHDI between the dynamic map planning strategy and the static map planning strategy.

https://doi.org/10.1371/journal.pone.0352782.t007

As depicted in Fig 13, the WHDI increases with the number of tasks from 5 to 30 under both map planning strategies, indicating that the spatial distribution of tasks becomes progressively more concentrated as the task load grows.

Compared with static map planning, the dynamic map planning approach consistently achieves lower WHDI values across all task scales. When the number of tasks is relatively small, the difference between the two strategies is limited; however, as the task scale increases, the advantage of dynamic planning becomes increasingly pronounced, resulting in a more larger reduction in WHDI.

Error bars are included to represent the standard deviation over 50 independent experimental runs. It can be observed that the variability remains relatively small across all task levels, and the error ranges of the two methods show only limited overlap. This indicates that the improvement achieved by the dynamic map planning strategy is stable and not caused by random experimental fluctuations.

Fig 14 further illustrates the spatial distribution characteristics of path utilization. Under static map planning, the heatmap reveals distinct hotspot aggregation, where task paths concentrated along the edges or central main corridors of the warehouse zone, resulting in high path repetition rates. In contrast, dynamic map path planning effectively disperses task traffic flow through the introduction of temporary paths and real-time updates, which not only renders the distribution of high-frequency path areas more uniform but also mitigates the formation of traffic bottlenecks. These results demonstrate that dynamic map path planning can enhance the balanced allocation of path resources, effectively alleviating congestion and optimizing system throughput efficiency in scenarios with parallel multi-task execution.

To validate the effectiveness of the dynamic map path planning mechanism in mitigating path conflicts, the experiment records and compares the conflict waiting times under two scheduling strategies. The conflicts includes chasing conflicts and vertical conflicts—both of which occurred under either map planning strategy—as well as head-on conflicts that are unique to the temporary paths in dynamic maps. The experimental results are presented in Fig 15.

To further evaluate the effectiveness of the dynamic map planning strategy in mitigating traffic congestion, paired statistical analyses were conducted on the conflict waiting time metric for different task quantities based on 50 paired simulation runs. The results are summarized in Table 8.

thumbnail
Table 8. Statistical comparison of conflict waiting time between the dynamic map planning strategy and the static map planning strategy.

https://doi.org/10.1371/journal.pone.0352782.t008

As depicted in Fig 15, the conflict waiting time under both map planning strategies increases as the number of tasks rises from 5 to 30. This trend indicates that, with the growth of task density, path intersections and resource competition among AGVs become more frequent, resulting in increased conflict occurrences and higher waiting costs.

Across all task scales, the dynamic map planning strategy consistently yields lower conflict waiting times compared with the static map planning approach. This advantage becomes more pronounced at higher task levels, particularly when the number of tasks reaches 25 and 30, where reductions of approximately 2.4 s and 2.7 s are observed, respectively.

Error bars are included to represent the standard deviation over 50 independent experimental runs. It can be observed that the variability remains relatively small across all task levels, and the error ranges of the two methods exhibit only limited overlap. This demonstrates that the reduction in conflict waiting time achieved by the dynamic map planning strategy is stable and not attributable to random fluctuations.

This superiority can be attributed to the ability of the dynamic map to flexibly utilize temporarily available storage aisles as auxiliary paths, thereby alleviating congestion in high-frequency regions and effectively reducing the likelihood of path conflicts.

Localized floyd algorithm experiment

To validate the computational efficiency advantages of the proposed localized Floyd algorithm in dynamic path update processes, this experiment is conducted under the identical simulation environment specified in the preceding section. The experimental scenario was focused on warehouse zone 1, with a fixed task dispatching interval of 20 seconds; the number of tasks is initialized at 5 and increased in increments of 5 until reaching 30.

For each task scale, path planning was executed using the Dijkstra algorithm, A* algorithm, traditional Floyd algorithm, and the improved localized Floyd algorithm proposed in this paper. The computational time of each algorithm during each round of path updates is recorded, and the average value derived from 50 replicate experiments is adopted as the evaluation metric to compare the computational overheads of the respective algorithms. The experimental results are presented in Fig 16.

thumbnail
Fig 16. Comparison of computational time across different algorithms.

https://doi.org/10.1371/journal.pone.0352782.g016

To statistically evaluate the computational efficiency of the proposed local Floyd algorithm, paired statistical analyses were conducted based on 50 paired simulation runs. The average computational times obtained under different task quantities were used to compare the local Floyd algorithm with Dijkstra, A*, and traditional Floyd algorithms. The results are summarized in Table 9.

thumbnail
Table 9. Statistical comparison of computational time between the local Floyd algorithm and benchmark algorithms.

https://doi.org/10.1371/journal.pone.0352782.t009

As observed from Fig 16, the computational time of all four algorithms increases with the number of tasks, indicating that the computational burden of path planning grows as the task scale expands.

Among the compared methods, the Local Floyd algorithm consistently achieves the lowest computation time across all task levels, demonstrating a clear efficiency advantage. In contrast, the Dijkstra algorithm exhibits the highest runtime, mainly due to its single-source shortest path nature, which requires repeated recalculation for varying task starting points. The A* algorithm, which incorporates heuristic guidance to improve search directionality, reduces computation time compared with Dijkstra, yet still experiences efficiency degradation at larger task scales. The traditional Floyd algorithm, while suitable for multi-source path planning, suffers from high computational overhead in dynamic environments, as frequent map updates necessitate repeated execution of triple nested loops.

Error bars are included to represent the standard deviation over 50 independent experimental runs. It can be observed that the variability remains relatively small across all task scales, and the relative performance ranking of the four algorithms remains consistent within the error ranges. This indicates that the superiority of the Local Floyd algorithm is stable and not caused by random experimental fluctuations.

In contrast, the Local Floyd algorithm reduces computational complexity by restricting updates to locally affected regions, thereby decreasing redundant computations. This mechanism enables it to maintain high efficiency under dynamic conditions, making it particularly suitable for multi-AGV scheduling in dynamic environments.

Conclusion

This paper addresses critical challenges encountered by multi-AGV systems operating in complex intelligent warehouse environments, including high system no-load rate, prolonged task response delays, and imbalanced path utilization. To resolve these issues, an optimized multi-AGV task scheduling and dynamic map path planning method is proposed, which integrates task pre-allocation mechanisms with an improved Floyd algorithm. The main conclusions are summarized as follows:

  1. (1) A multi-AGV scheduling strategy integrating task decomposition and task pre-allocation algorithms is proposed. Complex tasks are decomposed into long-distance transportation and fixed-point storage subtasks, which are then executed collaboratively by heterogeneous AGVs, thereby enhancing resource utilization efficiency. Additionally, a dynamic map path planning framework is constructed, wherein a temporary path traffic control module and a localized Floyd algorithm are embedded into the path planning module. This framework enables rapid local path adjustment and effective collision control.
  2. (2) A series of comparative experiments are conducted on the MATLAB simulation platform to validate the effectiveness of the proposed method. The results demonstrate that, in comparison with general bidding algorithms and conventional path planning methods, the task pre-allocation algorithm reduces the system no-load rate and task response time, with all reported improvements confirmed by paired statistical tests, while improving scheduling continuity. Furthermore, the dynamic map path planning mechanism effectively mitigates path congestion and hotspot aggregation. The improved local Floyd algorithm also remarkably reduces the computational complexity of path planning, thus enhancing overall system operational efficiency and balancing path utilization.
  3. (3) Although the experiments were conducted under a fixed set of parameters, the observed performance improvements are mainly attributed to the algorithmic mechanisms rather than specific parameter choices. A comprehensive sensitivity analysis will be considered in future work, which may also extend this work to irregular map structures, task priority control, and collaboration scenarios involving more diverse types of AGVs. On this basis, intelligent decision-making models and reinforcement learning mechanisms can be introduced to further enhance system’s robustness, adaptability, and intelligent scheduling performance in heterogeneous and complex environments.

References

  1. 1. Ellithy K, Salah M, Fahim IS, Shalaby R. AGV and Industry 4.0 in warehouses: A comprehensive analysis of existing literature and an innovative framework for flexible automation. Int J Adv Manuf Technol. 2024;134(1–2):15–38.
  2. 2. Han X, Cheng W, Meng L, Zhang B, Gao K, Zhang C, et al. A dual population collaborative genetic algorithm for solving flexible job shop scheduling problem with AGV. Swarm and Evolutionary Computation. 2024;86:101538.
  3. 3. Verma P, Olm JM, Suarez R. Traffic management of multi-AGV systems by improved dynamic resource reservation. IEEE Access. 2024;12:19790–805.
  4. 4. He X, Quan H, Lin W, Deng W, Tan Z. AGV scheduling optimization for medical waste sorting system. Sci Program. 2021;2021:1–12.
  5. 5. Xu Y, Liu W, Yuan H. Multi-AGV scheduling and path planning based on an improved ant colony algorithm. Vehicles. 2025;7(3):102.
  6. 6. Ventura AJ, Pazhani S, Mendoza A. Finding optimal dwell points for automated guided vehicles in general guide-path layouts. Int J Prod Econ. 2015;170:850–61.
  7. 7. Zhu Y, Song Q, Li M. Optimization of multi-AGV task allocation based on an improved PSO algorithm. PLoS One. 2025;20(6):e0321616. pmid:40455915
  8. 8. Li L, Li Y, Liu R, Zhou Y, Pan E. A Two-stage Stochastic Programming for AGV scheduling with random tasks and battery swapping in automated container terminals. Transportation Research Part E: Logistics and Transportation Review. 2023;174:103110.
  9. 9. Yang Y, Sun S, Wu Y. Integrating multi-equipment scheduling with accurate AGV path planning for U-shaped automated container terminals. Comput Ind Eng. 2025;209:111427.
  10. 10. Xu X, Li Z. Multi-automated guided vehicle path planning problem based on discrete time–space network. Sci Technol Eng. 2021;21(33):14209–19.
  11. 11. He L, Lou P, Qian X. Collision-free path planning of automated guided vehicles based on time windows. Comput Integr Manuf Syst. 2010;16(12):2630–4.
  12. 12. Zhuge Q, Xu G, Zhou Y. AGV quantity configuration and scheduling optimization method based on graph theory. Ind Eng Manag. 2023;:1–17.
  13. 13. Cao X, Zhu M. Collision avoidance decision optimization for multiple automated guided vehicles based on conflict prediction. Comput Integr Manuf Syst. 2020;26(8):2092–8.
  14. 14. Zhang Y, Wu J, Cheng J. AGV path planning considering collision avoidance under multiple handling tasks. Appl Res Comput. 2023;:1–9.
  15. 15. Wang J, Peng J, Han J. Research on optimization of multi-AGV path based on genetic algorithm considering charge utilization. J Phys Conf Ser. 2021;1769(1):012052.
  16. 16. Teck S, Pham ST, Rousseau ML. Deep reinforcement learning for real-time inventory rack storage assignment and replenishment problem. Eur J Oper Res. 2025;327(2):606–22.
  17. 17. Sindhu R, Wail G. Constraint-free discretized manifold-based path planner. Int J Intell Robot Appl. 2023;7(4):810–55.
  18. 18. Cai Y, Liu H, Li M, Ren F. A method of dual-AGV-ganged path planning based on the genetic algorithm. Appl Sci. 2024;14(17):7482.
  19. 19. Lou P, Zhong Y, Hu J, Fan C, Chen X. Digital-twin-driven AGV scheduling and routing in automated container terminals. Mathematics. 2023;11(12):2678.
  20. 20. Guo T, Sun Y, Liu Y, Liu L, Lu J. An automated guided vehicle path planning algorithm based on improved A* and dynamic window approach fusion. Appl Sci. 2023;13(18):10326.
  21. 21. Wang L, Wang H, Yang X, Gao Y, Cui X, Wang B. Research on smooth path planning method based on improved ant colony algorithm optimized by Floyd algorithm. Front Neurorobot. 2022;16:955179. pmid:36091416
  22. 22. Li T, Ding P, Zhang R. Collision-free path planning for multiple AGVs based on dynamic obstacle avoidance priority and prediction. Syst Eng. 2024;42(3):50–62.
  23. 23. De Ryck M, Pissoort D, Holvoet T. Decentral task allocation for industrial AGV-systems with routing constraints. Journal of Manufacturing Systems. 2022;:135–44.