Ask your own question, for FREE!
Mathematics 15 Online
OpenStudy (anonymous):

What does it mean when we say an algorithm is NP?

OpenStudy (anonymous):

It means it's Non-deterministic Polynomial time.

OpenStudy (anonymous):

and what does that mean?

OpenStudy (anonymous):

It's a computing science term, it's one of the millenium math questions that are currently unanswered.

OpenStudy (anonymous):

I wanna know what it means :(

OpenStudy (anonymous):

Ullere -- no, what's unanswered is if P = NP.

OpenStudy (anonymous):

Ah good shout ktk, thats the only time I've heard it used.

OpenStudy (anonymous):

NP means a problem hard enough that it can't be solved in polynomial time, but an answer can be verified in polynomial time

OpenStudy (anonymous):

like the towers of hanoi?

OpenStudy (anonymous):

@adg :Read here : http://en.wikipedia.org/wiki/NP_(complexity)

OpenStudy (anonymous):

solved and verified, what's the difference?

OpenStudy (anonymous):

I don't think hanoi is NP hard, no. The travelling salesman problem is the classic NP-hard problem, i.e. find a minimum distance route through a graph that touches every vertex

OpenStudy (anonymous):

I don't think tower of hanoi is NP

OpenStudy (anonymous):

Solved means finding a solution. Verified means, you are given a solution and verify that it is correct.

OpenStudy (anonymous):

so dynamic programming can be used to solve NP?

OpenStudy (anonymous):

that's sort of orthogonal. the point of NP is there's no polynomial-time algorithm that finds a solution. typically, approximation algortihms are used.

OpenStudy (anonymous):

Oh yeah traveling salesman, Do you know the exact problem? Someone told me about it a year back I forgot hehe

OpenStudy (anonymous):

Ishaan hit the google buddy :P

OpenStudy (anonymous):

Yeah Right lol

OpenStudy (anonymous):

sorry

OpenStudy (anonymous):

agd, you are a mystery. you say you're not enrolledin school but you ask a wide variety of questions over a huge number of topics. what's the deal?

OpenStudy (anonymous):

@ktklown:It's a mystery for me too.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!