ToshibaSQBM2Client#
- class ToshibaSQBM2Client#
Methods
__init__
health_check
solve
Attributes
acceptable_degrees property
compression property
parameters property
proxy property
solver property
token property
url property
version property
write_request_data property
write_response_data property
- class Result#
Bases:
Solution
- __init__(*args, **kwargs)#
- property param#
param property
- Return type:
- class Solver#
- __eq__(value, /)#
Return self==value.
- __ge__(value, /)#
Return self>=value.
- __gt__(value, /)#
Return self>value.
- __hash__()#
Return hash(self).
- __index__()#
Return self converted to an integer, if self is suitable for use as an index into a list.
- __init__(*args, **kwargs)#
- __int__()#
int(self)
- __le__(value, /)#
Return self<=value.
- __lt__(value, /)#
Return self<value.
- __ne__(value, /)#
Return self!=value.
- Qplib = Qplib#
- Qubo = Qubo#
- __name__ = 'Solver'#
- __init__(self) None #
- __init__(self, token: str = '', url: str = '', proxy: str | None = None) None
__init__
- solve( ) Result #
- solve(
- self,
- constraint: Constraint | ConstraintList,
- dry_run: Literal[False] = False,
- solve(
- self,
- objective: Poly | Matrix,
- constraint: Constraint | ConstraintList,
- dry_run: Literal[False] = False,
- solve(self, objective: Poly | Matrix, dry_run: Literal[True]) None
- solve(self, constraint: Constraint | ConstraintList, dry_run: Literal[True]) None
- solve(
- self,
- objective: Poly | Matrix,
- constraint: Constraint | ConstraintList,
- dry_run: Literal[True],
solve
- Overloading:
1. solve(self, objective: Union[amplify.Poly, amplify.Matrix], dry_run: Literal[False] = False) -> amplify.ToshibaSQBM2Client.Result
- Args:
objective (amplify.Poly | amplify.Matrix):
dry_run (Literal[False]): Defaults to
False
.
- Returns:
amplify.ToshibaSQBM2Client.Result:
2. solve(self, constraint: Union[amplify.Constraint, amplify.ConstraintList], dry_run: Literal[False] = False) -> amplify.ToshibaSQBM2Client.Result
- Args:
constraint (amplify.Constraint | amplify.ConstraintList):
dry_run (Literal[False]): Defaults to
False
.
- Returns:
amplify.ToshibaSQBM2Client.Result:
3. solve(self, objective: Union[amplify.Poly, amplify.Matrix], constraint: Union[amplify.Constraint, amplify.ConstraintList], dry_run: Literal[False] = False) -> amplify.ToshibaSQBM2Client.Result
- Args:
objective (amplify.Poly | amplify.Matrix):
constraint (amplify.Constraint | amplify.ConstraintList):
dry_run (Literal[False]): Defaults to
False
.
- Returns:
amplify.ToshibaSQBM2Client.Result:
4. solve(self, objective: Union[amplify.Poly, amplify.Matrix], dry_run: Literal[True]) -> None
- Args:
objective (amplify.Poly | amplify.Matrix):
dry_run (Literal[True]):
5. solve(self, constraint: Union[amplify.Constraint, amplify.ConstraintList], dry_run: Literal[True]) -> None
- Args:
constraint (amplify.Constraint | amplify.ConstraintList):
dry_run (Literal[True]):
6. solve(self, objective: Union[amplify.Poly, amplify.Matrix], constraint: Union[amplify.Constraint, amplify.ConstraintList], dry_run: Literal[True]) -> None
- Args:
objective (amplify.Poly | amplify.Matrix):
constraint (amplify.Constraint | amplify.ConstraintList):
dry_run (Literal[True]):
- property acceptable_degrees#
acceptable_degrees property
- Return type:
- property parameters#
parameters property
- Return type: