In no standard textbook, projection implementation is ever talked about, in this writing we will try to close this gap.
defintion: Projection
Projection: Given a space
we define the projection on to as,
Depending on how easy the space
Simplex:
.
Then projection onto this set can be computed intime by sorting.
hint: Use Lagrangian multiplier and write down all the optimality conditions.
Another example the PSD cone which has a closed form as follows
There could be more complicated space which we will discuss now.
Intersection of spaces.
Suppose you are given spaces
Here we will assume that each individual space has a easy to compute projection i.e.
So the most naive way of projecting to each space iteratively will not work. Even though this method will not work but applying it indefinitely time by cycling the projection the point will eventually converge to inside
Dykstra Projection:
Initialize
Repeat for
Where we will refer
More complicated form
For more complicated form we may need to use newton’s method. For example let
Thus we can use newton’s method to solve this iteratively.