Uses dynamic programming to solve the problem, see for example http://en.wikipedia.org/wiki/Knapsack_problem .
인용 양식
Petter (2024). 0-1 Knapsack (https://www.mathworks.com/matlabcentral/fileexchange/22783-0-1-knapsack), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Particle Swarm에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!