bundles / scipy 1.17.1 / scipy / optimize / _constraints / PreparedConstraint / violation
function
scipy.optimize._constraints:PreparedConstraint.violation
Signature
def violation ( self , x ) Summary
How much the constraint is exceeded by.
Parameters
x: array-likeVector of independent variables
Returns
excess: array-likeHow much the constraint is exceeded by, for each of the constraints specified by
PreparedConstraint.fun.
Aliases
-
scipy.optimize._constraints.PreparedConstraint.violation