I am trying to implement a genetic algorithm to solve (Diophantine Equation),i.e, a+2b+3c+4d=90 where a,b,c,d are positive integers. After reading some books and following tutorials, I finally wrote this code but as I am new to programming and GA, I don't know if this is a good implementation. So I need your feedback.
You can view the code here