- Category:
- Other systems
- Tags:
-
- File Size:
- 723kb
- Update:
- 2017-12-18
- Downloads:
- 0 Times
- Uploaded by:
- 陈巍
Description: Given n items and a knapsack. The weight of the item I is wi, the volume is Bi, its value is VI, the capacity of the knapsack is C, the volume is d. How do you choose to choose the items in the backpack to make the most of the total value of the items in the backpack? When choosing a backpack, there are only two options for each item I, that is, to be loaded into a backpack or not to be loaded into a backpack. You can't load an item I into a backpack many times, and you can't just load a part of the item I. A dynamic programming algorithm for solving this problem is designed and the computational complexity of the algorithm is analyzed.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
背包
|
背包\303
|
背包\303\303.cpp | 1431 | 2017-11-13
|
背包\303\303.dsp | 4514 | 2017-11-13
|
背包\303\303.dsw | 512 | 2017-11-13
|
背包\303\303.ncb | 50176 | 2017-11-30
|
背包\303\303.opt | 48640 | 2017-11-30
|
背包\303\303.plg | 1271 | 2017-11-13
|
背包\303\Debug
|
背包\303\Debug\303.exe | 544811 | 2017-11-13
|
背包\303\Debug\303.ilk | 786576 | 2017-11-13
|
背包\303\Debug\303.obj | 249107 | 2017-11-13
|
背包\303\Debug\303.pch | 269216 | 2017-11-13
|
背包\303\Debug\303.pdb | 1090560 | 2017-11-13
|
背包\303\Debug\StdAfx.obj | 1730 | 2017-11-13
|
背包\303\Debug\vc60.idb | 74752 | 2017-11-30
|
背包\303\Debug\vc60.pdb | 118784 | 2017-11-13
|
背包\303\ReadMe.txt | 1190 | 2017-11-13
|
背包\303\StdAfx.cpp | 290 | 2017-11-13
|
背包\303\StdAfx.h | 769 | 2017-11-13 |