knapsack_greedy


knapsack_greedy, a MATLAB code which uses a greedy algorithm to estimate a solution of the knapsack problem.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

knapsack_greedy is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

knapsack_greedy_test

matlab_combinatorics, a MATLAB code which considers a variety of problems in combinatorics involving counting, combinations, permutations, and so on.

Source Code:


Last revised on 24 October 2022.