subset_sum_brute_test, a MATLAB code which calls subset_sum_brute(), which illustrates how a subset sum problem can be solved by exhaustive search.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

subset_sum_brute, a MATLAB code which seeks solutions of the subset sum problem, in which it is desired to find a subset of a set of integers which has a given sum; this version of the program is intended as a starting point for a parallel approach.

Source Code:

Last revised on 12 March 2019.