Optimization Theory in Evolution