amplify.constraint.penalty
- penalty(*args, **kwargs)
Overloaded function.
penalty(poly: amplify.BinaryPoly, label: str = '') -> amplify.BinaryConstraint
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
penalty(poly: amplify.BinaryIntPoly, label: str = '') -> amplify.BinaryIntConstraint
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
penalty(poly: amplify.IsingPoly, label: str = '') -> amplify.IsingConstraint
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
penalty(poly: amplify.IsingIntPoly, label: str = '') -> amplify.IsingIntConstraint
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
penalty(poly: amplify.BinaryPolyArray, label: str = '') -> amplify.BinaryConstraint
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
penalty(poly: amplify.BinaryPolyArrayView1, label: str = '') -> amplify.BinaryConstraint
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
penalty(poly: amplify.BinaryPolyArrayView2, label: str = '') -> amplify.BinaryConstraint
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
penalty(poly: amplify.BinaryPolyArrayView3, label: str = '') -> amplify.BinaryConstraint
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
penalty(poly: amplify.BinaryIntPolyArray, label: str = '') -> amplify.BinaryIntConstraint
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
penalty(poly: amplify.BinaryIntPolyArrayView1, label: str = '') -> amplify.BinaryIntConstraint
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
penalty(poly: amplify.BinaryIntPolyArrayView2, label: str = '') -> amplify.BinaryIntConstraint
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
penalty(poly: amplify.BinaryIntPolyArrayView3, label: str = '') -> amplify.BinaryIntConstraint
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
penalty(poly: amplify.IsingPolyArray, label: str = '') -> amplify.IsingConstraint
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
penalty(poly: amplify.IsingPolyArrayView1, label: str = '') -> amplify.IsingConstraint
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
penalty(poly: amplify.IsingPolyArrayView2, label: str = '') -> amplify.IsingConstraint
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
penalty(poly: amplify.IsingPolyArrayView3, label: str = '') -> amplify.IsingConstraint
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
penalty(poly: amplify.IsingIntPolyArray, label: str = '') -> amplify.IsingIntConstraint
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
penalty(poly: amplify.IsingIntPolyArrayView1, label: str = '') -> amplify.IsingIntConstraint
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
penalty(poly: amplify.IsingIntPolyArrayView2, label: str = '') -> amplify.IsingIntConstraint
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
penalty(poly: amplify.IsingIntPolyArrayView3, label: str = '') -> amplify.IsingIntConstraint
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