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.
- Pubo = ToshibaSQBM2ClientSolver.PuboΒΆ
- Qplib = ToshibaSQBM2ClientSolver.QplibΒΆ
- Qubo = ToshibaSQBM2ClientSolver.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: