Javascript Menu by Deluxe-Menu.com
          




we will provide the technical
papers as PDF format.

FREE TO DOWNLOAD.



Technicalpapers About us Dedicators Contact us Site map Bio-informatics Bio-metrics Bacterial computing more... Mobile computing(data on road) Mobile networking Mobile computing(past,present,future) More... Anti-hiv Nano robotics Utility fog more... Network awareness service Bluetooth-wireless network more... Self learning system more... Datawarehouse Genetic algorithm(travelling salesman) Artificial intelligence Automiszation of umpiring(fuzzy logic) Red taction Stego hunter attacking more...


HOME > custom > parallel computing>

paper no:
Custom4
last update: 30/05/08
                                                                                          

PARALLEL HYBRID GENETIC ALGORITHM
(Solving Traveling Salesman Problem)



1. GENETIC ALGORITHM:

       Genetic algorithm (GA) is an evolutionary optimization approach. Genetic algorithms are universal methods of optimization as they are easily applicable to many practical problems. GA follows the concept of solution evolution by stochastically developing generations of solution populations, using a given fitness. They are particularly applicable to problems, which are large, non-linear and possibly discrete in nature. The GA procedure is based on the Darwinian principle of survival of the fittest.

1.1 Four stages:

       The GA consist four main stages: evaluation selection and .

  • Generate a population
  • While a solution has not been found
    • Evaluate all members of the population.
    • Create a new population using the Genetic Operators.
  • Report the solution.

1.1.1 Create a Random Initial State :

       An initial population is created from a random selection of solutions (which are analogous to chromosomes).

1.1.2 Evaluate Fitness:

       A value for fitness is assigned to each solution (chromosome) depending on how close it actually is to solving the problem (thus arriving to the answer of the desired problem). (These "solutions" are not to be confused with "answers" to the problem, think of them as possible characteristics that the system would employ in order to reach the answer.)

1.1.3 Reproduce (& Children Mutate):

       Those chromosomes with a higher fitness value are more likely to reproduce offspring (which can mutate after reproduction). The offspring is a product of the father and mother, whose composition consists of a combination of genes from them (this process is known as "crossing over").

1.1.4 Next Generation:

       If  the new generation contains a solution that produces an output that is close enough or equal to the desired answer then the problem has been solved. If this is not the case, then the new generation will go through the same process as their parents did. This will continue until a solution is reached.


2. NEED FOR PARALLEL GENETIC ALGORITHM:

  • GAs are slow to solve even on the fastest machines today. This is mainly due to a vast number of possible solutions combined with objective evaluation. GAs attempt to find an optimum solution without having to explore all possible solutions.
  • One of the main advantages in using GAs is the fact that they are inherently parallel algorithms. Little effort is needed to modify an existing GA to make use of a parallel computer. 

3. TRAVELING SALESMAN PROBLEM:

3.1 Problem Statement:

    In this hypothetical problem a salesman must visit a number of cities. The distances between the cities are known. The problem is to determine the order in which the salesman visit each city just once in turn, as to minimize the total distance traveled.

3.2 Complexity:

    The most direct solution would be to try all the permutations and see which one is cheapest. And hence the number of permutations is n!, where n is the number of cities to be visited. This solution rapidly becomes impractical. Let us consider 10 cities. The total number of possible routes is 10 factorial or 3,628,800. In this case it is very difficult to find the shortest path to visit all the cities.


4. PROBLEM SOLVING: HYBRID GA

4.1 Intial Population :

       The random routes are selected in the initial population.

4.2 Fitness function:

       The fitness function is the sum of the cost incurred in traveling from city node 1 to N where N is the total number of cities to be visited.

Crossover :

       Crossover algorithm is used to combine the two parent tours to make the child tours. A crossover exchanges parts of parent genes. Children “hopefully succeed “good characteristics” of parents.

Two new concepts namely, RemoveSharp and LocalOpt are introduced.

  • In RemoveSharp, the city causing sharp rise in distance in route is removed from its current position and inserted in a position where the distance rise caused by that city will be minimum.
  • LocalOpt deals with optimizing localized parts of routes.

These two methods are done to the parents that are selected.

       Those parents undergo these refining methos and then passed onto the crossover step. The crossover technique followed here is Partial Ordered Crossover also called as, Partially Matched Crossover (PMX) and Deterministic crossover.

50% Of Population : PMX (Partially Matched Crossover)

       PMX may be viewed as crossover of permutations, that guarantees that all positions are found once in the route.

PMX proceeds as follows:

       1. The two chromosomes are aligned.

       2. Two crossing points are selected uniformly at random along the strings..

       3. The center section is used to effect a cross through position-by-position exchange operation

       4. Alleles are moved to their new positions in the offspring

Parent 1 3 7 1 9 | 6 4 5 | 2 8

Parent 2 4 7 8 5 | 3 9 2 | 1 6

( 3 <--> 4 ) ( 9 <--> 5 ) ( 2 <--> 6 )

Child 1 4 7 1 5 | 3 9 2 | 6 8

Child 2 3 7 8 9 | 6 4 5 | 1 2

Another 50% Of Population: Deterministic


Child 1:

       First city of child1 is the first city of the first parent. Now, the distance between first city is checked with the second city of both the parents. Whichever distance is smaller, that 2 nd city from parent is selected as the 2 nd city of child1. then, distance between the second city of child1 and the third city of both the parents are checked and the process goes on.

Problem and its solution:

  • If the selected city already present in the route, selct another city.
  • If both the cities are found in the route, select a random city which is not placed in the route before.

Child 2:

       First city of child2 is the first city of the second parent. The same process as stated above is followed here.


4.4 Mutation:

       Eventually, this GA would make every solution look identical. This is not ideal. Once every tour in the population is identical, the GA will not be able to find a better solution.

       •  Mutation is a method where some cities in the child tours are randomly altered (swapped) to produce a new unique tour.

       And thus, the child tours are sent to the fitness evaluation step, where these are considered as parents and the process continues.

  For Further more download pdf...



WELCOME TECHNICAL PAPERS

send technical papers with your details. we will publish them shortly with your details
for more info goto Dedicators section
.

our email id is given below:

TheTechnicalpapers@gmail.com


WELCOME ADS

Our email id is given below:

TheTechnicalpapers@gmail.com








Home | About Us | Contact Us | Site Map

Copyright © 2008 Know Technology Team. All rights reserved.

Your Ad Here