Fundamentals of optimization problems