Seol mar théacs é seo: Efficiently solving convex relaxations for MAP estimation