also think about sudoku. its an np problem right? wrong. We haven't solved sudoku. What does it mean to solve sudoku? Decide for yourself. Then. Solve it.
No, it is an NP problem. It's NP-complete to find a way of fitting the numbers 1 through n in a partially filled n×n grid such that each number appears once in every row and column.
i don't really want to be the one to find it anymore. i started working on it and if anyone is interested in taking up the charge i would be more than happy to share some preliminary notes i have typed up.
What do you think about the optimization stuff though? Id love to see some code you write. you don't have to obviously. just that it would be nice to see it.
finally someone thinks i said something. thank you so much for this, you really have no idea how much it means to me. but i wouldn't say they are stupid or anything like that. maybe just they didn't ask the same question as me.
Sorry, I was being sarcastic. You have fundamentally misunderstood the distinction between P and NP problems. NP problems are not "harder". If something is NP complete, there is no deterministic solution. We can (and often do) use deterministic algorithms which can get very close to the right answer, even usually getting the right answer but can NEVER be proven to get the correct answer every time. Here is an example of an NP problem:
All (known) true solutions for NP-problems are non-deterministic(except brute-forcing). The question is – can a deterministic solution be found for any and every problem? We haven't yet proved it either way.
EDIT: added the exception of brute-forcing – which isn't a polynomial-time solution
I have misunderstood it because I have not acknowledged it. Sorry for this. I hate to not acknowledge anything or anyone. however i did acknowledge it at one point, when i thought they were different. also i use harder as a word because if you search deeper, starting at wikipedia as always, you'll find this is all that we have said about np. I challenge YOU to prove that this linked problem is not np.
"All instances of an NP-complete problem are difficult." Often some instances, or even most instances, may be easy to solve within polynomial time. However, unless P=NP, any polynomial-time algorithm must asymptotically be wrong on more than polynomially many of the exponentially many inputs of a certain size.
No, that was under common misconceptions. NP problems can be easy. P problems can be harder. The NP vs P thing is what form the solution actually takes
I think even more than any of us would be interested, the Clay Mathematics Institute would. They'd give you $1m if you have successfully proved it and you'd be only the 2nd person to solve one of their Millennium Problems
Let me know what direction you are thinking of taking. I was going with the 17 numbers necessary thing by a mr. austin i believe. If any sudoku game you play corresponds to only one solution, isn't having the filled in board and the one without the filled in (meaning only 17 things in it) the same thing? maybe not same but kinda ish.
what was it he said? Oh yeahh... God does not play dice with the universe. Brute forcing is playing dice with it (the problem) which is in the universe of course.
12
u/spin81 Oct 15 '15
Pretty sure the jury's out on that one.
7
u/castlerocktronics Oct 15 '15
Oh man, you just solved one of the of the most important questions in computer science. If only those stupid PhD holders were as smart as you
6
u/capitalsigma Oct 16 '15
hahahahahahahahahahaahahahahaahahahahahahahahahahahahaahah
hahahaha
ahahahaahahaaha
ha
ha
5
u/AcellOfllSpades Oct 15 '15
No, NP problems are not just multiple P problems put together.
13
u/TotesMessenger Oct 15 '15 edited Oct 15 '15
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)