Stalagmite function optimisation
Objective: 1.Genetic algorithm is a method for optimisation which is based on natural selection. At each step, values are selected at random which are used for the next step,moving towards an optimal solution. Fitness value is computed for each function value and is scaled to covert into expectation value. Based on the expectation,…