Question: The objective function,(x, y)= (1x)^2100 (y x^2 )^ 2 . We want to find the optimal pair(x,y) to minimize this function with (-2 x 2,
The objective function,(x, y)= (1x)^2100(yx^2)^2 . We want to find the optimal pair(x,y) to minimize this function with (-2 x 2, -2 y 2).
a. Construct 2-dimensional uniform grid with dx=0.1 and dy=0.1. x= -2:0.1:2 and y = -2:0.1:2.
b. Calculate the function value at the grid and find the minimum and the corresponding pair (x*,y*).
c. Construct a refined uniform grid near the optimal pair (x*,y*) in part b like x* -0.1 x x* +0.1, y* -0.1 y y* +0.1 with dx=0.01 and dy = 0.01.
d. Calculate the function value at the grid and find the minimum and the corresponding pair (x**,y**).
Note: This question is full. No graph needed. Nothing missing.
Topic you can refer from : https://docs.scipy.org/doc/scipy/reference/tutorial/optimize.html
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
