pyblp.exceptions.CostsNumericalError

class pyblp.exceptions.CostsNumericalError

Encountered a numerical error when computing marginal costs.

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.