Meeting Logistics and Speaker Introduction
- 73Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What kinds of problems are complexity classes P and NP primarily defined for?
Decision problems whose inputs are strings over a finite alphabet and whose algorithms accept or reject each input.
Or swipe the card
73 cards
What kinds of problems are complexity classes P and NP primarily defined for?
Decision problems whose inputs are strings over a finite alphabet and whose algorithms accept or reject each input.
What is class P?
The class of decision problems solvable in polynomial time by deterministic algorithms.
What is class NP?
The class of problems solvable in polynomial time by nondeterministic algorithms.
What is a witness in the context of NP?
A string that can be tested in polynomial time to determine whether it demonstrates that an input should be accepted.
Why is P generally believed to be different from NP?
Typical NP problems appear to require an exponential search, whereas P problems have polynomial-time algorithms.
What does it mean for a problem to be NP-complete?
A problem X is NP-complete if X∈P would imply P=NP; NP-complete problems are considered the hardest problems in NP.
What did Cook prove in 1971?
Cook established the foundational result that made satisfiability an NP-complete problem: if satisfiability is in P, then P=NP.
What is the relationship between an NP-complete problem and the P-versus-NP question?
If any NP-complete problem is in P, then every problem in NP is in P, so P=NP.
What is polynomial-time reducibility from problem A to problem B?
It is a polynomial-time mapping from input strings of A to input strings of B that preserves acceptance and rejection.
What follows if A is polynomial-time reducible to B and B is in P?
A is also in P.
Why is transitivity important for polynomial-time reductions?
If A reduces to B and B reduces to C, then A reduces to C.
How many NP-complete problems did Karp originally demonstrate in his landmark work?
Twenty-one problems.
What does it mean for two NP-complete problems to have the same status?
They are equivalent regarding membership in P: either both are in P or neither is in P.
What is linear programming?
The problem of maximizing or minimizing a linear function of variables subject to linear inequality constraints.
How does the simplex method approach linear programming?
It walks along improving edges of the feasible polytope until no further improvement is possible.
What is the worst-case running-time issue with the simplex algorithm?
There are instances on which it can take exponential time.
How does integer programming differ from linear programming?
Integer programming adds the requirement that the variables must take integer values.
What is the linear-programming relaxation of an integer program?
It is the problem obtained by ignoring the requirement that variables be integers and allowing fractional values.
What is the central idea of the cutting-plane method?
Add valid linear inequalities that all integer solutions satisfy in order to cut away fractional or infeasible parts of the relaxation polytope.
What region does the cutting-plane approach aim to obtain?
A contained polytope whose highest point, or optimum, is integral.
What is a limitation of cutting-plane methods for integer programming?
They work well in many cases but generally lack strong running-time guarantees.
What did Gomory prove about a cutting-plane method?
A particular variant of the cutting-plane method terminates with an optimal integer solution.
How was the traveling salesman problem formulated in the talk?
As finding a minimum-cost set of graph edges representing a tour that uses two incident edges at each city and crosses every nontrivial partition at least twice.
How is the traveling salesman problem attacked using cutting planes?
Start with a linear-programming relaxation using fractional edge weights, then add cutting planes until an optimal integer tour is obtained.
What scale of traveling-salesman instances was reported as solvable using cutting-plane techniques?
Instances with as many as 80,000 cities were solved, though with substantial computational requirements.
What did Rabin and Scott contribute to the development of complexity theory?
They introduced the notion of nondeterminism through work on nondeterministic finite automata.
What was significant about Borůvka's early algorithmic work?
As early as 1926, he gave a fast algorithm for finding a minimum spanning tree.
What other graph algorithmic problems were developed before modern complexity theory?
Shortest paths, network flows and cuts, and testing whether a graph is strongly connected.
What issue affected early analyses of algorithm efficiency?
Researchers often judged algorithms intuitively rather than rigorously estimating their running times.
What was the issue with the original max-flow algorithm of Ford and Fulkerson?
As originally stated, it was not guaranteed to run in polynomial time.
How did advanced data structures affect algorithm performance?
They reduced the running times of some algorithms substantially, in some cases bringing them close to linear time.
What was Blum's axiomatic approach to complexity?
It defined computational complexity using any resource measure satisfying certain natural axioms, rather than restricting attention to time or space.
What kind of phenomenon did Blum prove can occur for some problems?
There are problems for which every algorithm can be exponentially improved, with further exponential improvements remaining possible repeatedly.
What did Hartmanis and Stearns contribute?
They studied time and space complexity on Turing machines, defined complexity classes, and proved hierarchy theorems.
What do complexity hierarchy theorems show?
Increasing the available time or space slightly can allow a larger class of problems to be solved.
What did Alan Cobham contribute to the definition of P?
He defined polynomial-time computation and argued that it is a reasonable theoretical formulation of efficient solvability.
What kinds of problems did Edmonds show were in P?
Problems including non-bipartite matching, matroid intersection, and other graph-theoretic problems.
What conjecture did Edmonds make about P and NP intersect coNP?
He conjectured that P=NP∩coNP.
What is the assignment problem?
The problem of pairing two groups, such as boys and girls, to optimize the total benefit of the pairings.
What is a matching in a graph?
A set of edges with no shared endpoints, representing paired vertices.
What distinction makes non-bipartite matching harder than bipartite matching?
Non-bipartite graphs can contain odd cycles, which complicate the structure and algorithms for finding maximum matchings.
What is the significance of polynomial-time algorithms for matching and related problems?
They demonstrate that important combinatorial optimization problems can be solved efficiently despite initially appearing difficult.
Why did Karp expect many problems to be NP-complete after reading Cook's work?
His experience with combinatorial optimization and apparent combinatorial explosions suggested that many problems had the same difficulty as satisfiability.
What was the reduction strategy used to identify NP-complete problems?
Start with satisfiability and construct polynomial-time reductions from it to other problems.
Why does a reduction from satisfiability to problem X help establish that X is hard?
An efficient algorithm for X would yield an efficient algorithm for satisfiability and therefore imply P=NP.
What was the role of satisfiability in the development of NP-completeness?
It served as the starting problem from which reductions to many other problems were constructed.
What sharper result was later proved for graph coloring?
Three-coloring remains NP-complete even for regular planar graphs of degree 4.
What sharper result was later proved for the Hamiltonian circuit problem?
It remains NP-complete for cubic, three-connected planar graphs.
What happened to the number of NP-completeness results after the early 1970s?
A large wave of results appeared in the following years, and later publications generally required especially clever reductions.
What did Meyer and Stockmeyer show about regular expressions with a squaring operator?
Extending regular expressions with a squaring operator can produce a problem requiring exponential space.
What did Meyer and Stockmeyer's logic results demonstrate about computation?
For a logic problem with an instance of size 610, the required number of computation steps could exceed the number of protons in the known universe.
What are two important areas of complexity research that developed after the early NP-completeness work?
Approximation algorithms for combinatorial optimization and the hardness of obtaining good approximations.
What is conjunctive normal form satisfiability?
The problem of deciding whether a Boolean formula written as a conjunction of clauses can be satisfied.
How does resolution approach SAT solving?
It derives new clauses from existing clauses until it finds a contradiction or establishes that no contradiction is derived.
What does CDCL stand for conceptually, and how does it work?
Conflict-driven clause learning; it assigns literals, follows their implications, detects conflicts, and learns a new clause from each conflict.
What is a unit clause in SAT solving?
A clause with one unassigned literal, forcing that literal to be true if the clause is to be satisfied.
Why are the practical successes of resolution and CDCL surprising from Karp's perspective?
They appear theoretically primitive yet can solve instances with millions of variables when combined with heuristics.
What do proof-complexity results show for some resolution systems?
Certain principles, such as the pigeonhole principle, require exponentially long proofs in ordinary resolution.
What is a threshold phenomenon in random SAT?
As the number of random clauses increases, a Boolean formula can transition from typically satisfiable to typically unsatisfiable.
What kinds of random instances did Karp study?
Random graph problems such as maximum matching and Hamiltonian circuits, as well as traveling-salesman instances with randomly distributed cities.
What are critical densities in random graph problems?
They are density levels at which the existence or difficulty of structures such as matchings or Hamiltonian circuits changes significantly.
Why did Karp become skeptical that standard random-instance models would transform practical algorithm design?
Models such as Erdős–Rényi random graphs and uniformly distributed points often failed to capture the structure of real applications.
What was the role of the Miller–Rabin algorithm in primality testing?
It provided a polynomial-time randomized algorithm for primality testing before a deterministic polynomial-time algorithm was known.
What did the AKS result establish?
It established that primality testing is in P using a deterministic polynomial-time algorithm.
Which three problems did Karp identify as unresolved complexity questions in his NP-completeness paper?
Primality testing, graph isomorphism, and linear programming.
What is the purpose of analyzing algorithms on restricted input structures?
It can yield much better performance guarantees than worst-case analysis for inputs with properties such as small treewidth or highly similar near-optimal solutions.
How can small treewidth affect algorithm performance?
Algorithms may perform substantially better on graphs with small treewidth than on unrestricted graphs.
What does smoothed analysis suggest about bad simplex-method instances?
If the input data are perturbed by an arbitrarily small random change, contrived exponential-time examples may disappear.
Why might algorithms for very large datasets need more than merely polynomial running time?
Large inputs often require low-degree polynomial running times, such as quadratic or better, to remain practical.
What are sublinear algorithms?
Algorithms whose running time is less than the size of the entire input.
What are streaming algorithms?
Algorithms designed to process data as it arrives, often using limited memory rather than storing the entire dataset.
What is communication complexity?
The study of how many bits separate parties, such as Alice and Bob, must exchange to make a decision about distributed inputs.
Why can practical AI systems be difficult to analyze using traditional complexity theory?
They may perform extremely well on tasks such as chess or image classification without a well-defined complexity metric that captures the difficulty of their real-world inputs.

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