Seol mar théacs é seo: AdaGeo: Adaptive geometric learning for optimization and sampling