subset_sum_serial_test, a C++ code which calls subset_sum_serial(), 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_serial, a C++ 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 20 April 2020.