Relaxation in Optimization Theory and Variational Calculus