• Tidak ada hasil yang ditemukan

isprs archives XLI B2 299 2016

N/A
N/A
Protected

Academic year: 2017

Membagikan "isprs archives XLI B2 299 2016"

Copied!
6
0
0

Teks penuh

(1)

A MODIFIED GENETIC ALGORITHM FOR FINDING FUZZY SHORTEST PATHS IN

UNCERTAIN NETWORKS

A. A. Heidari a, M. R. Delavar b, *

a

School of Surveying and Geospatial Eng., College of Eng., University of Tehran, North Kargar Ave., Tehran, Iran b

Center of Excellence in Geomatic Eng. in Disaster Management, School of Surveying and Geospatial Eng., College of Eng., University of Tehran, North Kargar Ave., Tehran, Iran

Email: mdelavar@ut.ac.ir

Commission IV, WG II/4

KEY WORDS: Genetic Algorithm, Shortest Path Problem, Uncertainty, Quality Assessment, Optimization

ABSTRACT:

In realistic network analysis, there are several uncertainties in the measurements and computation of the arcs and vertices. These uncertainties should also be considered in realizing the shortest path problem (SPP) due to the inherent fuzziness in the body of expert's knowledge. In this paper, we investigated the SPP under uncertainty to evaluate our modified genetic strategy. We improved the performance of genetic algorithm (GA) to investigate a class of shortest path problems on networks with vague arc weights. The solutions of the uncertain SPP with considering fuzzy path lengths are examined and compared in detail. As a robust metaheuristic, GA algorithm is modified and evaluated to tackle the fuzzy SPP (FSPP) with uncertain arcs. For this purpose, first, a dynamic operation is implemented to enrich the exploration/exploitation patterns of the conventional procedure and mitigate the premature convergence of GA technique. Then, the modified GA (MGA) strategy is used to resolve the FSPP. The attained results of the proposed strategy are compared to those of GA with regard to the cost, quality of paths and CPU times. Numerical insta nces are provided to demonstrate the success of the proposed MGA-FSPP strategy in comparison with GA. The simulations affirm that not only the proposed technique can outperform GA, but also the qualities of the paths are effectively improved. The results clarify that the competence of the proposed GA is preferred in view of quality quantities. The results also demonstrate that the proposed method can efficiently be utilized to handle FSPP in uncertain networks.

* Corresponding author

1. INTRODUCTION

Finding shortest path in a known network can be regarded as a popular concern among different engineering fields. Shortest path problem (SPP) can be investigated using a directed graph, which is studied using its edges and vertices (Antonio et al., 1992). In this task, the primary purpose is to attain the minimum length path (Effati and Jafarzadeh, 2007). Geoscience experts usually resolve the SPP in transportation planning, robot route planning and traffic tasks (Chuang Kung, 2005). The SPP has been inspected comprehensively. Up to now, various classes of algorithms are developed to tackle this task efficiently such as Dijkstra strategy (Sedeno-Noda and Raith, 2015) and Bellman–Ford (Goldberg and Radzik, 1993) approaches. Besides the traditional approaches, several novel and revised procedures have been established recently. It has been proved that the bi-criterion version of crisp SPP can be treated as a NP-hard problem. Hence, metaheuristic approaches are also useful to tackle SPP, especially for large-scale and real-time requests (Mohemmed et al., 2008).

Trevizan and Veloso (2014) introduced depth-based SPP techniques (Trevizan and Veloso, 2014). Pulido et al. verified multi-objective arrangement of SPP using lexicographic preferences (Pulido et al., 2014). Takaoka suggested a notable procedure in data spreading among all pairs SPP (Takaoka, 2014). It is required to propose more competent approaches to

understand SPP. With regard to difficulty of SPP; metaheuristics can also determine superior routes in a proper time (Mohemmed et al., 2008). Pervious researches also support the benefits of neural networks (NN) in handling SPP (Ahn et al., 2001). The genetic algorithm (GA) has been applied to realize different aspects of SPP (Ahn and Ramakrishna, 2002). Their paper revealed that GA outperforms NN-based methods in resolving SPP. In 2008, PSO was tested to solve SPP and the achieved results demonstrated that the PSO-based routes are better than those of GA (Mohemmed et al., 2008). In 2010, an ant colony technique (ACO) has been proposed to assess SPP (Ghoseiri and Nadjari, 2008).

In real networks, uncertainty exists in the body of arcs and vertices. With regard to the inherent fuzziness of measurements and expert's knowledge, uncertainties cannot be ignored in realizing the SPP. Although in conventional SPP, the masses of the boundaries are real quantities, most real-world tasks have inaccurate parameters (i.e. costs, measurements, demands, weights, time and capacities). Hence, solving SPP under fuzzy conditions (FSPP) is a motivating problem; subsequently the decision maker will be able to think through risk of the routes. The FSPP is reasonably different from the certain SPP with crisp numbers. In FSPP, fuzzy numbers can be used to model the uncertain aspects of the The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume XLI-B2, 2016

(2)

problem. Also, FSPP involves operations on fuzzy numbers that cannot be completed by default methods.

For the first time, Dubois and Prade (1980) suggested FSPP. Their method utilized fuzzy ordering relation and considered modification of the Ford–Moore–Bellman (FMB) technique. appropriate ranking technique. Tajdin et al. (2010) designed a dynamic programming strategy to handle uncertain SPP in

networks having mixed fuzzy values via α-cuts. Okada and Soper (2000) presented a model that assigns a possibility to each arc of the shortest path. Lin and Chen (1994) assigned a membership degree to all shortest routes and proposed a fuzzy-based technique to explore the best vital edge in route network. Klein (1991) proposed a method that helps decision makers to set a threshold for membership degree and attain promising paths. Ji et al. (2007) proposed different models to tackle SPP in fuzzy situations.

Here, an effective strategy is proposed to obtain the shortest path of a sampler robot in an uncertain network. Performance of genetic algorithm (GA) is improved to investigate a class of SPPs on networks with vague arc weights. As a robust method, the GA is adapted and assessed to challenge the fuzzy SPP (FSPP) with uncertain edges. In the next section, the problem is introduced and then the modified GA and results are presented in detail.

2. FUZZY SHORTEST PATH PROBLEM (FSPP)

In order to design the mathematical model of FSPP, a directed acyclic network is considered,Net ( , )v A , with a set of

This structure is shown in Figure 1.

Figure 1. Illustration of a Net allocated fuzzy values to different arcs. Hence, the main task is to minimize the expected length of pathways. The following model is considered for this purpose (Ji et al., 2007). First the next definition should be provided. For each route x, path x is identified as the expected SP (ESP) if

( , )

 

 ( , )

In order to transfigure the uncertain objective and restrictions to their corresponding deterministic variants, fuzzy programming can be utilized. However, this technique is not often effective and easy to implement in some cases. Here, fuzzy simulation is employed to estimate uncertain functions of the model. Before simulation, some definitions should be provided.

The credibility of each fuzzy occurrence can be described as the average of its corresponding possibility and necessity. These concepts are described in Ji et al. (2007). Let z be a fuzzy variable and its membership function (MF) is ( )x and r is a real value, then the following equations are true:

sup ( ) The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume XLI-B2, 2016

(3)

4

Another definition is as follows, which is based on Liu and Liu (2002). E(z) for trapezoidal numbers is as follows:

4

where Cr(.) function computes the credibility of its inside part. Fuzzy simulation is beneficial to estimate the following uncertain function. mechanism. This technique inspires the biological experience of genetic evolution (Ahn and Ramakrishna, 2002). The crucial idea is that the genetic pool of a certain population theoretically holds the solution, or a superior solution, to a specified adaptive task (Ahn and Ramakrishna, 2002).

Collaboration of dissimilar chromosomes may lead to better solutions. Throughout reproduction and crossover phases, new genetic mixtures happen and, lastly, a generation can receive a better gene from the parents. Using genetic operators, current population should be evolved in an iterative process.

Ever since the GA technique was designed by Holland (Alvarenga et al., 2007) to realize combinatorial tasks, it has emerged as an efficient meta-heuristic mechanism for tackling several network design problems. In the employed model, as the vertices of the network increase, the final set of routes can be very large. Due to the increasing complexity of this model, the GA is used to find the appropriate set of routes. Every GA algorithm should perform three phases: chromosome structure, crossover step and mutation. The structure of conventional GA is presented in Figure 2.

Figure 2. The conventional GA flowchart

For initialization, these steps can be performed:

Step 1: Set u=0 and p0=1.

procedure of chromosome encoding. Lastly, a new chromosome

' '

In modified GA-based fuzzy strategy, the rank-based evaluation of genes is determined chaotically. The logistic map is used to generate chaotic values inside interval (0, 1). This classic The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume XLI-B2, 2016

(4)

chaos-based signal can be observed in nonlinear dynamics of organic populace showing disordered manners (Heidari et al., 2015), and is formulated as Then, the rank-based evaluation is formed as:

1

Step 1: Initialize population size chromosomes Pk,

k=1, 2,…, pop-size at random

Step 2: Compute the objective values of all paths using used

fuzzy simulation.

Step 4: Select the genes for a new generation.

Step 5: Update the genes using crossover and mutation. Step 6: Repeat steps 2-5 during certain loops.

Step 7: Return the best path.

4. EXPERIMENTAL RESULTS

In order to substantiate the performance of the proposed strategy, a robotic task is investigated. In these scenarios, a mobile robot should explore the shortest route to record some soil samples from different stations in uncertain situation. In these implementations, first, 23 sampling station and 40 possible arcs among them are considered to generate the initial topology of path network. After obtaining required soil material from each station, the robot should move toward the next station to complete the soil sampling task. Due to the various limitations in time and energy, the robot should reach to the last station by following the best expected shortest trajectory. The tested network is depicted in Figure 3. The MF of arc lengths is also exposed on each route.

Figure 3. Examined network with 23 nodes (The station IDs are reported on every node, while edge values demonstrate cost

of the paths in terms of triangular fuzzy values)

For these experiments, evaluated methods are substantiated using MATLAB R2012a (7.14) on a T6400@4 GHz Intel Core (TM) PC with 4 GB of RAM. After sensitivity study, the GA and MGA methods are evaluated with these parameters: pop_size: 40, total generations: 1000, total fuzzy simulations: 5000, crossover: 0.4, mutation: 0.3.

The optimal route recognized by GA is 1, 5, 11, 17, 21, 23 and the length of path is 52.50. The best solution found by MGA is also 1, 5, 11, 17, 21, 23, and the length is 52.50 but with better computational performance. The convergence history of the MGA in 10 independent trials with 100 and 200 generations in each test is reported in Table 1. From Table 1, it can be seen that MGA can obtain fuzzy shortest length after 4 iterations.

T

Table 1. Convergence history of MGA in robotic scenario

In addition, MGA-based FSPP has validated in chorus with GA-based version. The obtained path of MGA-based fuzzy strategy during 33 iterations in test-10 is exposed in Figure 4. The length of 1→5→11→17→21→23 route is 52.50. However, the MGA-based FSPP algorithm can successfully outperform GA-based FSPP in most of the runs. For example, the computed path of GA-based FSPP after 33 repetitions in test-10 is depicted in Figure 5. It can be detected that the

GA-FSPP result is 1→5→12→14→21→23, which is not consistent at the same condition.

Figure 4. The optimal route of MGA-FSPP in Test-10 The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume XLI-B2, 2016

(5)

Figure 5. The sub-optimal route of GA-FSPP in Test-10

To investigate the convergence of the MGA, the algorithm is tested with dissimilar parameters. Results reveal that solutions converge effectively and maximum relative error (RE) is 0.936%. The RE value for Z variable can be determined based on:

min min

( )=( actual ) / 100

RE Z Z Z Z (10) whereZactualis the actual value of Z and Zminshows the

minimum value of Z.

To evaluate the MGA for different networks, it is substantiated on various random topologies with n nodes and m paths. These networks are generated using SPACYC (SPLIB) software (Ji et al., 2007). The expected shortest route is investigated using MGA and GA in each random network for 30 times to obtain the biggest RE value. The RE values are reflected in Table 2. From Table 2, it can be seen that the RE value of MGA is less than 8.0927%. This rate shows that the MGA is also competent for large scale soil sampling robotic networks.

Network-ID n m MGA GA

Net-1 300 1200 5.6208 7.5594

Net-2 400 1600 3.2719 9.8980

Net-3 500 1500 2.3078 8.7492

Net-4 600 2400 3.4463 13.4362

Net-5 700 2100 8.0927 19.2831

Net-6 800 3200 5.0054 5.2208

Net-7 900 2700 3.0360 3.3130

Net-8 1000 3000 4.0412 4.1233

Table 2. RE Results of GA, MGA on random networks

For bigger networks such as Net-6, Net-7 and Net-8, the difference amongst RE values is reduced. With regard to RE values, the simulations confirm that not only the proposed procedure can outperform GA, but also the qualities of the paths are effectively enriched. These results are also compared in Figure 6.

Figure 6. Quality assessment of MGA-FSPP and GA-FSPP based on different random networks

The CPU times of GA and MGA is shown in Table 3. The worst time of MGA is 418.86 (s), while the GA time is not better than 440.34 (s) for larger networks. However, the time of GA and MGA is comparable for some networks such as Net-1, Net-2, Net-4 and Net-5. The RE and time results also demonstrate that the premature convergence problem is mitigated effectively. The results also demonstrate that the proposed GA-based technique can competently be used to resolve FSPP in uncertain networks.

Network-ID n m MGA (s) GA (s)

Net-1 300 1200 51.91 57.28

Net-2 400 1600 64.44 63.545

Net-3 500 1500 76.97 83.235

Net-4 600 2400 87.71 92.185

Net-5 700 2100 148.57 142.305

Net-6 800 3200 187.95 209.43

Net-7 900 2700 261.34 308.775

Net-8 1000 3000 418.86 440.34

Table 3. Total running times of GA, MGA on random networks

5. CONCLUSIONS

In order to handle SPP task in uncertain networks, a new practical GA-based strategy for obtaining shortest route in fuzzy networks is evaluated. The expected shortest route model is utilized to explore target paths. To validate the performance of proposed approach, a robotic task is studied. In addition, to evaluate the MGA for dissimilar networks, it is substantiated on uncertain networks with random topologies. The results of relative errors and time comparisons show the superiority of the MGA-based FSPP. The evaluation can also be used in other uncertain networks including transportation systems. For future, different fuzzy models can be applied to tackle the SPP.

REFERENCES

Ahn, C.W., Ramakrishna, R.S., 2002. A genetic algorithm for shortest path routing problem and the sizing of populations. Evolutionary Computation, IEEE Transactions on 6, pp. 566-579.

Ahn, C.W., Ramakrishna, R.S., Kang, C.G., Choi, I. C., 2001. Shortest path routing algorithm using hopfield neural network. Electron. Lett. 37 (19), pp. 1176–1178.

Antonio, J.K., Huang, G.M., Tsai, W.K., 1992. A fast distributed shortest path algorithm for a class of hierarchically clustered data networks. IEEE Transactions on Computers 41 (6), pp. 710–724.

Alvarenga, G.B., Mateus, G.R., de Tomi, G., 2007. A two-phase genetic and set partitioning approach for the vehicle routing problem with time windows. Computers and Operations Research 34, pp. 1561–1584.

Blue, M., Bush, B., Puckett, J., 2002. Unified approach to fuzzy graph problems. Fuzzy Sets and Systems 125, pp. 355– 368.

Chuang Kung, J.Y., 2005. The fuzzy shortest path length and the corresponding shortest path in a network, Comput. Oper. Res. 32, pp. 1409–1428.

(6)

Dubois, D., Prade, H., 1980. Fuzzy Sets and Systems: Theory and Applications, Academic Press, New York.

Effati, S., Jafarzadeh, M., 2007. Nonlinear neural networks for solving the shortest path problem. Applied Mathematics and Computation 189 (1), pp. 567–574.

Ghoseiri, K., Nadjari, B., 2010. An ant colony optimization algorithm for the bi-objective shortest path problem. Applied Soft Computing 10 (4), pp. 1237-1246.

Goldberg, A.V., Radzik, T., 1993. A heuristic improvement of the Bellman-Ford algorithm. Applied Mathematics Letters 6 (3), pp. 3-6.

Heidari, A.A., Abbaspour, R.A. and Jordehi, A.R., 2015. An efficient chaotic water cycle algorithm for optimization tasks. Neural Computing and Applications, doi: 10.1007/s00521-015-2037-2.

Ji, X., Iwamura, K., Shao, Z., 2007. New models for shortest path problem with fuzzy arc lengths, Applied Mathematical Modelling 31, pp. 259–269.

Klein, C.M., 1991. Fuzzy shortest paths, Fuzzy Set. Syst. 39, pp. 27–41.

Lin, K., Chen, M., 1994. The fuzzy shortest path problem and its most vital arcs, Fuzzy Set. Syst. 58, pp. 343–353.

Liu, B., Liu, Y.K., 2002. Expected value of fuzzy variable and fuzzy expected value model, IEEE Trans. Fuzzy Syst. 10, pp. 445–450.

Mahdavi, I., Nourifar, R., Heidarzade, A., Mahdavi-Amiri, N., 2009. A dynamic programming approach for finding shortest chains in a fuzzy network. Appl. Soft Comput. 9, pp.503–511.

Mohemmed, A.W., Sahoo, N.C., Geok, T. K., 2008. Solving shortest path problem using particle swarm optimization, Applied Soft Computing 8 (4), pp. 1643-1653.

Okada, S., Soper, T., 2000. A shortest path problem on a network with fuzzy arc lengths, Fuzzy Set. Syst. 109 (1), pp. 129–140.

Pulido, F., L. Mandow, L., de la Cruz, J.L.P., 2014. Multiobjective shortest path problems with lexicographic goal-based preferences. European Journal of Operational Research 239 (1), pp. 89-101.

Sedeno-Noda, A., Raith, A., 2015. A Dijkstra-like method computing all extreme supported non-dominated solutions of the biobjective shortest path problem, Comput. Oper. Res. 57, pp. 83-94.

Tajdin, A., Mahdavia, I., Mahdavi-Amiri, N., Sadeghpour-Gildeh, B., 2010. Computing a fuzzy shortest path in a network

with mixed fuzzy arc lengths using α-cuts. Comput. Math. Appl. 60, pp. 989–1002.

Takaoka, T., 2014. Sharing information for the all pairs SPP. Theoret Comput Sci 520 (6), pp. 43–50.

Trevizan, F.W., Veloso, M.M., 2014. Depth-based short-sighted stochastic shortest path problems. Artificial Intelligence 216, pp. 179-205.

Gambar

Figure 1. Illustration of a Net
Figure 2. The conventional GA flowchart
Table 1. Convergence history of MGA in robotic scenario
Figure 5. The sub-optimal route of GA-FSPP in Test-10

Referensi

Dokumen terkait

A local community in Pho Trach village in Vietnam is securing their rights to manage their forest through the support of a RECOFTC – Forest Governance Learning Group (FGLG)

Jayawijaya Bagi Calon Kabupaten Yalimo, Lani Jaya, Nduga dan Mamberamo Tengah, Keputusan Bupati Kabupaten Jayawijaya Nomor 15 Tahun 2007 tanggal 9 Februari 2007 tentang

ForInfo’s Sustainable Forest Management (SFM) project in the Cardamom Mountains puts unique emphasis on helping forest-dependent communities manage their resources and

The Second Regional Forum for People and Forests was organized by RECOFTC – The Center for People and Forests in collaboration with the Royal Forest Department

Hasil penelitian diketahui bahwa objek penelitian melaksanakan pengidentifikasian dan penetapan unit organisasi atau unit kerja sebagai suatu pusat pertanggungjawaban sesuai

However, technical government requirements create major complications and delays.” Harisharan Luintel skills and knowledge of local communities, linkages between

Dilakukan pengumpulan data dari rekam medik penderita tumor nasofaring yang telah dilakukan pemeriksaan histopatologi di Laboratorium Patologi Anatomi Fakultas

Mulai tahun 2013 sampai sekarang penulis masih terdaftar sebagai mahasiswa Program Studi Agribisnis Jurusan Pertanian Fakultas Peternakan dan Pertanian Universitas