Listen to “03. Problems”
Episode synopsis
As a student, when you see the first definition of a formal problem in theoretical computer science, it sounds simple (A
set of words) and at the same time feels wrong.The world of problems does not seem to be so simple that all problems of the world are just set of words. Somehow, a problem like finding an optimal flight schedule seem to be more than just a set of words. It turns out that in theoretical computer science we can get a long way based on the simplistic view that all problems are just sets of words.
However, more advanced ways of measuring and solving problems require that we adopt a more complex view of what a problem really is. For instance, for optimization problems the input is still a word, but we do not seek to answer a simple yes/no-question or good/bad-question, but rather seek to find a good answer. For this, we need a notion of which answers a good or bad or intermediate or excellent or tolerable or horrible or just outright insulting.
There is another angle to problems: Not only the answers can be more complex than just yes and no, the instances (inputs) for which we seek to find answers can have more structure than just being strings of letters. There is an important subfield of computational complexity, called descriptive complexity, where instances are always logical structures rather than words. Readers familiar with logic and logical structures will notice immediately how much richer a logical structure is compared to a simple word.