Variational principles of physics Variational principles in optimization mathematics