As I suspected, the root finder sometimes fails to find the lambdas even when there is a solution. This is very frustrating. I hope it doesn't mean I will hav to use another root finder