Minimize[Abs[x] + (1/2) (x - x0)^2, {x}]