The following Matlab project contains the source code and Matlab examples used for solves the 0-1 knapsack problem with positive integer weights. .
Uses dynamic programming to solve the problem, see for example http://en.wikipedia.org/wiki/Knapsack_problem .

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

knapsack_demo.html | 3272 |

knapsack.m | 2506 |

knapsack_demo.m | 454 |

license.txt | 1317 |