I'm writing an algorithm taking the knapsack problem form. I am trying to maximize the value (V) of my knapsack given a maximum weight (W). The catches are that each item (I) can only be selected once, the knapsack regardless of weight can only hold 10 items, and there is a very large number of items (500+).
My thoughts so far have been to generate a knapsack that is overweight and recursively work backwards replacing items one at a time until it is <= the max weight. This is not a problem for generating the most optimal knapsack, however, I would really like to generate the following 100 or so knapsacks. I was thinking I could do this by continuing my recursive process, however, I do not feel as though this is entirely accurate as a may be missing slightly more optimal knapsacks.