Source: http://egrcc.github.io/docs/math/cvxbook-solutions.pdf