Minimizing a convex function


(Md Afaque Azam) #1

Please help me in writing the cvx code for minimizing:
f(x) = (|a’*x|-1)^2 where a and x are in R^n


(Mark L. Stone) #2

Please show us your proof of convexity.