In many cases, optimization problems have local maxima and minima points; these represent solutions that are better than those around them, but not the best overall.
The following image illustrates the differences between global and local maxima and minima points:
Most traditional search and optimization algorithms, and particularly those that are gradient-based, ...