This document discusses using a genetic algorithm for routing in delay tolerant networks. It proposes using anycast routing between groups of nodes and applying crossover between groups using genetic algorithms. The algorithm initializes a network of nodes divided into groups. It then applies crossover between groups by swapping node IDs. A random fitness function is used to decrement the node population by deleting source and destination nodes after message transfer. Simulation results show the genetic algorithm approach effectively routes messages between groups in the delay tolerant network.