|
|
|
|
|
But the computer must still verify that the guessed solution is correct
Therefore, the class NP contains:
|
|
|
From Wikipedia:
|
See: click here
|
And because years of CS research could not settle this question, it implies that:
|
|
|
|
|
|
Mathematical formulation:
max: v1×x1 + v2×x2 + ... + vN×xN s.t.: w1×x1 + w2×x2 + ... + wN×xN ≤ W |
|
$64,000 question:
|
|
|
|
|
Size of the input = 2N + 1 (numbers) !!!!!
|
You can look at the situation this way:
|
|
there are 2 possible divisions of the problems in the class NP:
If P = NP | If P ≠ NP |
---|---|
|
However, a solution for an NP-complete problem can be verified by an algorithm in polynomial time
We call these problems: NP-hard problems
Wikipedia page: click here
|
|
|
|