Question: 1. Consider the optimization problem min e^(x_1x_20.4) + e^(x_1+x_20.4) + (x_1 1)^2 + (x_2 + 1)^2 variables: x_1 ,x_2. Write a code(in matlab) to solve

1. Consider the optimization problem min e^(x_1x_20.4) + e^(x_1+x_20.4) + (x_1 1)^2 + (x_2 + 1)^2 variables: x_1 ,x_2.

Write a code(in matlab) to solve this problem using the Gradient method with the backtracking parameters = 1 and = 0.6. Draw f(x(k)) verses k for k = 0, 1, 2, . . . , 50. Show the trajectory of points x(0), x(1), ..., x(50) in the 2-dimensional (x_1, x_2) plane.

(comment in what each line is to make code provided understandable)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!