amplify.constraint.penalty

penalty(*args, **kwargs)

Overloaded function.

  1. penalty(poly: amplify.BinaryPoly, label: str = ‘’) -> amplify.BinaryConstraint

  2. 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

  3. penalty(poly: amplify.BinaryIntPoly, label: str = ‘’) -> amplify.BinaryIntConstraint

  4. 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

  5. penalty(poly: amplify.IsingPoly, label: str = ‘’) -> amplify.IsingConstraint

  6. 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

  7. penalty(poly: amplify.IsingIntPoly, label: str = ‘’) -> amplify.IsingIntConstraint

  8. 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

  9. penalty(poly: amplify.BinaryPolyArray, label: str = ‘’) -> amplify.BinaryConstraint

  10. penalty(poly: amplify.BinaryPolyArray, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = ‘’) -> amplify.BinaryConstraint

  11. penalty(poly: amplify.BinaryPolyArrayView1, label: str = ‘’) -> amplify.BinaryConstraint

  12. penalty(poly: amplify.BinaryPolyArrayView1, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = ‘’) -> amplify.BinaryConstraint

  13. penalty(poly: amplify.BinaryPolyArrayView2, label: str = ‘’) -> amplify.BinaryConstraint

  14. penalty(poly: amplify.BinaryPolyArrayView2, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = ‘’) -> amplify.BinaryConstraint

  15. penalty(poly: amplify.BinaryPolyArrayView3, label: str = ‘’) -> amplify.BinaryConstraint

  16. penalty(poly: amplify.BinaryPolyArrayView3, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = ‘’) -> amplify.BinaryConstraint

  17. penalty(poly: amplify.BinaryIntPolyArray, label: str = ‘’) -> amplify.BinaryIntConstraint

  18. penalty(poly: amplify.BinaryIntPolyArray, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = ‘’) -> amplify.BinaryIntConstraint

  19. penalty(poly: amplify.BinaryIntPolyArrayView1, label: str = ‘’) -> amplify.BinaryIntConstraint

  20. penalty(poly: amplify.BinaryIntPolyArrayView1, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = ‘’) -> amplify.BinaryIntConstraint

  21. penalty(poly: amplify.BinaryIntPolyArrayView2, label: str = ‘’) -> amplify.BinaryIntConstraint

  22. penalty(poly: amplify.BinaryIntPolyArrayView2, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = ‘’) -> amplify.BinaryIntConstraint

  23. penalty(poly: amplify.BinaryIntPolyArrayView3, label: str = ‘’) -> amplify.BinaryIntConstraint

  24. penalty(poly: amplify.BinaryIntPolyArrayView3, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = ‘’) -> amplify.BinaryIntConstraint

  25. penalty(poly: amplify.IsingPolyArray, label: str = ‘’) -> amplify.IsingConstraint

  26. penalty(poly: amplify.IsingPolyArray, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = ‘’) -> amplify.IsingConstraint

  27. penalty(poly: amplify.IsingPolyArrayView1, label: str = ‘’) -> amplify.IsingConstraint

  28. penalty(poly: amplify.IsingPolyArrayView1, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = ‘’) -> amplify.IsingConstraint

  29. penalty(poly: amplify.IsingPolyArrayView2, label: str = ‘’) -> amplify.IsingConstraint

  30. penalty(poly: amplify.IsingPolyArrayView2, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = ‘’) -> amplify.IsingConstraint

  31. penalty(poly: amplify.IsingPolyArrayView3, label: str = ‘’) -> amplify.IsingConstraint

  32. penalty(poly: amplify.IsingPolyArrayView3, eq: Optional[float] = None, le: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, gt: Optional[float] = None, label: str = ‘’) -> amplify.IsingConstraint

  33. penalty(poly: amplify.IsingIntPolyArray, label: str = ‘’) -> amplify.IsingIntConstraint

  34. penalty(poly: amplify.IsingIntPolyArray, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = ‘’) -> amplify.IsingIntConstraint

  35. penalty(poly: amplify.IsingIntPolyArrayView1, label: str = ‘’) -> amplify.IsingIntConstraint

  36. penalty(poly: amplify.IsingIntPolyArrayView1, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = ‘’) -> amplify.IsingIntConstraint

  37. penalty(poly: amplify.IsingIntPolyArrayView2, label: str = ‘’) -> amplify.IsingIntConstraint

  38. penalty(poly: amplify.IsingIntPolyArrayView2, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = ‘’) -> amplify.IsingIntConstraint

  39. penalty(poly: amplify.IsingIntPolyArrayView3, label: str = ‘’) -> amplify.IsingIntConstraint

  40. penalty(poly: amplify.IsingIntPolyArrayView3, eq: Optional[int] = None, le: Optional[int] = None, ge: Optional[int] = None, lt: Optional[int] = None, gt: Optional[int] = None, label: str = ‘’) -> amplify.IsingIntConstraint