Invia SMS: An analysis of convex relaxations for MAP estimation