Seol mar théacs é seo: Thermodynamics of global optimization