Genetic Algorithm
Objective: 1.) Genetic Algorithm is an optimization technique to find the minimum of the solution. It is more suited to solve non smooth functions, since there are other solvers which take less time than GA to solve smooth or relatively less complex problems. One major advantage with GA is that it canbe used for all types of problems…