NECVA2ClientΒΆ
- class NECVA2ClientΒΆ
Bases:
AmplifyClient
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
- Return type:
VectorMode | None
- class ResultΒΆ
-
- __init__(*args, **kwargs)ΒΆ
- __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
- Return type:
- property parametersΒΆ
parameters property
- Return type: