Authors:
Ruben Horn
1
;
Reitze Jansen
2
;
Okke van Eck
2
and
Daan van den Berg
3
;
4
Affiliations:
1
Helmut-Schmidt-University, Hamburg, Germany
;
2
Independent Researcher
;
3
Department of Computer Science, University of Amsterdam, The Netherlands
;
4
Department of Computer Science, VU Amsterdam, The Netherlands
Keyword(s):
Number Partitioning Problem, NP-hard, Branch-and-Bound Algorithm, Greedy Algorithms.
Abstract:
The (two-way) number partitioning problem (NPP) is a well known NP-complete decision problem in which a set of (positive) integers must be split in such a way that the sum of both resulting subsets is equal. However, its optimization problem variant is even harder, since the verification of partitions is only possible in polynomial time for instances which have a perfect partition. We investigate the distribution of instances that have and that do not have a perfect partition, and find that they are not randomly distributed in the instance space. Thus, the hardness of any given instance might be predictable to some extent. We demonstrate that it is possible to separate these two instance types visually using a linear time embedding into R2 for instances of the same template. Furthermore, we compare three greedy heuristic algorithms (greedy captains, greedy coach, and greedy tyrant) and their difference to the solution from an exact branch-and-bound (BB) algorithm.