@classmethod
    def enable_global_optimization(cls):
        cls._globalOptimize = True
Enables the global optimization of pycast methods, if possible.
dataset/ETHPy150Open T-002/pycast/pycast/common/pycastobject.py/PyCastObject.enable_global_optimization