<div dir="ltr"><div class="gmail_default" style="color:#073763">Hi, </div><div class="gmail_default" style="color:#073763"><br></div><div class="gmail_default" style="color:#073763">I am relatively new to optimization. I am optimizing 2 variables for a trial and noticed that in my problem, occasionally the objective function falls into a local minima, (even though there were sort of global minimum  achieved in the previous iterations) and stays in this for a very long time say, around 1500 iterations ( believe its trying to find a new search direction and step size). Is there any settings I can use to avoid this and save computational time.</div><div class="gmail_default" style="color:#073763"><br></div><div class="gmail_default" style="color:#073763">Looking forward to your kind help.</div><div class="gmail_default" style="color:#073763"><br></div><div class="gmail_default" style="color:#073763">Nithin</div></div>