Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 613 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 613 Bytes

Knapsack-Problem

To find the optimal weight of bag of 20 kg having highest significance,, This program use random list depends upon the choice of user

How to run the program

Use any python compiler

For Easiness first give (3-10) value as input

Because this program does alot of Binary comparisons, therefore the program goes through alot of decisions. And it is helpfull to new user to enter such these small values to visualize the comparison tasks

NOTE:

After processing phase, if input is bigger. The program still needs some time to generate Output

Output:

Given in the file named Knapsack.docs