| Literature DB >> 24959603 |
Hongping Wang1, Xi Lu1, Xiaoge Zhang1, Qing Wang1, Yong Deng2.
Abstract
The constrained shortest path (CSP) problem has been widely used in transportation optimization, crew scheduling, network routing and so on. It is an open issue since it is a NP-hard problem. In this paper, we propose an innovative method which is based on the internal mechanism of the adaptive amoeba algorithm. The proposed method is divided into two parts. In the first part, we employ the original amoeba algorithm to solve the shortest path problem in directed networks. In the second part, we combine the Physarum algorithm with a bio-inspired rule to deal with the CSP. Finally, by comparing the results with other method using an examples in DCLC problem, we demonstrate the accuracy of the proposed method.Entities:
Mesh:
Year: 2014 PMID: 24959603 PMCID: PMC4052047 DOI: 10.1155/2014/271280
Source DB: PubMed Journal: ScientificWorldJournal ISSN: 1537-744X
Figure 1A directed transportation network with 20 nodes used in [16].
Attribute value of each edge employed in [16].
| Edge | Length | Cost |
|---|---|---|
| 1 → 2 | 120 | 60 |
| 1 → 5 | 90 | 50 |
| 2 → 3 | 100 | 40 |
| 2 → 6 | 90 | 60 |
| 3 → 7 | 90 | 50 |
| 4 → 8 | 70 | 40 |
| 5 → 4 | 120 | 60 |
| 5 → 9 | 80 | 50 |
| 6 → 10 | 40 | 20 |
| 6 → 12 | 60 | 40 |
| 7 → 12 | 80 | 60 |
| 7 → 13 | 60 | 50 |
| 8 → 15 | 70 | 40 |
| 8 → 16 | 100 | 40 |
| 9 → 10 | 20 | 60 |
| 9 → 16 | 90 | 40 |
| 10 → 11 | 90 | 50 |
| 10 → 17 | 70 | 40 |
| 11 → 18 | 70 | 60 |
| 12 → 11 | 50 | 50 |
| 13 → 18 | 140 | 40 |
| 14 → 13 | 100 | 60 |
| 15 → 20 | 150 | 50 |
| 15 → 16 | 40 | 40 |
| 16 → 20 | 80 | 60 |
| 17 → 20 | 60 | 50 |
| 18 → 19 | 40 | 40 |
| 19 → 20 | 50 | 40 |
Algorithm 1A bioinspired method for the constrained shortest path problem.
Figure 2The solution.
Figure 3A real directed network with 23 nodes used in [59].
The attributes' value associated with each edge.
| Link | Cost | Delay | Edge | Cost | Delay |
|---|---|---|---|---|---|
| 1 → 2 | 15.4922 | 4.3346 | 12 → 15 | 18.0059 | 7.1883 |
| 1 → 3 | 10.3278 | 6.9174 | 19 → 15 | 18.4855 | 9.0751 |
| 1 → 4 | 6.9264 | 9.2813 | 9 → 16 | 6.0788 | 13.7941 |
| 1 → 5 | 14.1113 | 11.0636 | 10 → 16 | 4.7168 | 4.0935 |
| 2 → 6 | 20.4833 | 17.6400 | 10 → 17 | 8.9175 | 10.1357 |
| 2 → 7 | 21.4486 | 7.7884 | 11 → 17 | 10.7635 | 11.7094 |
| 4 → 7 | 12.5672 | 9.6045 | 15 → 18 | 10.0545 | 12.9549 |
| 3 → 8 | 18.7087 | 6.8806 | 13 → 19 | 7.1035 | 6.8859 |
| 5 → 8 | 12.0780 | 7.2797 | 15 → 19 | 9.5816 | 7.9918 |
| 6 → 9 | 16.4558 | 6.3616 | 16 → 20 | 14.1424 | 9.7289 |
| 6 → 10 | 10.9584 | 8.1689 | 17 → 20 | 11.3280 | 12.6545 |
| 7 → 10 | 12.5739 | 11.7066 | 14 → 21 | 15.2885 | 11.3513 |
| 4 → 11 | 8.9370 | 12.9112 | 17 → 21 | 15.9805 | 11.7076 |
| 5 → 11 | 19.0253 | 11.5669 | 18 → 21 | 11.5145 | 5.7829 |
| 7 → 11 | 10.8697 | 10.4742 | 18 → 22 | 10.0890 | 12.2744 |
| 5 → 12 | 19.1114 | 7.4606 | 19 → 22 | 14.6551 | 11.5192 |
| 8 → 13 | 11.2672 | 2.6939 | 18 → 23 | 2.9196 | 10.9407 |
| 11 → 14 | 16.8435 | 12.3477 | 20 → 23 | 10.8112 | 7.6235 |
| 12 → 14 | 8.3291 | 9.7940 | 21 → 23 | 13.0190 | 12.2323 |
| 22 → 23 | 12.5263 | 9.1583 |
Paths and their attributes.
| Order | Handler and Zang's method | Proposed method | ||||
|---|---|---|---|---|---|---|
|
| Delay | Cost | Important path | Delay | Cost | |
| 1 | 1-4-11-17-20-23 | 54.1798 | 48.7660 | 1-4-11-17-20-23 | 54.1798 | 48.7660 |
| 2 | 1-3-8-13-19-22-23 | 54.1798 | 48.7660 | 1-3-8-13-19-15-18-23 | 56.3484 | 78.8668 |
| 3 | 1-4-11-17-21-23 | 57.8418 | 55.6264 | 1-4-7-10-17-21-23 | 64.6681 | 69.9845 |
| 4 | 1-4-11-14-21-23 | 58.1237 | 61.0144 | 1-2-6-9-16-20-23 | 64.6681 | 69.9845 |
| 5 | 1-4-7-10-16-20-23 | 52.0383 | 61.7379 | 1-3-8-13-19-22-23 | 44.0553 | 74.5885 |
| 6 | 1-4-7-10-17-20-23 | 61.0060 | 63.1241 | |||
| 7 | 1-4-7-11-17-20-23 | 61.3472 | 63.2659 | |||
| 8 | 1-5-12-15-18-23 | 49.6080 | 64.2027 | |||
| 9 | 1-5-11-17-20-23 | 54.6178 | 66.0392 | |||
| 10 | 1-5-12-14-21-23 | 51.9017 | 69.8593 | |||
| 11 | 1-5-8-13-19-22-23 | 48.6006 | 71.7413 | |||
| 12 | 1-3-8-13-19-22-23 | 44.0553 | 74.5885 | |||
Setting parameter values.
| BA model | Constraint | Cost | Delay | Proposed method | |||||
|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
| Mean | std | Mean | std |
|
|
| 3 | 3 | 3 | 0.1 | 10 | 3 | 10 | 5 | 2 | 30 |
Computational results.
| Nodes | Handler and Zang's method [ | Proposed method |
|---|---|---|
| Av. computer time (s) | Av. computer time (s) | |
| 100 | ||
| 1 | 0.0147 | 0.236 |
| 2 | 0.0513 | 0.048 |
| 3 | 0.00559 | 0.0363 |
| 4 | 0.00575 | 0.0259 |
| Av. time for 100 nodes |
|
|
| 300 | ||
| 1 | 0.0163 | 0.353 |
| 2 | 0.0189 | 1.009 |
| 3 | 0.0229 | 1.171 |
| 4 | 0.0148 | 0.231 |
| Av. time for 300 nodes |
|
|
| 500 | ||
| 1 | 0.038 | 1.278 |
| 2 | 0.037 | 1.14 |
| 3 | 0.039 | 1.298 |
| 4 | 0.039 | 1.346 |
| Av. time for 500 nodes |
|
|
| 700 | ||
| 1 | 0.733 | 3.989 |
| 2 | 0.0689 | 4.107 |
| 3 | 0.0791 | 5.563 |
| 4 | 0.069 | 3.775 |
| Av. time for 700 nodes |
|
|
| 1000 | ||
| 1 | 0.121 | 17.34 |
| 2 | 0.126 | 24.531 |
| 3 | 0.143 | 20.135 |
| 4 | 0.135 | 42.846 |
| Av. time for 1000 nodes |
|
|
|
| ||
| Global Av. | 0.0890 | 6.523 |