in reply to Re^4: knapsack problem solved by regexin thread knapsack problem solved by regex
I see. Two different items with the same values and weights. Gotcha.