
quasiconvex part of of homework optional

\[ \begin{bmatrix} 2A^TA & C^T \\ C & 0 \end{bmatrix} \begin{bmatrix} \mathbf{\theta} \\ \mathbf{z} \end{bmatrix} = \begin{bmatrix} 2A^T\mathbf{x} \\ \mathbf{d} \end{bmatrix} \]
CVX successfulquad_prog successfulscipy.minimize unsuccessfulSLSQP finicky\[ \max_{\nu,\mathrm{x}} \mu_{\nu,\mathrm{x}} \\ S\nu = 0\,\quad\mathrm{x} \in \mathrm{Simplex} \]




\[ F(x) = \sum_i f_i(x) \]

Trick to remember, use chain rule \[(g(f(x)))'' = (g'(f(x))f'(x))' =\\ g''(f(x))f'(x)^2 + g'(f(x))f''(x)\]
exp convex increasing)log concave increasing)1/x convex decreasing)CVX works by building an evaluation tree for each functionCVX starts at leaves and builds up, applying vector composition rulenorm(hstack(1,x)) is DCP