A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Semidefinite Programming Relaxation

Research Depth 106 in the knowledge graph I know this Set as goal
535prerequisites beneath it
See this on the map →
Approximation Algorithms (LP Relaxation and Primal-Dual)Linear Programming Algorithms+1 more
sdp semidefinite-programming max-cut goemans-williamson

Core Idea

Semidefinite programming (SDP) extends linear programming by optimizing a linear objective over the cone of positive semidefinite matrices. SDP relaxations produce tighter bounds than LP relaxations for many combinatorial optimization problems. The landmark result is the Goemans-Williamson algorithm for MAX-CUT: relax binary variables to unit vectors, solve the SDP to find an optimal vector configuration, then round using a random hyperplane. This achieves an approximation ratio of ~0.878, which is optimal assuming the Unique Games Conjecture. SDP relaxations also yield the best known approximations for graph coloring, MAX-SAT, and constraint satisfaction problems, and the integrality gaps of SDP hierarchies (Lasserre, Sum-of-Squares) connect to fundamental questions in computational complexity.

Explainer

Linear programming relaxation, which you studied in approximation algorithms, replaces integer variables with continuous ones. Semidefinite programming relaxation is a more powerful generalization that replaces scalar variables with matrix variables constrained to be positive semidefinite. This extra structure captures pairwise relationships between variables — correlations, angles, inner products — that linear constraints cannot express. The result is tighter relaxations and better approximation ratios for many combinatorial problems.

The Goemans-Williamson algorithm for MAX-CUT is the most celebrated application. The integer program assigns each vertex a value in {-1, +1}, and the cut value is sum_{(i,j)} (1 - x_i * x_j) / 2. The SDP relaxation replaces scalars x_i with unit vectors v_i in Rn and optimizes sum_{(i,j)} (1 - v_i dot v_j) / 2 subject to |v_i| = 1. This can be reformulated as optimizing over a positive semidefinite matrix Y with Y_ii = 1 and Y_ij = v_i dot v_j. The SDP optimum is at least the integer optimum. The rounding step chooses a random hyperplane through the origin and assigns vertices to sides based on which side their vector falls on. The probability of separating v_i and v_j is arccos(v_i dot v_j) / pi, and the worst-case ratio of this probability to the SDP contribution (1 - v_i dot v_j)/2 is approximately 0.878.

The 0.878 ratio is remarkable because it is optimal under the Unique Games Conjecture: no polynomial-time algorithm can do better unless the conjecture fails or P = NP. This creates a tight connection between the algebraic structure of the SDP relaxation (its integrality gap) and the computational complexity of the problem (its hardness of approximation). For MAX-CUT, these match at ~0.878. For MAX-2SAT, the optimal ratio is ~0.940, again achieved by SDP rounding. The Unique Games Conjecture predicts this pattern extends broadly: the SDP integrality gap is the correct answer for many constraint satisfaction problems.

SDP hierarchies — the Lasserre hierarchy, Sum-of-Squares (SoS) — systematically strengthen SDP relaxations by adding higher-order moment constraints. After O(n) levels, the Lasserre hierarchy captures the integer hull exactly (but at exponential cost). The research frontier asks: how many levels suffice for good approximations? The Sum-of-Squares hierarchy has emerged as a unifying framework connecting approximation algorithms, proof complexity, and machine learning, with applications ranging from planted clique detection to tensor decomposition.

Practice Questions 4 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesBoolean AlgebraBoolean Type and Truth ValuesComparison Operators and Boolean TestsLogical Operators and Boolean AlgebraBoolean Algebra and Fundamental LawsLogic Gates FundamentalsImplementing Boolean Functions with GatesKarnaugh Map SimplificationCombinational Circuit DesignFlip-Flops and LatchesFinite State Machines (FSMs)Deterministic Finite Automata (DFA)Nondeterministic Finite Automata (NFA)Two-Way Finite AutomataNFA to DFA Conversion (Subset Construction)DFA Properties and Minimization AlgorithmsRegular Languages: Definition and CharacterizationContext-Free Grammars (CFGs)Pushdown Automata (PDA)Equivalence of CFGs and Pushdown AutomataClosure Properties of Context-Free LanguagesLimitations of Context-Free LanguagesPumping Lemma for Context-Free LanguagesTuring MachinesVariants of Turing Machines and EquivalenceNondeterministic Time Complexity and NPThe P vs. NP ProblemComplexity Class P: Polynomial TimeComplexity Class NP: Nondeterministic Polynomial TimeNP-Completeness and Cook-Levin TheoremThe Cook-Levin TheoremBoolean Satisfiability, Cook-Levin, and Reductions3-SAT and k-SAT VariantsPartition and Subset Sum ProblemsVertex Cover and Clique ProblemsApproximation Algorithms and Approximation RatiosHardness of ApproximationApproximation Algorithms (LP Relaxation and Primal-Dual)Semidefinite Programming Relaxation

Longest path: 107 steps · 535 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.