Genetic Algorithm This Genetic Algorithm is suitable for any problem with a binary cost function. It is tested using the Knapsack problem.