Knapsack 0/1 Optimization
The 0/1 knapsack problem asks for the greatest total value that can be carried in a single container of fixed capacity. Each item has a positive integer weight and a positive integer value, and every item may be taken at most once: there is no way to take a fraction of an item and no way to take two copies. The container starts empty, and the sum of the weights of the chosen items must not exceed the capacity.