NECVA2Client¶
- class NECVA2Client¶
ベースクラス:
BaseClient
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¶
ベースクラス:
Enum
- classmethod __contains__(value)¶
Return True if value is in cls.
value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls's members. 3) value is a pseudo-member (flags)
- classmethod __getitem__(name)¶
Return the member matching name.
- classmethod __iter__()¶
Return members in definition order.
- classmethod __len__()¶
Return the number of members (no aliases)
- Accuracy = 0¶
- Speed = 1¶
- __nb_enum__ = <capsule object NULL>¶
- __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
Overload 1.
- Args:
objective (amplify.Poly | amplify.Matrix)
dry_run (typing.Literal[False]): Defaults to
False
.
- Returns:
amplify.NECVA2Client.Result:
Overload 2.
- Args:
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False
.
- Returns:
amplify.NECVA2Client.Result:
Overload 3.
- Args:
objective (amplify.Poly | amplify.Matrix)
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False
.
- Returns:
amplify.NECVA2Client.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
- 戻り値の型: