Working on the P vs. NP Problem for a Shot at $1,000,000?

  • Thread starter I_am_learning
  • Start date
In summary: The NP-class contains problems that take more (a lot more) time to compute BUT, results can be verified in Polynomial time. The Travelling Salesman Problem, for example, is as follows:You have 50 cities to visit with some specified travel distance between them (say the capitals of the US states), which route is fastest overall? The cost of computing this problem is O(n!) which involves checking every combination of routes, and selecting the one with minimum overall distance. (n! means n-factorial, 50*49*48*47*46 ... *3*2*1 = 3*10^64, a monumental number with 65 digits, and that's only for 50 cities,
  • #1
I_am_learning
682
16
I just stumbled upon this http://en.wikipedia.org/wiki/Millennium_Prize_Problems.
I understood only the P-Vs-NP problem and it sounds easy enough.
So, anyone here working secretly for that $1,000,000 :) ? Where have you reached ?
 
Physics news on Phys.org
  • #2


I_am_learning said:
I just stumbled upon this http://en.wikipedia.org/wiki/Millennium_Prize_Problems.
I understood only the P-Vs-NP problem and it sounds easy enough.
So, anyone here working secretly for that $1,000,000 :) ? Where have you reached ?
No way am I telling you.
 
  • #3
I_am_learning said:
I understood only the P-Vs-NP problem and it sounds easy enough.

If it were easy, the prize would have been claimed by now...
 
  • #4
Just reading those problems makes my brain ache with the severest of aches.

:bugeye::eek::frown:confused::but after an aspirin:smile:
 
  • #5
I have already solved all of these questions. They're under review now for the experts.
How did I solve them?? http://estatis.coders.fm/falso/
 
Last edited by a moderator:
  • #6
I_am_learning said:
I just stumbled upon this http://en.wikipedia.org/wiki/Millennium_Prize_Problems.
I understood only the P-Vs-NP problem and it sounds easy enough.
So, anyone here working secretly for that $1,000,000 :) ? Where have you reached ?

It is simple. Just let N = 1.
 
  • #7
Pengwuino said:
It is simple. Just let N = 1.

Or P=0.
 
  • #8
Also, how can the OP have just seen this? The millenium was like 11 years ago. WELCOME TO TODAY DOOD. :D
 
  • #9
Serious Talk.
What do they mean by 'quickly' in the P-Vs-Np question. How long can the computer take to find the solution?
 
  • #10
I_am_learning said:
Serious Talk.
What do they mean by 'quickly' in the P-Vs-Np question. How long can the computer take to find the solution?

It must find the solution in Polynomial time. See http://en.wikipedia.org/wiki/Polynomial_time
 
  • #11
micromass said:
Or P=0.

So when do you and the penguin collect your joint million dollar prize money and fields medal?
 
  • #12
chiro said:
So when do you and the penguin collect your joint million dollar prize money and fields medal?

The bird can have the million dollars. I want the fields medal :biggrin:
 
  • #13
Here's my solution for all 6: It really doesn't matter in the overall scheme of things.

Probably won't qualify for the $1 Million, but it works for me! No headaches, and sanity remains intact.
 
  • #14
It seems one million dollars is not enough money to get these problems solved I think they should increase the prize to... One Billion Dollars.

I think most people struggle just to figure out what exactly the problems they are trying to solve are let alone find the answer to them.
 
  • #15
I_am_learning said:
Serious Talk.
What do they mean by 'quickly' in the P-Vs-Np question. How long can the computer take to find the solution?

You should read about the two classes of problems to understand the issue better.

The P-class contains problems that can be computed in Polynomial time. For example, if you had a dataset of 1,000,000 unsorted values, and you want to apply the Selection Sort algorithm, the cost of computation is O(n^2) where n is the input size of 1,000,000 so the computation will cost you 1,000,000^2 operations (a million-million). On a computer that can perform a few billion operations a second (like our current desktops with 3GHz processors can), this is acceptable, it will take a few minutes maybe.

The NP-class contains problems that take more (a lot more) time to compute BUT, results can be verified in Polynomial time. The Travelling Salesman Problem, for example, is as follows:

You have 50 cities to visit with some specified travel distance between them (say the capitals of the US states), which route is fastest overall? The cost of computing this problem is O(n!) which involves checking every combination of routes, and selecting the one with minimum overall distance. (n! means n-factorial, 50*49*48*47*46 ... *3*2*1 = 3*10^64, a monumental number with 65 digits, and that's only for 50 cities, how about a few hundred cities?!). Consider that a computer can perform somewhere in the vicinity of 10^9 operations per second, it will take a very, very long time - 3*10^55 seconds! - and that's for quite a small input size (50 compared to a million in the Selection Sort example).

So the P-vs-NP problem is to determine whether or not these problem classes are indeed different, or maybe we are missing something, and there is a much, much faster way to compute the Travelling Salesman problem but we haven't found it yet (there actually are faster algorithms that take less than O(n!) time, but they aren't anywhere near Polynomial time). One thing to note is that ALL problems in the NP class can be reduced to the Travelling Salesman problem, so if a solution is found to this problem in Polynomial time, then all problems in the class can be solved in Polynomial time which would be an amazing discovery.

I hope I explained that OK, I studied it last semester. :P
 
  • #16
Adyssa said:
You should read about the two classes of problems to understand the issue better.

The P-class contains problems that can be computed in Polynomial time. For example, if you had a dataset of 1,000,000 unsorted values, and you want to apply the Selection Sort algorithm, the cost of computation is O(n^2) where n is the input size of 1,000,000 so the computation will cost you 1,000,000^2 operations (a million-million). On a computer that can perform a few billion operations a second (like our current desktops with 3GHz processors can), this is acceptable, it will take a few minutes maybe.

The NP-class contains problems that take more (a lot more) time to compute BUT, results can be verified in Polynomial time. The Travelling Salesman Problem, for example, is as follows:

You have 50 cities to visit with some specified travel distance between them (say the capitals of the US states), which route is fastest overall? The cost of computing this problem is O(n!) which involves checking every combination of routes, and selecting the one with minimum overall distance. (n! means n-factorial, 50*49*48*47*46 ... *3*2*1 = 3*10^64, a monumental number with 65 digits, and that's only for 50 cities, how about a few hundred cities?!). Consider that a computer can perform somewhere in the vicinity of 10^9 operations per second, it will take a very, very long time - 3*10^55 seconds! - and that's for quite a small input size (50 compared to a million in the Selection Sort example).

So the P-vs-NP problem is to determine whether or not these problem classes are indeed different, or maybe we are missing something, and there is a much, much faster way to compute the Travelling Salesman problem but we haven't found it yet (there actually are faster algorithms that take less than O(n!) time, but they aren't anywhere near Polynomial time). One thing to note is that ALL problems in the NP class can be reduced to the Travelling Salesman problem, so if a solution is found to this problem in Polynomial time, then all problems in the class can be solved in Polynomial time which would be an amazing discovery.

I hope I explained that OK, I studied it last semester. :P

I've always been interested in this but had no background in it, cheers for explaining :smile: is it fair to say then that the difference between P and NP is the length of time?
 
  • #17
Well, yes, the length of time as a result of a LOT more operations required in the computation.

Problems in NP are called "intractable", so they are not impossible, but you can only solve them for small, or optimised datasets. The computation time increases exponentially (or worse!) with the input size.
 
  • #18
Adyssa said:
Well, yes, the length of time as a result of a LOT more operations required in the computation.

Problems in NP are called "intractable", so they are not impossible, but you can only solve them for small, or optimised datasets. The computation time increases exponentially (or worse!) with the input size.

Does this mean that P problems increase linearly with more inputs? Regarding the length of time is there a cut off point or is it arbitrary?
 
  • #19
Hmm no P problems increase polynomially, so the cost is O(n^k) where k is some number > 0 and n is the input size. Faster problems are still in P as well, but P tops out at polynomial.

NP-class problems have a cost exponential or worse, so O(k^n) where k is some number > 0, and n is the input size, or worse O(n!) etc.

I should link you to Big O Notation (ie. O(n) etc). :)
 
  • #20
Adyssa said:
Hmm no P problems increase polynomially, so the cost is O(n^k) where k is some number > 0 and n is the input size. Faster problems are still in P as well, but P tops out at polynomial.

NP-class problems have a cost exponential or worse, so O(k^n) where k is some number > 0, and n is the input size, or worse O(n!) etc.

I should link you to Big O Notation (ie. O(n) etc). :)

Thanks :smile: I'll have a read when my https://www.physicsforums.com/showthread.php?t=524242" again :cry:
 
Last edited by a moderator:
  • #21
Adyssa said:
NP-class problems have a cost exponential or worse, so O(k^n) where k is some number > 0, and n is the input size, or worse O(n!) etc.
Correction of typo: k>1 here.
Thanks for your good info. :smile:
 
  • #22
ryan_m_b said:
I've always been interested in this but had no background in it, cheers for explaining :smile: is it fair to say then that the difference between P and NP is the length of time?

That's not strictly accurate. It would be more accurate to say that the difference is in how the time required scales with the input size. For small input sizes, an NP problem could run faster than a P problem. That is, the difference between P and NP is not in the time required for any given input, but in how fast the time required increases as you increase the input size.

It may be faster to find the shortest route between 2 cities (there's only one choice, A -> B), than to sort 2 items in a list. Especially if the comparison for the sorting problem takes a long time.
 

FAQ: Working on the P vs. NP Problem for a Shot at $1,000,000?

1. What is the P vs. NP problem?

The P vs. NP problem is one of the most famous unsolved problems in computer science. It asks whether every problem that can be quickly verified by a computer can also be quickly solved by a computer. In simpler terms, it questions if there is a shortcut to solving difficult problems.

2. Why is solving the P vs. NP problem important?

The solution to the P vs. NP problem has significant implications for computer science and mathematics. It could potentially lead to breakthroughs in fields such as cryptography, optimization, and artificial intelligence. It is also one of the seven Millennium Prize Problems, with a prize of $1,000,000 offered by the Clay Mathematics Institute for its solution.

3. How long has the P vs. NP problem been an open question?

The P vs. NP problem was first proposed by mathematician Stephen Cook in 1971. It has been over 50 years since then, and despite the efforts of many researchers, no one has been able to provide a definitive answer.

4. What approaches have been tried in attempting to solve the P vs. NP problem?

Various approaches have been attempted in solving the P vs. NP problem, including using techniques from complexity theory, graph theory, and algebraic geometry. Some have also tried using computer simulations and heuristic algorithms, but so far, none have been successful in proving a solution.

5. How can I get involved in working on the P vs. NP problem?

The P vs. NP problem is a highly complex and challenging problem that requires advanced knowledge in computer science and mathematics. If you are interested in contributing to its solution, you can start by studying the existing research and literature on the topic and collaborating with other researchers in the field. You can also participate in conferences and workshops related to the P vs. NP problem to learn more and share your ideas with others.

Similar threads

Replies
6
Views
1K
Replies
4
Views
896
Replies
1
Views
1K
Replies
1
Views
655
Replies
1
Views
1K
Replies
5
Views
2K
Replies
4
Views
2K
Replies
5
Views
2K
Back
Top