Knapsack problem

版本 1.0.0.0 (1.9 KB) 作者: Hanan Kavitz
A well known combinatorial problem
3.7K 次下载
更新 2012/3/20

查看许可证

The knapsack problem or rucksack problem is a problem in combinatorial optimization: Given a set of items, each with a weight and a value, determine the count of each item to include in a collection so that the total weight is less than or equal to a given limit and the total value is as large as possible. It derives its name from the problem faced by someone who is constrained by a fixed-size knapsack and must fill it with the most useful items.

引用格式

Hanan Kavitz (2026). Knapsack problem (https://ww2.mathworks.cn/matlabcentral/fileexchange/35753-knapsack-problem), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Particle Swarm 的更多信息
版本 已发布 发行说明
1.0.0.0