Skip to content

The inputs have no defined result

Type
https://pyeconomics.dev/problems/no-defined-result
HTTP status
422
Exit code
4 (no defined result)
Raised as
DomainError

What it means

The inputs are valid, but the model's result as a whole is undefined for them: a growth rate at or above the required return, say, or a singular covariance matrix. Where only one output is undefined, the model returns null for it with a warning instead.

What to do

Check the inputs against the model's assumptions and limitations; the detail says which condition failed.

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.