I have the following knapsack problem variant:
I want to buy X units of a product at min cost, and there are m farmers that offer:
-
and I can choose at most one option from each farmer.
Formally, I want to
Could you please let me know if this problem resembles a variant of 0-1 knapsack problem?
I would be grateful if you could provide any references where I can find more information about this or any relevant algorithms.