Genetic Algorithm structure to solve VRP
1 2 3  | 
maxitr | 
 Maximum number of iterations  | 
runs | 
 If there is no improvement in the fitness value in the consecutive 'runs' iterations then algorithm will terminate  | 
cp | 
 Crossover probability  | 
mp | 
 Mutation probability  | 
fitness | 
 Fitness function  | 
selection | 
 Fuction for selection operator, default selection_RS (Selection with rank space but not with diversity)  | 
crossover | 
 Function for crossover operator  | 
mutation | 
 Function for mutation operator  | 
init_pop | 
 Initial population for GA  | 
num_nodes | 
 Number of customer nodes  | 
popSize | 
 Number of chromozomes in population  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.