Method Nelder Mead Cannot Handle Constraints