The following has no solution:
FindRoot[x == 1, {x, 0.25, 0, 0.5}]
And Mathematica correctly warns us:
FindRoot::reged: The point {0.5} is at the edge of the search region {0.,0.5} in coordinate 1 and the computed search direction points outside the region.
If we use Quiet, we correctly suppress the message.
The following is exactly the same system, but here we ask for a specific numerical method
FindRoot[x == 1, {x, 0, 0.5}, Method -> "Brent"]
And we receive a similar warning:
FindRoot::bbrac: Method -> Brent is only applicable to univariate real functions and requires two real starting values that bracket the root.
But this time, if we add Quiet, we still receive the same warning.
Why isn't Quiet working (is it a bug)?
Quiet@Check[FindRoot[x == 1, {x, 0.25, 0, 0.5}, Method -> "Brent"], foo]– Szabolcs Feb 24 at 13:56Checkto solve my problem, and I'll wait some more comments/answers before posting it to support. Thank you. – P. Fonseca Feb 24 at 13:59Quietnot suppressing certain messages. Does anyone recall which it is? EDIT: No, it was the converse syndrome: (14140) – Mr.Wizard♦ Feb 24 at 14:05Quietand;together stop the message too. Could also useOff[FindRoot::bbrac]– Sjoerd C. de Vries Feb 24 at 14:41TracePrintreveals two calls toMessage[FindRoot::bbrac]. – Sjoerd C. de Vries Feb 24 at 14:49