amplify.BinaryConstraint

class BinaryConstraint

ベースクラス: pybind11_builtins.pybind11_object

no docstring

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: amplify.BinaryConstraint) -> None

no docstring

  1. __init__(self: amplify.BinaryConstraint, arg0: amplify.BinaryConstraint) -> None

  2. __init__(self: amplify.BinaryConstraint, arg0: qubo::Constraint<qubo::Binary, int>) -> None

Methods

__init__(*args, **kwargs)

Overloaded function.

is_satisfied(*args, **kwargs)

Overloaded function.

Attributes

label

no docstring

penalty

no docstring

is_satisfied(*args, **kwargs)

Overloaded function.

  1. is_satisfied(self: amplify.BinaryConstraint, arg0: List[int]) -> bool

no docstring

  1. is_satisfied(self: amplify.BinaryConstraint, arg0: Dict[int, int]) -> bool

  2. is_satisfied(self: amplify.BinaryConstraint, arg0: function) -> bool

property label

no docstring

property penalty

no docstring