Seol mar théacs é seo: Global optimization of bounded factorable functions with discontinuities