Solving the Fractional Knapsack Problem - Wave and Thinking

  • Topic:
  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    fractional
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

I found the following algorithm for the fractional knapsack problem.

fractional_knapsack.PNG
Why at the case else, we do not change the variable w to w+(W-w)/S.weight? (Thinking)
 
Physics news on Phys.org
evinda said:
Why at the case else, we do not change the variable w to w+(W-w)/S.weight?
That would be adding a dimensionless number to pounds.