AcceptableDegrees¶
- class AcceptableDegrees¶
Methods
__init__
Attributes
equality_constraints property
inequality_constraints property
objective property
- __init__(
- self,
- objective: dict[VariableType | str, Degree | str] = {VariableType.Binary: Degree.Zero, VariableType.Ising: Degree.Zero, VariableType.Integer: Degree.Zero, VariableType.Real: Degree.Zero},
- equality_constraints: dict[VariableType | str, Degree | str] = {VariableType.Binary: Degree.Zero, VariableType.Ising: Degree.Zero, VariableType.Integer: Degree.Zero, VariableType.Real: Degree.Zero},
- inequality_constraints: dict[VariableType | str, Degree | str] = {VariableType.Binary: Degree.Zero, VariableType.Ising: Degree.Zero, VariableType.Integer: Degree.Zero, VariableType.Real: Degree.Zero},
__init__
- パラメータ:
objective (dict[Union[VariableType, str], Union[Degree, str]]) -- Defaults to
{VariableType.Binary: Degree.Zero, VariableType.Ising: Degree.Zero, VariableType.Integer: Degree.Zero, VariableType.Real: Degree.Zero}
.equality_constraints (dict[Union[VariableType, str], Union[Degree, str]]) -- Defaults to
{VariableType.Binary: Degree.Zero, VariableType.Ising: Degree.Zero, VariableType.Integer: Degree.Zero, VariableType.Real: Degree.Zero}
.inequality_constraints (dict[Union[VariableType, str], Union[Degree, str]]) -- Defaults to
{VariableType.Binary: Degree.Zero, VariableType.Ising: Degree.Zero, VariableType.Integer: Degree.Zero, VariableType.Real: Degree.Zero}
.
- property equality_constraints¶
equality_constraints property
- 戻り値の型:
- property inequality_constraints¶
inequality_constraints property
- 戻り値の型:
- property objective¶
objective property
- 戻り値の型: