NECVA2Client¶
- class NECVA2Client¶
Methods
Attributes
acceptable_degrees property
parameters property
proxy property
set_andzero property
set_fixed property
set_maxone property
set_minmaxone property
set_onehot property
set_orone property
set_supplement property
token property
url property
version property
write_request_data property
write_response_data property
- class Parameters¶
- __init__(*args, **kwargs)¶
- property vector_mode¶
vector_mode property
- 戻り値の型:
VectorMode | None
- class Result¶
-
- __init__(*args, **kwargs)¶
- class VectorMode¶
- __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.
- Accuracy = NECVA2ClientVectorMode.Accuracy¶
- Speed = NECVA2ClientVectorMode.Speed¶
- __name__ = 'VectorMode'¶
- __init__(self) None ¶
- __init__(self, token: str = '', url: str = '', proxy: str | None = None) None
__init__
- solve(self, objective: Poly | Matrix, dry_run: Literal[False] = False) 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.NECVA2Client.Result
- Args:
objective (amplify.Poly | amplify.Matrix):
dry_run (Literal[False]): Defaults to
False
.
- Returns:
amplify.NECVA2Client.Result:
2. solve(self, constraint: Union[amplify.Constraint, amplify.ConstraintList], dry_run: Literal[False] = False) -> amplify.NECVA2Client.Result
- Args:
constraint (amplify.Constraint | amplify.ConstraintList):
dry_run (Literal[False]): Defaults to
False
.
- Returns:
amplify.NECVA2Client.Result:
3. solve(self, objective: Union[amplify.Poly, amplify.Matrix], constraint: Union[amplify.Constraint, amplify.ConstraintList], dry_run: Literal[False] = False) -> amplify.NECVA2Client.Result
- Args:
objective (amplify.Poly | amplify.Matrix):
constraint (amplify.Constraint | amplify.ConstraintList):
dry_run (Literal[False]): Defaults to
False
.
- Returns:
amplify.NECVA2Client.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
- 戻り値の型:
- property parameters¶
parameters property
- 戻り値の型: