Introduction to Mathematical Methods of Optimization