Changed the name of the knapsack_solver to density_solver in order to match the way it works.