The numerical method found no answer
- Type
https://pyeconomics.dev/problems/no-convergence- HTTP status
- 422
- Exit code
- 4 (no defined result)
- Raised as
ConvergenceError
What it means
A numerical method, a root search or an optimizer, found no answer within its limits for these inputs.
What to do
Check that a solution exists for the inputs (a yield for a price, say), or move the inputs nearer to typical values.
Every pyeconomics surface reports a failure as a problem in the form of RFC 9457: its type, title, HTTP status and detail, and the exit code the command line returns. A problem never holds a key, a file path, a host or an upstream URL. Every problem type.