8 views

1 Answers

The subset sum problem is a decision problem in computer science. In its most general formulation, there is a multiset S {\displaystyle S} of integers and a target-sum T {\displaystyle T} , and the question is to decide whether any subset of the integers sum to precisely T {\displaystyle T}. The problem is known to be NP. Moreover, some restricted variants of it are NP-complete too, for example:

SSP can also be regarded as an optimization problem: find a subset whose sum is at most T, and subject to that, as close as possible to T. It is NP-hard, but there are several algorithms that can solve it reasonably quickly in practice.

SSP is a special case of the knapsack problem and of the multiple subset sum problem.

8 views

Related Questions

What is Problem of universals?
1 Answers 4 Views
What is Problem of induction?
1 Answers 4 Views
What is Phase problem?
1 Answers 4 Views
What is First World problem?
1 Answers 4 Views
What is Total subset?
1 Answers 4 Views
What is Decision problem?
1 Answers 4 Views
What is Necklace problem?
1 Answers 4 Views