Syllabus: Theory and methods of optimization