Find the local minimum of for