A global optimum is the point in a function's domain or a problem's search space that yields the absolute best (minimum or maximum) value of the objective function, superior to all other possible solutions. In contrast, a local optimum is only the best solution within a limited, immediate neighborhood. Finding the global optimum is the primary goal of many machine learning training processes (like minimizing loss) and heuristic search algorithms in planning, but it is often computationally intractable for complex, non-convex problems.
