1. Home
  2. Explore
  3. Other
  4. Meeting Logistics and Speaker Introduction

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Meeting Logistics and Speaker Introduction

The Dawn of Computational Complexity

1. Foundations: Decision Problems, P, and NP

Computational complexity theory studies the resources required to solve computational problems, especially as the size of the input grows. The early development of the field focused primarily on running time and space usage.

Decision problems

The basic objects of study are decision problems:

  • An input is represented as a finite string over a finite alphabet.

  • The string encodes some mathematical structure, such as a graph, formula, or set of numbers.

  • An algorithm must either:

    • Accept the input, meaning the answer is “yes”; or

    • Reject the input, meaning the answer is “no.”

Many optimization problems can be converted into decision problems. For example:

  • Optimization version: “What is the shortest possible route through these cities?”

  • Decision version: “Does there exist a route of length at most kkk?”

The decision formulation is especially useful because it allows different problems to be compared through formal reductions.

The class P

P is the class of decision problems solvable in polynomial time by a deterministic algorithm.

A problem is in P if there is an algorithm whose running time is bounded by a polynomial in the input length, such as:

O(n),O(n2),O(n3),O(n10).O(n), \qquad O(n^2), \qquad O(n^3), \qquad O(n^{10}).O(n),O(n2),O(n3),O(n10).

Polynomial-time algorithms are generally regarded as theoretically efficient because their running times grow at a manageable rate compared with exponential functions such as 2n2^n2n.

Examples of problems in P include many graph problems:

  • Finding a minimum spanning tree.

  • Finding shortest paths.

  • Computing network flows and cuts.

  • Testing whether a graph is strongly connected.

  • Finding maximum matchings in several important settings.

  • Solving linear programming problems.

The class NP

NP is the class of decision problems solvable in polynomial time by a nondeterministic algorithm.

A more practical description is that NP contains problems for which a proposed solution, called a witness, can be verified in polynomial time.

For example, consider the decision version of a route problem:

  • Input: a weighted graph, a starting point, and a bound kkk.

  • Question: “Is there a route of total length at most kkk?”

  • Witness: a particular route.

  • Verification: add the edge lengths and check whether the total is at most kkk.

The verification can be efficient even if finding the witness appears difficult.

A problem is in NP when every “yes” instance has a polynomial-size witness that can be checked in polynomial time.

NP includes a very broad range of problems, including many combinatorial and optimization problems that arise in practical applications.

The P versus NP question

The central unresolved question is:

Does P=NP?\text{Does } P = NP?Does P=NP?

The prevailing intuition is that P≠NPP \neq NPP=NP because solving a typical NP problem seems to require searching through an exponential number of possibilities. However, this intuition has not been converted into a proof.

The distinction is:

  • P: solutions can be found efficiently.

  • NP: solutions can be verified efficiently.

  • P versus NP: asks whether efficient verification always implies efficient solution-finding.


2. The Computational Landscape Before Complexity Theory

In 1959, there was not yet a mature theory of computational complexity. Some early work addressed computational resources, but much algorithmic research focused on designing useful algorithms rather than rigorously classifying their running times.

Linear programming and the simplex method

Linear programming asks for the maximum or minimum value of a linear objective function subject to linear inequality constraints.

Geometrically, the feasible solutions form a polytope in high-dimensional space. The simplex method works by:

  1. Starting at a vertex of the polytope.

  2. Moving along edges to improve the objective value.

  3. Continuing until no neighboring vertex gives an improvement.

The simplex algorithm was highly valuable and reliable in practice. However, it was known that:

  • The algorithm does not have a polynomial-time guarantee in its original form.

  • Certain specially constructed instances cause exponential running time.

  • Its excellent practical performance therefore could not be fully explained by worst-case theory.

This distinction between practical effectiveness and worst-case guarantees became an important theme in complexity theory.

Early graph algorithms

Several fast graph algorithms were already known, including algorithms for:

  • Minimum spanning trees.

  • Shortest paths.

  • Network flows and cuts.

  • Strong connectivity.

  • Matchings and related combinatorial problems.

However, early researchers often estimated algorithmic efficiency informally. They judged whether an algorithm “seemed fast” without carefully analyzing the dependence of running time on input size.

Max flow and min cut

The max-flow/min-cut theorem established a fundamental relationship between:

  • The largest possible flow through a network; and

  • The smallest capacity of a cut separating the source from the sink.

The original max-flow algorithm was important but, as initially stated, did not have a polynomial-time guarantee. Later work showed how to modify the method so that it does run in polynomial time.

This example illustrates the difference between:

  • A mathematically correct algorithm.

  • An algorithm that works well on many instances.

  • An algorithm with a formally proven polynomial-time bound.

The development of data structures

Early analyses also paid less attention to sophisticated data structures. Later advances showed that carefully designed data structures could substantially reduce running times, sometimes bringing algorithms close to linear time.

The work of Robert Tarjan was particularly influential in developing data structures and algorithmic techniques that improved the efficiency of graph algorithms and other combinatorial procedures.


3. Integer Programming and Cutting Planes

Linear programming versus integer programming

In linear programming, variables may take fractional values. Integer programming adds the requirement that some or all variables must be integers.

For example, a linear program might allow:

x1=2.5,x_1 = 2.5,x1​=2.5,

whereas an integer program requires:

x1∈Z.x_1 \in \mathbb{Z}.x1​∈Z.

This restriction makes the problem substantially harder.

Geometrically:

  • Linear programming optimizes over all points in a polytope.

  • Integer programming optimizes only over the integer points within that polytope.

  • The convex hull of those integer points forms a smaller polytope contained within the original fractional feasible region.

The difficulty comes from the fact that the integer points may have a complicated structure even when the surrounding fractional polytope is simple.

The cutting-plane method

The cutting-plane method begins by ignoring the integrality constraints and solving the resulting linear programming relaxation.

The process is:

  1. Solve the fractional linear program.

  2. Check whether the solution is integral.

  3. If it is not integral, find a linear inequality satisfied by every valid integer solution.

  4. Add this inequality to the linear program.

  5. The new inequality cuts away part of the fractional feasible region.

  6. Repeat until an optimal integral solution is obtained.

The added inequality is called a cutting plane because it removes infeasible fractional solutions without removing any feasible integer solutions.

The method can be viewed as gradually narrowing the feasible polytope:

fractional polytope⊇refined polytope⊇integer-solution hull.\text{fractional polytope} \supseteq \text{refined polytope} \supseteq \text{integer-solution hull}.fractional polytope⊇refined polytope⊇integer-solution hull.

Strengths and limitations

Cutting planes often work very well in practice, but historically they lacked strong worst-case guarantees:

  • The method can solve many practical instances efficiently.

  • The number of required cuts may be very large.

  • Early results did not provide useful bounds on the running time.

  • Practical success did not establish polynomial-time solvability.

A practical attitude toward integer programming was summarized by the advice: “Always try integer programming; it might work.” This reflects the gap between practical algorithmic performance and theoretical complexity guarantees.

Gomory’s result

Ralph Gomory showed that a particular version of the cutting-plane method eventually terminates with an optimal integer solution.

The significance of this result was that it established finite termination. However, it did not provide a polynomial bound on:

  • The number of cutting planes;

  • The number of iterations; or

  • The total running time.

Thus, termination alone did not imply efficient solvability.


4. The Traveling Salesman Problem and Integer Relaxations

The traveling salesman problem asks for a minimum-cost tour that visits every city exactly once and returns to the starting city.

In graph form:

  • Each vertex represents a city.

  • Each edge has a cost.

  • The goal is to choose a minimum-cost collection of edges forming one Hamiltonian cycle.

Integer programming formulation

A common formulation assigns a variable xijx_{ij}xij​ to each edge:

  • xij=1x_{ij}=1xij​=1 if the edge is included in the tour.

  • xij=0x_{ij}=0xij​=0 otherwise.

The constraints include:

  • Exactly two selected edges must be incident with each city.

  • For every nontrivial partition of the cities into two sets, at least two tour edges must cross between the sets.

The second type of constraint prevents the chosen edges from breaking into multiple disconnected cycles.

Linear programming relaxation

The integer requirements are relaxed by allowing edge variables to take fractional values:

0≤xij≤1.0 \leq x_{ij} \leq 1.0≤xij​≤1.

The resulting fractional solution may assign partial participation to many edges rather than choosing a single integral tour.

The cutting-plane approach then adds inequalities that eliminate fractional solutions while preserving all valid tours.

Large computational successes

The combination of:

  • Linear programming relaxation;

  • Cutting planes;

  • Efficient data structures;

  • Carefully engineered implementations;

produced remarkable practical results. Very large traveling-salesman instances, involving tens of thousands of cities, were solved using these techniques, although the computational requirements were substantial.

These achievements demonstrated that:

  • A problem can be difficult in the worst case yet highly tractable on many large practical instances.

  • Powerful relaxations can provide useful lower bounds.

  • Additional inequalities can progressively tighten an optimization model.

  • Algorithmic engineering can be as important as abstract complexity classification.


5. Early Theories of Complexity

During the early and middle 1960s, several different approaches to computational complexity emerged.

Blum’s axiomatic approach

Manuel Blum developed an axiomatic theory of complexity. Instead of focusing only on time or space, this framework allowed complexity to be measured using any computational resource satisfying suitable natural conditions.

The approach produced striking results. In broad terms, Blum showed that there are computational problems for which every algorithm can be improved dramatically in its resource usage. The improvement can continue repeatedly, with each new algorithm achieving an exponential improvement over the previous one.

This demonstrated that:

  • Complexity theory could be developed independently of a single specific resource.

  • Abstract axioms could lead to powerful theorems.

  • Time and space are important resources, but they are not the only conceivable measures of computational difficulty.

Time and space on Turing machines

A more lasting approach was developed by Hartmanis and Stearns. They studied:

  • The time used by Turing-machine computations.

  • The space used by Turing-machine computations.

  • The effect of changing the available computational resources.

  • The cost of simulating one type of machine with another.

Their work established hierarchy theorems, showing that more available time or space permits the solution of strictly more problems.

For example, under appropriate conditions:

  • A machine allowed more time can solve problems unavailable to a machine with less time.

  • A machine allowed more memory can solve problems unavailable to a more space-limited machine.

They also analyzed simulations such as simulating a multitape Turing machine using a single-tape machine. These results helped establish the formal study of computational resources.


6. The Emergence of Polynomial Time

Alan Cobham argued that polynomial time is a natural formalization of efficient computation.

Why polynomial time matters

Polynomial-time solvability has several attractive features:

  • It is stable under reasonable changes in the computational model.

  • Polynomial functions grow much more slowly than exponential functions.

  • Polynomial-time algorithms can generally be composed without leaving the class.

  • It captures a broad intuitive notion of feasible computation.

Cobham defined what is now called the class P and explained why it should serve as a theoretical model of efficient solvability. He also anticipated aspects of the definition of NP.

Although this work was highly prescient, it initially received little attention. The importance of polynomial time was recognized more broadly only after subsequent developments in complexity theory.


7. Edmonds and the Emphasis on Polynomial-Time Algorithms

Richard Karp’s collaboration with Jack Edmonds helped establish polynomial-time analysis as a central goal in combinatorial optimization.

Their work addressed problems involving:

  • Network flows.

  • Matchings.

  • Assignment problems.

  • Related graph-theoretic structures.

The assignment problem

The assignment problem asks how to pair two groups, such as workers and jobs, in a way that optimizes total benefit or cost.

A typical formulation is:

  • Each worker is assigned to one job.

  • Each job receives one worker.

  • Each possible pairing has a value or cost.

  • The objective is to maximize total benefit or minimize total cost.

Polynomial-time algorithms showed that this problem is efficiently solvable despite the potentially enormous number of possible pairings.

Matching and matroid intersection

Edmonds developed polynomial-time algorithms for important problems including:

  • Non-bipartite matching.

  • Matroid intersection.

  • Other graph and combinatorial optimization problems.

These results were significant because they identified broad families of problems that could be solved efficiently.

Edmonds also observed that several such problems belong to both NP and coNP:

Problem∈NP∩coNP.\text{Problem} \in NP \cap coNP.Problem∈NP∩coNP.

This led to the conjecture:

P=NP∩coNP.P = NP \cap coNP.P=NP∩coNP.

The conjecture remains unresolved.

Bipartite matching

A major algorithmic result showed that maximum matching in a bipartite graph can be computed in time approximately proportional to:

O(EV),O(E\sqrt{V}),O(EV​),

where:

  • VVV is the number of vertices.

  • EEE is the number of edges.

The challenge of obtaining a comparable bound for non-bipartite matching was substantially more difficult. Work on this problem illustrated how the discovery of efficient algorithms often depended on combining structural graph theory with careful complexity analysis.


8. Cook’s Theorem and NP-Completeness

Stephen Cook’s 1971 work transformed complexity theory by identifying satisfiability as a central problem for NP.

The satisfiability problem

The Boolean satisfiability problem, or SAT, asks whether a Boolean formula has an assignment of truth values that makes the entire formula true.

For example, a formula involving variables x1,x2,…,xnx_1,x_2,\ldots,x_nx1​,x2​,…,xn​ is satisfiable if there exists an assignment such that the formula evaluates to true.

SAT belongs to NP because:

  1. A witness is a proposed assignment of truth values.

  2. The assignment can be checked against the formula.

  3. The verification takes polynomial time.

NP-complete problems

A problem is NP-complete when:

  1. It belongs to NP.

  2. Every problem in NP can be reduced to it in polynomial time.

Equivalently, for an NP-complete problem XXX:

X∈P  ⟹  P=NP.X \in P \implies P=NP.X∈P⟹P=NP.

Therefore, an efficient algorithm for any NP-complete problem would provide efficient algorithms for every problem in NP.

NP-complete problems are considered the hardest problems within NP with respect to polynomial-time reducibility.

Polynomial-time reductions

Let AAA and BBB be decision problems. Problem AAA is polynomial-time reducible to problem BBB if there is a polynomial-time transformation that maps each input string xxx for AAA to an input string f(x)f(x)f(x) for BBB such that:

x∈A  ⟺  f(x)∈B.x \in A \iff f(x) \in B.x∈A⟺f(x)∈B.

Thus:

  • Yes-instances of AAA map to yes-instances of BBB.

  • No-instances of AAA map to no-instances of BBB.

  • The transformation itself runs in polynomial time.

The key consequence is:

A≤pB and B∈P  ⟹  A∈P.A \leq_p B \text{ and } B \in P \implies A \in P.A≤p​B and B∈P⟹A∈P.

If a supposedly difficult problem AAA can be efficiently transformed into problem BBB, then an efficient algorithm for BBB would yield an efficient algorithm for AAA.

Transitivity

Polynomial-time reducibility is transitive:

A≤pBandB≤pC  ⟹  A≤pC.A \leq_p B \quad\text{and}\quad B \leq_p C \implies A \leq_p C.A≤p​BandB≤p​C⟹A≤p​C.

This property makes it possible to build chains of reductions rather than proving every relationship directly.

For example:

SAT≤pXandX≤pY  ⟹  SAT≤pY.SAT \leq_p X \quad\text{and}\quad X \leq_p Y \implies SAT \leq_p Y.SAT≤p​XandX≤p​Y⟹SAT≤p​Y.

Since Cook’s theorem established that every NP problem reduces to SAT, showing that SAT reduces to another problem establishes that the new problem is NP-hard. If the new problem is also in NP, it is NP-complete.

The NP-completeness circle

Many problems have been shown to be equivalent in the following complexity-theoretic sense:

  • If one of them is in P, then all are in P.

  • If one of them is not in P, then none of them is in P.

  • They have the same status with respect to the P versus NP question.

This does not mean that the problems are identical in every mathematical or practical respect. Their structure, algorithms, and application areas may differ substantially.

Examples

The original development of NP-completeness established that many problems are NP-complete, including:

  • Graph coloring.

  • Hamiltonian circuit.

  • Various covering and packing problems.

  • Numerous problems arising in combinatorial optimization.

Later reductions proved stronger restricted forms. For example:

  • Graph coloring remains NP-complete under severe restrictions on the graph.

  • Hamiltonian circuit remains NP-complete for highly structured planar graphs with restricted degree and connectivity.

The number of known NP-complete problems has grown from the initial collection to thousands.

Because NP-completeness is now well established for so many problems, a new result generally needs a particularly ingenious reduction or a meaningful structural restriction to be considered novel.


9. Complexity Beyond NP

Complexity theory later expanded beyond the boundary between polynomial and non-polynomial time.

Exponential-space problems

Meyer and Stockmeyer studied complexity problems involving extensions of regular expressions. Adding a squaring operation to regular expressions produces expressions whose associated decision problems can require extremely large computational resources, including exponential space.

This illustrates that small changes to a formal language or computational model can cause dramatic increases in complexity.

Enormous computation requirements

They also studied decision problems in logic with instances of modest size but extraordinarily large computation requirements. For one example, an instance of size 610610610 was shown to require more computation steps than the number of protons in the known universe.

The point is not the physical comparison itself but the scale of the complexity growth: apparently small inputs can encode computations of unimaginably large length.

General role of reductions

The reduction methodology used for NP-completeness extends to higher complexity classes. Reductions can be used to:

  • Compare problems requiring different amounts of time.

  • Compare problems requiring different amounts of space.

  • Establish hardness at higher levels of the complexity hierarchy.

  • Transfer lower bounds from one problem to another.


10. Satisfiability Algorithms and Proof Complexity

SAT remains central both theoretically and practically.

Conjunctive normal form

A common representation is conjunctive normal form, or CNF. A CNF formula is an AND of clauses, where each clause is an OR of literals.

For example:

(x1∨¬x2)∧(x3∨x4)∧(¬x1∨x2).(x_1 \lor \neg x_2) \land (x_3 \lor x_4) \land (\neg x_1 \lor x_2).(x1​∨¬x2​)∧(x3​∨x4​)∧(¬x1​∨x2​).

The task is to determine whether there is an assignment satisfying every clause.

Resolution

Resolution is a rule-based method for reasoning about clauses. It derives new clauses from existing clauses. A contradiction indicates that the original formula is unsatisfiable.

Resolution has a strong theoretical foundation, but some families of formulas require exponentially long resolution proofs. The pigeonhole principle is a notable example of a formula family with such lower bounds in ordinary resolution.

CDCL solving

Modern SAT solvers commonly use conflict-driven clause learning (CDCL). A simplified CDCL process is:

  1. Select a literal and tentatively assign it true.

  2. Propagate the consequences of that assignment.

  3. Continue propagating forced assignments, including unit clauses.

  4. Detect a conflict if a clause becomes unsatisfied.

  5. Analyze the conflict.

  6. Learn a new clause that prevents the same failure.

  7. Backtrack to an earlier decision point.

  8. Continue until a satisfying assignment is found or unsatisfiability is proved.

CDCL combines search, logical propagation, backtracking, and learned constraints.

Practical success versus theory

The remarkable feature of modern SAT solving is that resolution-based and CDCL techniques, supplemented by heuristics, can solve formulas with millions of variables.

This success is surprising because:

  • Worst-case complexity remains exponential.

  • Some structured formula families have known exponential proof-length lower bounds.

  • Current complexity theory does not fully explain why practical instances are often much easier.

  • The heuristics exploit features of real-world instances that are not captured by ordinary worst-case classifications.


11. Randomness and Probabilistic Algorithms

Randomness entered complexity theory in several forms.

Random instances

One approach studies how algorithms behave on randomly generated inputs. Examples include:

  • Maximum matching in random graphs.

  • Hamiltonian circuits in random graphs.

  • Traveling-salesman instances with randomly distributed cities.

  • The density at which random graphs begin to contain particular structures.

These studies often identify threshold densities:

  • Below a certain density, a desired structure is unlikely to exist.

  • Above the threshold, it is likely to exist.

  • Algorithms may behave efficiently up to or beyond certain density ranges.

Limitations of random-instance models

Random models such as Erdős–Rényi graphs and uniform point distributions are mathematically convenient, but they may not accurately represent real applications.

Consequently:

  • Probabilistic analysis can produce elegant results.

  • The assumptions may be too artificial for practical prediction.

  • Results on random inputs may not explain performance on structured real-world data.

Randomized algorithms

Randomness can also be used directly inside an algorithm. A randomized algorithm may produce a correct answer:

  • Always, with high probability of efficient running time; or

  • With high probability, with a small chance of error.

Primality testing illustrates this progression:

  • The Miller–Rabin algorithm provided an efficient randomized approach.

  • For a period, polynomial-time primality testing was known primarily through randomized methods.

  • The AKS algorithm later established deterministic polynomial-time primality testing.

This example shows that randomness can provide efficient algorithms even when deterministic methods are not yet known.

Quantum computation

Quantum algorithms raise another open question: whether quantum polynomial time is the same as classical polynomial time.

The relationship between:

  • Classical polynomial-time computation; and

  • Polynomial-time computation on a quantum machine

remains an important subject of complexity theory.


12. Problem Structure and Beyond Worst-Case Analysis

Worst-case complexity classifies an algorithm according to its most difficult inputs. However, practical algorithms often perform well because real inputs have structure that worst-case analysis ignores.

Structured input classes

Algorithms may perform better when inputs satisfy additional conditions, such as:

  • Graphs with small treewidth.

  • Instances with strong clustering.

  • Optimization problems in which all near-optimal solutions resemble one another.

  • Data distributions that exclude pathological cases.

Under such restrictions, one may prove stronger running-time or approximation guarantees than are possible for unrestricted inputs.

Smoothed analysis

The simplex method has artificial examples that force exponential behavior. However, if the data in such an example are perturbed by an arbitrarily small random amount, the bad behavior may disappear.

This motivates smoothed analysis, which studies performance after slight random perturbations of the input.

The important idea is:

  • Worst-case instances may occupy a very small region of the full input space.

  • Tiny perturbations can eliminate their pathological structure.

  • Average performance under perturbation may better reflect practical behavior.

Why structure is difficult to characterize

Problem structure is difficult to incorporate into a universal complexity theory because:

  • “Structure” can mean different things for different problems.

  • Useful structural properties may be application-specific.

  • A property that helps one algorithm may not help another.

  • Real data often combine several kinds of regularity.

  • A simple worst-case class is easier to define and compare than a rich model of practical inputs.

Nevertheless, analysis based on structural restrictions and typical-case behavior is an important complement to worst-case complexity.


13. Algorithm Engineering and Modern Computational Constraints

The theory of polynomial time is essential, but practical computation depends on more than asymptotic running time.

Algorithm engineering

Algorithm engineering considers the details that determine whether an algorithm works well in practice, including:

  • Data structures.

  • Memory access patterns.

  • Hardware platforms.

  • Parallelism.

  • Distributed computation.

  • Cloud infrastructure.

  • Implementation constants.

  • Input size and format.

An asymptotically efficient algorithm may perform poorly if its implementation ignores these factors.

The importance of low-degree polynomials

Although P includes every polynomial-time algorithm, not all polynomial running times are equally practical.

For very large datasets, algorithms with running times such as:

O(n2)O(n^2)O(n2)

may already be expensive, while algorithms with higher-degree polynomial bounds may be unusable.

This has encouraged research into:

  • Sublinear algorithms, which examine only part of the input.

  • Streaming algorithms, which process data sequentially using limited memory.

  • Algorithms designed for massive datasets.

  • Methods tailored to distributed or cloud-based computation.

The relevant resource depends on the setting. For a streaming algorithm, memory may be more important than total time. For distributed computation, communication may dominate.


14. Alternative Complexity Resources

Running time became the dominant resource studied in complexity theory because it is natural and closely connected to the practical cost of computation. However, other resources are also important.

Space

Space complexity measures the amount of memory used during computation. Some problems require much more space than others even when their time bounds are not the primary concern.

Communication

In distributed computation, the number of bits exchanged between participants can be the central resource.

For example, if Alice holds one part of an input and Bob holds another, they may need to exchange messages to determine a property of the combined input. Communication complexity studies the minimum amount of communication needed to reach the correct decision.

Communication complexity is particularly relevant to:

  • Distributed systems.

  • Networked computation.

  • Data transfer.

  • Secure multiparty computation.

  • Parallel algorithms.

Conceptual complexity

Another possible resource is the conceptual difficulty of understanding or implementing an algorithm. This is much harder to formalize than time or space, but it reflects an important practical issue: an algorithm may be theoretically efficient yet difficult to realize correctly.

Blum’s axiomatic approach demonstrates that complexity theory could have developed around a broader family of resource measures. Time became central because it is intuitive, measurable, and closely associated with the physical act of computation.


15. Approximation and Hardness of Approximation

Many optimization problems are NP-hard, so finding an exactly optimal solution may be computationally impractical.

This motivates approximation algorithms, which produce solutions close to optimal within a provable factor.

For a minimization problem, an algorithm may guarantee:

Cost produced≤α⋅Optimal cost,\text{Cost produced} \leq \alpha \cdot \text{Optimal cost},Cost produced≤α⋅Optimal cost,

where α≥1\alpha \geq 1α≥1 is the approximation ratio.

For a maximization problem, a guarantee may take the form:

Value produced≥1α⋅Optimal value.\text{Value produced} \geq \frac{1}{\alpha}\cdot \text{Optimal value}.Value produced≥α1​⋅Optimal value.

Research in this area studies both:

  • How closely difficult problems can be approximated efficiently.

  • Whether certain approximation ratios are impossible unless major complexity-theoretic consequences occur.

This led to the theory of hardness of approximation, which classifies not only whether an exact solution is difficult but also how accurately a problem can be solved in polynomial time.


16. Major Unresolved Themes

Several problems and research directions illustrate the boundaries of complexity theory.

P versus NP

The most famous open question remains:

P=?NP.P \stackrel{?}{=} NP.P=?NP.

A proof that P=NPP=NPP=NP would show that every efficiently verifiable problem is efficiently solvable. A proof that P≠NPP\neq NPP=NP would establish a fundamental separation between finding and verifying solutions.

NP versus coNP

For every problem in NP, the complement problem belongs to coNP. Whether:

NP=coNPNP = coNPNP=coNP

is unknown.

If a problem lies in both NP and coNP, it has efficient certificates for both yes-instances and no-instances. Problems such as matching and certain algebraic problems have this property, but it is not known whether every such problem is in P.

Graph isomorphism

Graph isomorphism asks whether two graphs are structurally identical under a relabeling of vertices.

It has long occupied an intermediate position:

  • It is clearly in NP.

  • It was not known for many years whether it was in P or NP-complete.

  • It has efficient algorithms in important special and general settings, but its historical status made it a central example of a problem apparently between the standard classes.

Linear programming

Linear programming was also historically significant because the simplex method lacked a polynomial worst-case guarantee despite excellent practical performance. The problem became an example of the difference between:

  • A highly effective practical method; and

  • A method with a formal worst-case polynomial bound.

Artificial intelligence and machine learning

Systems that play chess at or above the level of the strongest humans, as well as image-labeling and image-classification systems, perform extremely well in practice.

However, classical complexity theory does not yet provide a universally satisfactory measure of the difficulty of these tasks because:

  • The tasks may not have a single well-defined decision formulation.

  • Performance depends on data distributions.

  • Training and inference have different computational costs.

  • The quality of an answer may be continuous rather than simply yes or no.

  • Practical success may depend on structure that worst-case theory ignores.

Complexity theory therefore continues to face the challenge of explaining successful computation in settings that do not fit traditional worst-case decision-problem models.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent