optimize the Stalagmite function
Objective: A lot of data has to be analysed and it's not possible to check every possibility. A better way to find solutions to problems is needed ,this is where GA comes into play.The algorithm is based on evolution in nature. Solutions improve over time using mating and mutation. After some time an almost optimal solution is found.Though…