### Abstract

We investigate the problem of finding two nonempty disjoint subsets of a set of n positive integers, with the objective that the sums of the numbers in the two subsets be as close as possible. In two versions of this problem, the quality of a solution is measured by the ratio and the difference of the two partial sums, respectively. Answering a problem of G. J. Woeginger and Z. Yu (1992, Inform. Process. Lett. 42, 299-302) in the affirmative, we give a fully polynomial-time approximation scheme for the case where the value to be optimized is the ratio between the sums of the numbers in the two sets. On the other hand, we show that in the case where the value of a solution is the positive difference between the two partial sums, the problem is not 2^{n(k)}-approximable in polynomial time unless P = NP, for any constant k. In the positive direction, we give a polynomial time algorithm that finds two subsets for which the difference of the two sums does not exceed K/n^{Ω(log n)}, where K is the greatest number in the instance.

Original language | English |
---|---|

Pages (from-to) | 160-170 |

Number of pages | 11 |

Journal | Journal of Computer and System Sciences |

Volume | 64 |

Issue number | 2 |

DOIs | |

Publication status | Published - Mar 2002 |

### Fingerprint

### ASJC Scopus subject areas

- Computational Theory and Mathematics

### Cite this

*Journal of Computer and System Sciences*,

*64*(2), 160-170. https://doi.org/10.1006/jcss.2001.1784

**Efficient approximation algorithms for the subset-sums equality problem.** / Bazgan, Cristina; Santha, Miklos; Tuza, Z.

Research output: Contribution to journal › Article

*Journal of Computer and System Sciences*, vol. 64, no. 2, pp. 160-170. https://doi.org/10.1006/jcss.2001.1784

}

TY - JOUR

T1 - Efficient approximation algorithms for the subset-sums equality problem

AU - Bazgan, Cristina

AU - Santha, Miklos

AU - Tuza, Z.

PY - 2002/3

Y1 - 2002/3

N2 - We investigate the problem of finding two nonempty disjoint subsets of a set of n positive integers, with the objective that the sums of the numbers in the two subsets be as close as possible. In two versions of this problem, the quality of a solution is measured by the ratio and the difference of the two partial sums, respectively. Answering a problem of G. J. Woeginger and Z. Yu (1992, Inform. Process. Lett. 42, 299-302) in the affirmative, we give a fully polynomial-time approximation scheme for the case where the value to be optimized is the ratio between the sums of the numbers in the two sets. On the other hand, we show that in the case where the value of a solution is the positive difference between the two partial sums, the problem is not 2n(k)-approximable in polynomial time unless P = NP, for any constant k. In the positive direction, we give a polynomial time algorithm that finds two subsets for which the difference of the two sums does not exceed K/nΩ(log n), where K is the greatest number in the instance.

AB - We investigate the problem of finding two nonempty disjoint subsets of a set of n positive integers, with the objective that the sums of the numbers in the two subsets be as close as possible. In two versions of this problem, the quality of a solution is measured by the ratio and the difference of the two partial sums, respectively. Answering a problem of G. J. Woeginger and Z. Yu (1992, Inform. Process. Lett. 42, 299-302) in the affirmative, we give a fully polynomial-time approximation scheme for the case where the value to be optimized is the ratio between the sums of the numbers in the two sets. On the other hand, we show that in the case where the value of a solution is the positive difference between the two partial sums, the problem is not 2n(k)-approximable in polynomial time unless P = NP, for any constant k. In the positive direction, we give a polynomial time algorithm that finds two subsets for which the difference of the two sums does not exceed K/nΩ(log n), where K is the greatest number in the instance.

UR - http://www.scopus.com/inward/record.url?scp=0036507428&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=0036507428&partnerID=8YFLogxK

U2 - 10.1006/jcss.2001.1784

DO - 10.1006/jcss.2001.1784

M3 - Article

VL - 64

SP - 160

EP - 170

JO - Journal of Computer and System Sciences

JF - Journal of Computer and System Sciences

SN - 0022-0000

IS - 2

ER -