1

If there are, it would be my great pleasure if anyone can direct me to any. Preferable with a computer program that works for that purpose.

I'm actually referring to a polynomial time algorithm that will only test (without the actual partitioning) if a set of integers can be partitioned into two of equal sum. Like if yes, program return true and if no return false.

rosacart
  • 23
  • 5

1 Answers1

1

It is NP-Hard( NP-Complete also ).

What I mean is that we have not been able to find a polynomial time algorithm, and we have not proved that one doesn't exist. It is believed by everyone that no polynomial time algorithm exists since we have tried a lot over years. There are many such NP-Complete problems for which we have neither proved the existence of polynomial time algorithm nor disproved the existence of one.

But it turns out that if you prove or disprove the existence of polynomial time algorithm for one such problem, the same applies to all the elements of the NP-Complete class.

2rd_7
  • 462
  • 1
  • 3
  • 15