bundles / scipy latest / scipy / optimize / _differentialevolution / _ConstraintWrapper / violation
function
scipy.optimize._differentialevolution:_ConstraintWrapper.violation
Signature
def violation ( self , x ) Summary
How much the constraint is exceeded by.
Parameters
x: array-likeVector of independent variables, (N, S), where N is number of parameters and S is the number of solutions to be investigated.
Returns
excess: array-likeHow much the constraint is exceeded by, for each of the constraints specified by
_ConstraintWrapper.fun. Has shape (M, S) where M is the number of constraint components.
Aliases
-
scipy.optimize._differentialevolution._ConstraintWrapper.violation