0

Optimal step?? [Python3]

How to find the optimal step for the steepest descent method for python? My function takes 2 arguments and I can't code a 1d optimization to find optimal step.please help

23rd Mar 2020, 7:21 AM
Steam
Steam - avatar
3 Respuestas
+ 1
It is a little hard to help if one cannot see the code
23rd Mar 2020, 7:23 AM
nichdiomajadoch
0
Function is f(x,y)=e^( -(x-1)^2-(y-1)^2-0.5*x^3*y^3 ) I have to find the maximum through optimal steepest ascent. I can solve it through some fixed step, but i have to find the optimal step at each iteration
23rd Mar 2020, 7:31 AM
Steam
Steam - avatar
0
For example fixed step 0.5 gives the correct maximum at 0.81
23rd Mar 2020, 7:31 AM
Steam
Steam - avatar