| Literature DB >> 36007089 |
Tsung-Xian Lin1,2, Zhong-Huan Wu1,2, Wen-Tsao Pan3.
Abstract
A clustering algorithm is a solution for grouping a set of objects and for distribution centre location problems. But the common K-means clustering algorithm may give local optimal solutions. Swarm intelligent algorithms simulate the social behaviours of animals and avoid local optimal solutions. We employ three swarm intelligent algorithms to avoid these solutions. We propose a new algorithm for the clustering problem, the fruit-fly optimization K-means algorithm (FOA K-means). We designed a distribution centre location problem and three clustering indicators to evaluate the performance of algorithms. We compare the algorithms of K-means with the ant colony optimization algorithm (ACO K-means), particle swarm optimization algorithm (PSO K-means), and fruit-fly optimization algorithm. We find K-Means modified by the fruit-fly optimization algorithm (FOA K-means) has the best performance on convergence speed and three clustering indicators, compactness, separation, and integration. Thus, we can apply FOA K-means to improve the distribution centre location solution and the efficiency for distribution in the future.Entities:
Mesh:
Year: 2022 PMID: 36007089 PMCID: PMC9409525 DOI: 10.1371/journal.pone.0271928
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.752
Fig 1Flowchart of ant colony optimization algorithm.
Fig 2Retailers location map.
Fig 3Sum of squared error of various clusters.
Fig 5Result of ACO.
Fig 4Result of common K-Means.
K-Means distribution centres.
| Horizontal axis(X/m) | Vertical axis(Y/m) | |
|---|---|---|
| Distribution centre 1 | 3198.532555 | 3458.119546 |
| Distribution centre 2 | 1531.344733 | 2906.774243 |
| Distribution centre 3 | 2570.173 | 1218.828 |
The total distance from each retailer to the distribution centres is 184400.41 m.
ACO distribution centres.
| Horizontal axis(X/m) | Vertical axis(Y/m) | |
|---|---|---|
| Distribution Centre 1 | 2872.944 | 3401.305 |
| Distribution Centre 2 | 1930.966 | 2349.514 |
| Distribution Centre 3 | 2417.269 | 1607.756 |
The total distance from each retail customer to the distribution centres is 280379.72 m.
Fig 6Result of PSO K-Means.
PSO K-Means distribution centres.
| Horizontal axis(X/m) | Vertical axis(Y/m) | |
|---|---|---|
| Distribution Centre 1 | 3282.131 | 3430.185 |
| Distribution Centre 2 | 2562.433 | 1209.77 |
| Distribution Centre 3 | 1601.736 | 2966.247 |
The total distance from each retailer to the distribution centres is 185227.7256 m.
Fig 7Result of MFOA K-Means.
MFOA distribution centres.
| Horizontal axis(X/m) | Vertical axis(Y/m) | |
|---|---|---|
| Distribution Centre 1 | 3231.8 | 3431.8 |
| Distribution Centre 2 | 1562.7 | 2930.4 |
| Distribution Centre 3 | 2559.9 | 1198.7 |
The total distance from each retailer to the distribution centres is 184365.38 m.
Comparable indicators of the four algorithms.
| Algorithms | Common K-Means | ACO | MFOA K-Means | PSO K-Means |
|---|---|---|---|---|
| Total Distance (m) | 184400.41 | 280379.72 | 184365.38 | 185227.73 |
| Total Centre Distance (m) | 6063.77 | 4149.43 | 6073.07 | 6079.44 |
| Davies-Bouldin Index | 1.846841 | 4.532969 | 1.846223476 | 1.855038066 |
The comparison figure of the algorithms appears in Fig 8 and Table 5:
Fig 8Comparison of the four results.
Fig 9Three optimal clustering algorithms iteration result.