From Approximate to Optimal Solutions: A Case Study of Number Partitioning
Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence. Automated Reasoning. Pages 266-271.
Abstract
Given a set of numbers, the two-way partitioning problem is to divide them into two subsets, so that the sum of the numbers in each subset are as nearly equal as possible. The problem is NP-complete, and is contained in many scheduling applications. Based on a polynomial-time heuristic due to Karmarkar and Karp, we present a new algorithm, called Complete Karmarkar Karp (CKK), that optimally solves the general number-partitioning problem. CKK significantly outperforms the best previously-known algorithms for this problem. By restricting the numbers to twelve significant digits, we can optimally solve two-way partitioning problems of arbitrary size in practice. CKK first returns the Karmarkar-Karp solution, then continues to find better solutions as time allows. Almost five orders of magnitude improvement in solution quality is obtained within a minute of running time. Rather than building a single solution one element at a time, CKK constructs subsolutions, and combines them in all possible ways. CKK is directly applicable to the 0/1 knapsack problem, since it can be reduced to number partitioning. This general approach may also be applicable to other NP-hard problems as well.
@inproceedings{ijcai1995p35,
title = {From Approximate to Optimal Solutions: A Case Study of Number Partitioning},
author = {Korf, Richard E.},
booktitle = {Proceedings of the Fourteenth International Joint Conference on
Artificial Intelligence, {IJCAI-95}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Chris S. Mellish},
pages = {266--271},
year = {1995},
note = {Automated Reasoning},
url = {https://ijcai.org/proceedings/1995/35},
}
TY - CPAPER TI - From Approximate to Optimal Solutions: A Case Study of Number Partitioning AU - Korf, Richard E. T2 - Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence, IJCAI-95 PB - International Joint Conferences on Artificial Intelligence PY - 1995 SP - 266 EP - 271 UR - https://ijcai.org/proceedings/1995/35 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: