Semidefinite Programming, Duality Theorems & SDP Relaxations
Background on Symmetric Matrices
A matrix
Standard Form of SDP
Just as with linear programs, we can write semidefinite programs in standard form.
The standard form of an SDP is
In the above program, the variables are the entries of the symmetric matrix
However, this does not look like the way in which we defined SDPs in the previous lecture (via LMIs). So, how is the above program equivalent to the LMIs we saw in the previous lecture?
Equivalence of SDP Standard Form and LMIs
We can write the SDP standard form as a system of linear matrix inequalities (LMIs), and vice-versa.
SDP Standard Form as LMIs
Suppose we have an SDP in standard form
Note that we can consider the equality constraints as two inequalities, i.e.,
Let
Then, we can write the SDP standard form as follows
LMIs in SDP Standard Form
Now, suppose that we have an SDP with constraints given as an LMI:
Before we convert it to the standard form, we can write
Now, we can write the above SDP in standard form by defining the variable symmetric matrix
Duality Theorems
We will now discuss the duality theory for semidefinite programs.
Weak Duality
Consider the primal SDP
If we look at what happens when we multiply the
Thus, if
Thus, if we define the dual SDP as
Weak Duality Theorem: For any primal feasible solution
Strong Duality
In a similar way to linear programs, strong duality holds for semidefinite programs, albeit with some additional conditions, known as Slater’s conditions.
In the homework, you will see that strong duality may not hold for all feasible primal and dual SDPs.
However, if we assume that both the primal and dual SDPs are strictly feasible (this is Slater’s condition), then strong duality holds.
- The primal SDP is strictly feasible if there exists an
such that for all . - The dual SDP is strictly feasible if there exists a
such that .
Strong Duality Theorem: If the primal and dual SDPs are strictly feasible (i.e., if Slater’s condition holds), then the optimal values of the primal and dual SDPs are equal.
Complementary Slackness
Just as with linear programs, we have complementary slackness for SDPs.
Complementary Slackness Theorem: If
SDP Relaxations
In a similar manner that we used LP relaxations to obtain approximate solutions to NP-hard problems, via the formulation of such problems as integer linear programs, we can use SDP relaxations to obtain approximate solutions to NP-hard problems.
Since we can formulate any NP-complete problem as an integer linear program, given a combinatorial optimization problem coming from an NP-complete problem, we can always cast it as an ILP. Hence, a question arises: why use SDP relaxations instead of LP relaxations? Do we gain anything by using SDP relaxations, instead of LP relaxations?
Today, and in the next lecture, we will see that SDP relaxations can be more powerful than LP relaxations! Moreover, this has been a very fruitful area of research in the last 30 years, with many beautiful results (for those looking for a final project).
Quadratic Programming
A quadratic program (QP) is an optimization problem of the form
An advantage of studying QPs is that they are a very expressive class of optimization problems (generalizing
Nevertheless, we can relax QPs to SDPs, and thus we can use the same template as we used for LP relaxations to obtain approximate solutions to QPs! And as we will see in this and the next lecture, SDP relaxations can be more powerful than LP relaxations.
Main Example: Max-Cut
The Max-Cut problem is defined as follows:
Max-Cut Problem: Given a graph
While the minimum cut problem can be solved in polynomial time, the Max-Cut problem is NP-hard.