added goal function calculation inside init solution generator