Cleaning pattern
Cleaning pattern
https://www.scirp.org/journal/wjet
ISSN Online: 2331-4249
ISSN Print: 2331-4222
School of Maritime Economics and Management, Dalian Maritime University, Dalian, China
2
Keywords
Generalized Traveling Salesman Problem with Pickup and Delivery, Complete
Coverage Path Planning, Boustrophedon Cellular Decomposition, Adaptive
Large-Neighborhood Search Algorithm, Mobile Robot
1. Introduction
With the development of the field of artificial intelligence in recent years, robot-
ics as its representative product has been applied to various industries. Complete
coverage path planning (CCPP) [1] is an important part of robot path planning
research, which is the design of a path that traverses all areas of the environ-
ment, based on a priori information obtained from a map of the coverage area. It
has a wide range of applications, such as maritime waste cleaning and patrolling,
and path planning for floor sweeping robots.
DOI: 10.4236/wjet.2023.114063 Nov. 30, 2023 965 World Journal of Engineering and Technology
L. H. Ma et al.
There are three main 3 types of complete coverage path planning algorithms:
traditional method, grid method and cell decomposition method. Among them,
the boustrophedon cellular decomposition method (BCD) proposed by Choset
[2] effectively reduces the complexity of the complete coverage planning prob-
lem. However, the selection of access order between subregions is not considered.
For the selection of neighboring paths between subregions, Viet HH et al. [3]
treat each subregion as a point and solve the inter-subregions path planning by
solving the travelling salesman problem Zhou Lina et al. [4] traversed the adja-
cency graph with the DFS algorithm to find an exhaustive coverage path availa-
ble for traveling salesman. Huang Jiahao et al. [5] established a sub-region adja-
cency graph based on the ant colony algorithm to solve the problem, which can
quickly and efficiently obtain the visiting sequence of each sub-region. The ex-
isting literatures are solved by establishing the adjacency graph through the rela-
tive location relationship of each sub-region to obtain the access order of
sub-regions, without considering the impact of inter-subregions path planning
on the cost of intra-subregions path planning.
Unlike the existing literature, in this paper, we first partition the map into
subregions according to BCD, and then treat the vertices of these subregions as
entry and exit points. The robot can enter or leave the subregion from any ver-
tex, so the problem of obtaining the visiting sequence of each subregion can be
converted into a problem of the route where the vertices are visited. The robot
can enter or leave the subregion from any vertex, so the problem of obtaining
the order in which the robot visits the subregion can be converted into a prob-
lem of the order in which it visits these vertices. Then this problem can be de-
scribed by the generalized traveling salesman problem with pickup and delivery
(GTSPPD).
Both generalized traveling salesman problem and traveling salesman prob-
lem with pickup and delivery are NP-hard problems. The solving algorithm
mainly consists of two parts: the exact algorithm and the heuristic algorithm.
In terms of exact solutions, VD Šarić et al. converted GTSP into a traveling sa-
lesman problem for solving [6], but the existing solvers for TSP as an NP-Hard
problem are equally difficult to solve for large-scale cases [7]. Exact algorithms
for directly solving the GTSP include branch-and-bound algorithms [8], and
branch-and-cut algorithms [9]. In terms of heuristic algorithm solving, specif-
ic local search algorithms [10], adaptive large neighbourhood algorithms [11],
genetic algorithms [12].
The main contributions of this study are as follows: Firstly, the GTSPPD
model is developed and solved to improve the complete coverage algorithm based
on area division. Secondly, the adaptive large neighborhood search (ALNS) al-
gorithm is designed for solving the GTSPPD model with respect to its characte-
ristics. Finally, the efficiency of the improved complete coverage path planning
algorithm based on GTSPPD and the superiority of the ALNS algorithm is
demonstrated by the comparison of arithmetic examples.
s.t.
∑
= xij ∑
= x ji yi ∀j ∈ V (2)
i∈V ′ ′ i∈V
∑ yi = 1 ∀c ∈ C (3)
i∈Pc
∑ yi = 1 ∀c ∈ C (4)
i∈Dc
∑
= x0 j ∑
= x j0 1 (5)
j∈V ′ ′ j∈V
∑ ∑ xij = 1 ∀c ∈ C (7)
i∈Pc j∈Dc
returns the customer point to its corresponding cluster after removing it ac-
cording to the specific destruction rules, and the cluster becomes the cluster to
be selected as the object selected by the repair operator. The destroying process
is shown in Figure 2, the first path in the figure indicates the path before de-
stroying, the red dashed line indicates the cluster selected by the destroying op-
erator, and the cluster enters into the area to be selected after removal (the el-
lipse area in the figure). Each destroy operator is described as follows:
Random destroy operator: randomly select a certain number of clusters and
remove both the pickup and delivery points belonging to the cluster in the path.
Worst transfer destroy operator: Remove all the two pickup points and two
delivery points with the highest transfer cost between the two sub-areas.
Complete destroy operator: destroys all vertices in a path.
Depending on the rules, the repair operator can select a cluster from the re-
moved cluster, select the pickup and delivery points in it, and then repair it to
the destroyed path. The repair process is shown in Figure 3. According to the
repair operator, select a cluster from among the set which has the clusters need
to be selected, select two points from the cluster as pickup and delivery points,
and then insert them into the damaged path to form a new complete coverage
path. Each repair operator is described as follows:
Random repair operator: randomly selects the start and end points in the re-
moved cluster to be repaired to a random position in the path.
Best repair operator: selects the start and end points of the removed cluster
with the lowest internal search cost and inserts them as a whole into the location
with the lowest total path cost change.
Lowest cost repair operator: Selects the lowest cost start and end points of the
path from the removed cluster and inserts these two points into the path at ran-
dom. This operator and the best path repair operator can be seen as weaker ver-
sions of the best repair operator, retaining more randomness and enhancing the
ability of the ALNS algorithm to jump out of local optima.
Best path repair operator: randomly selects the start and end points from the
removed clusters and inserts them at the location where the total cost of the path
The formula calculates the latest score of the used operator by the degree of
improvement of the newly generated paths over the old ones, using a selection of
0 with the maximum of the new scores to ensure that no negative values are
generated. A new weight value is then calculated at the end of that round of ite-
rations based on the score, with the new weight value being the weight value of
b(b ∈ (0,1)) plus the score of the operator of (1-b). In this paper the initial
weights and the initial score are both 1. The choice of which destroy and repair
operator to use is based on the weights in the form of a standard roulette wheel.
Acceptance function: In addition to directly retaining the result that is better
than the current optimal solution, the result can also be retained and used as the
initial solution for the next operation when it satisfies the acceptance function.
The probability of a new path being accepted is
min{exp ((distance( S ) − distance( Snew ) / T ),1} , T is the current temperature T in
simulated annealing.
× 20 grid map with obstacles is randomly generated, and each grid has a length
and width of 1, where black is the obstacle. The improved area decomposition
algorithm based on the GTSPPD model with Boustrophedon complete coverage
algorithm is based on the environment map after cell decomposition to solve the
complete coverage path, and the map is decomposed by the swept string parti-
tioning method to obtain 11 subregions. The solution results of the improved al-
gorithm with Boustrophedon complete coverage algorithm are shown in Figure 4.
The improved algorithm gives a total path distance of 393.1 and the Boustro-
phedon complete coverage algorithm gives a total path distance of 439.4. In
complete coverage path planning, transfer paths used for other than coverage are
often generated due to factors such as obstacle avoidance, and this part of the
path includes both sub-region transfer paths and the part of repeated coverage
within sub-regions, so this part of the path can be regarded as non-working
paths. Compared with the paths obtained by Boustrophedon complete coverage
algorithm, the improved algorithm results in 28.1 non-working paths transferred
between different regions, while the non-working paths obtained by Boustro-
phedon complete coverage algorithm is 74.4, and the non-working path distance
is reduced by 62.2%.
coverage algorithm are compared for each case. The solution results are shown
in Table 1. Time in the table indicates the time required for the algorithm to
solve out the subinterval access order, and the solver's solution time is limited to
1800 s, and bold indicates the minimum cost as well as the shortest solution time
obtained by different solving methods. The ALNS algorithm in the table solves
the algorithm when it is a large-scale algorithm, and the solution time is all within
3 minutes, and the computation time is acceptable in the heuristic algorithm.
The difference between the results obtained by the ALNS algorithm and those
obtained by Gurobi is very small, and in some cases the results are even the
same. As the size of the solution increases, the GTSPPD model solution is not
guaranteed to be optimal in the required time, and even in the largest cases the
results are inferior to those obtained by the ALNS algorithm. In terms of solu-
tion time, except for the smallest accuracy cases, the solution time of the ALNS
algorithm is much smaller than that of the GTSPPD model. This proves the ef-
fectiveness of the ALNS algorithm: results with higher accuracy can be obtained
in a shorter time.
In all cases, the improved algorithm outperforms the Boustrophedon com-
plete coverage algorithm, except for the 1-4-16-10 cases where the results are the
same as the Boustrophedon complete coverage algorithm, and the difference in
results becomes more pronounced as the size of the cases increases. Although
the time is longer compared to the Boustrophedon algorithm, this computation-
al time difference is negligible compared to the actual working time.
The above results show the total path cost and the comparison results of the
non-working path cost obtained by the improved algorithm with Boustrophedon
complete coverage algorithm are shown in Table 2.
The results for the non-working paths in the above 10 cases are shown in Ta-
ble 2, and the GAP calculation formulae in the table are as follows:
=GAP ( DBoustrophedon − DGTSP ) / DBoustrophedon . where DBoustrophedon is the non-working
Name Gurobi Time (s) ALNS Time (s) Boustrophedon Time (s)
3-9-36-40 70 99 29.29
5. Concluding Remarks
In this paper, to solve the complete coverage path planning problem, a genera-
lized traveling salesman problem model with pickup and delivery is proposed to
jointly optimize the intra-traversal and inter-regional transfer paths for each
sub-region according to the total cost. An ALNS algorithm for solving the prob-
lem is also developed for fast solution of the model. The effectiveness of the im-
proved algorithm for solving the complete coverage problem is demonstrated
through case studies.
Conflicts of Interest
The authors declare no conflicts of interest regarding the publication of this pa-
per.
References
[1] Mac, T.T., Copot, C. Tran, D.T. and De Keyser, R. (2016) Heuristic Approaches in
Robot Path Planning: A Survey. Robotics and Autonomous Systems, 86, 13-28.
https://doi.org/10.1016/j.robot.2016.08.001
[2] Choset, H (2000) Coverage of Known Spaces: The Boustrophedon Cellular Decom-