atomica.optimization.UnresolvableConstraint

exception atomica.optimization.UnresolvableConstraint[source]

Unresolvable (ill-posed) constraint

This error gets thrown if it is _impossible_ to satisfy the constraints. There are two modes of constraint failure - The constraint might not be satisfied on this iteration, but could be satisfied by other

parameter values

  • The constraint is impossible to satisfy because it is inconsistent (for example, if the total spend is greater than the sum of the upper bounds on all the individual programs) in which case the algorithm cannot continue

This error gets raised in the latter case, while the former should result in the iteration being skipped