amplify.constraint.penalty

penalty(*args, **kwargs)

Overloaded function.

  1. penalty(arg0: amplify.BinaryPoly) -> amplify.BinaryConstraint

  2. penalty(arg0: amplify.BinaryIntPoly) -> amplify.BinaryIntConstraint

  3. penalty(arg0: amplify.IsingPoly) -> amplify.IsingConstraint

  4. penalty(arg0: amplify.IsingIntPoly) -> amplify.IsingIntConstraint