StructuredSolverError#

exception superglm.StructuredSolverError#

Bases: LinAlgError

The structured solver cannot proceed with this fit.

Raised in place of a structured factor’s np.linalg.LinAlgError, whose message it carries: the term, the tree node or border column, and the certificate or bound that failed (a tree pivot within its certified uncertainty, material negative Schur curvature, a retained border block that is not positive definite, exact intercept aliasing, non-finite statistics, a solve or selected inverse that is not representable). No other solver is tried, under any direct_solve: for a model its data identify this should not happen, and direct_solve="gram" fits the model with the dense solver instead.