I have to implement two algorithms to solve fractional knapsack, but till now I have just found and implemented greedy method.
I have searched a lot for any other algorithm (as dynamic programming which I've read that it also can solve fractional knapsack, but I could not find any pseudo-code for it). All what I've found is about 0/1 knapsack.
Does anyone has links or any algorithm that can solve fractional knapsack?