Simple simulation and optimisation program for the migration of population.