Basic Optimization Problems

Check out some simple optimization problems.

We'll cover the following

Now we’re going to view some problems that can be solved with what we know already. We can solve optimization problems even without knowing sophisticated algorithms. These exercises will allow us to grasp optimization fundamentals better. Here we go!

Exercise 1

Solve the following optimization problems:

  • Problem 1: minxx4\min_x x^4
  • Problem 2: minxx4+6x2+1\min_x x^4 + 6x^2 + 1
  • Problem 3: maxxxs.t.:x[10,10]\max_x x \\ s.t.: x \in [-10, 10]
  • Problem 4: maxxxs.t.:x(10,10)\max_x x \\ s.t.: x \in (-10, 10)

Get hands-on with 1200+ tech skills courses.