I was wondering about the reason that this question got closed.
The stated reason is that:
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form.
But I do not think that's the case -- actually, it is a well-defined question about the fractional knapsack problem.
The only remark which could be done is that it "smells" a bit of homework, but that's all.
What should I do about it? Vote to re-open it? I don't think I have the necessary reputation, should I add a comment instead?
Thanks!