ToshibaSQBM2Client¶
- class ToshibaSQBM2Client¶
ベースクラス:
AmplifyClient
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
- __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
Overload 1.
- Args:
objective (amplify.Poly | amplify.Matrix)
dry_run (typing.Literal[False]): Defaults to
False
.
- Returns:
amplify.ToshibaSQBM2Client.Result:
Overload 2.
- Args:
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False
.
- Returns:
amplify.ToshibaSQBM2Client.Result:
Overload 3.
- Args:
objective (amplify.Poly | amplify.Matrix)
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False
.
- Returns:
amplify.ToshibaSQBM2Client.Result:
Overload 4.
- Args:
objective (amplify.Poly | amplify.Matrix)
dry_run (typing.Literal[True])
Overload 5.
- Args:
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[True])
Overload 6.
- Args:
objective (amplify.Poly | amplify.Matrix)
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[True])
- property acceptable_degrees¶
acceptable_degrees property
- 戻り値の型:
- property parameters¶
parameters property
- 戻り値の型: