I am studying the longest path problem with the final objective to show that it is NP-complete. On wikipedia I read that the problem itself is NP-hard but the underlying decision problem is NP-complete.
I have some trouble understanding the difference between the two though. How are they not the same? I read in another post on CS that decision problems are conceptually easier to understand. But does this mean there are solutions to this problem with NP-hard complexity?
As I understood from my professor a graph problem is in NP if there are exponentially many paths to test in terms of the graph size. As you might notice, this definition does not talk about possible solutions/algorithms.
Also, all the references I found only talk about solutions to the problem, but don't give any formal definition. Quoting wikipedia as a source for my work looks kind of messy. So if anybody knows a paper that nicely describes the problem formally, any tips are welcome.