# pyblp.exceptions.OmegaByThetaJacobianNumericalError¶

class pyblp.exceptions.OmegaByThetaJacobianNumericalError

Encountered a numerical error when computing the Jacobian (holding $$\gamma$$ fixed) of $$\omega$$ (equivalently, of transformed marginal costs) with respect to $$\theta$$.

This problem is often due to prior problems or overflow, and can sometimes be mitigated by choosing smaller initial parameter values, setting more conservative bounds, rescaling data, removing outliers, changing the floating point precision, or using different optimization or cost configurations.