Consider the fractional knapsack instance
$n = 4, (p_{1} , p_{2} , p_{3} , p_{4} ) = (10, 10, 12, 18), (w_{1} , w_{2} , w_{3} , w_{4} ) = (2, 4, 6, 9)$ and $M = 15$.
The maximum profit is given by (Assume $p$ and $w$ denotes profit and weight of objects respectively)
- $40$
- $38$
- $32$
- $30$