amplify.constraint.penalty

penalty(*args, **kwargs)

Overloaded function.

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

  2. penalty(arg0: amplify.BinaryPoly, arg1: str) -> amplify.BinaryConstraint

  3. penalty(poly: amplify.BinaryPoly, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = '') -> amplify.BinaryConstraint

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

  5. penalty(arg0: amplify.BinaryIntPoly, arg1: str) -> amplify.BinaryIntConstraint

  6. penalty(poly: amplify.BinaryIntPoly, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = '') -> amplify.BinaryIntConstraint

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

  8. penalty(arg0: amplify.IsingPoly, arg1: str) -> amplify.IsingConstraint

  9. penalty(poly: amplify.IsingPoly, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = '') -> amplify.IsingConstraint

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

  11. penalty(arg0: amplify.IsingIntPoly, arg1: str) -> amplify.IsingIntConstraint

  12. penalty(poly: amplify.IsingIntPoly, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = '') -> amplify.IsingIntConstraint