Numerical optimization

45 Views Asked by At

Suppose that I need to find the global maximum of $f(x)$ but $f'(x)=0$ and $f''(x)=0$ can only be solved numerically. How do I am 100% sure that I have found the correct optimums. My doubt is because the algorithms do not find the roots with probability one.