Solving knapsack problem with genetic algorithms.