ResultΒΆ
- class ResultΒΆ
Container of optimization solutions and conversion/runtime metadata.
Methods
Attributes
Best solution in the result set.
Solver/client result.
Graph embedding information.
The time the solver used to solve the problem.
Whether to filter out infeasible solutions.
Model conversion information.
Number of solve executions aggregated.
The time between sending the request and receiving the response from the solver.
View of all solutions.
Split view for each independent solve.
Total time including conversion and solve.
- class GraphConversionΒΆ
Graph embedding conversion details used during solving.
- class ChainBreakFractionsΒΆ
List-like view of chain break fractions.
- __init__(*args, **kwargs)ΒΆ
- __init__(*args, **kwargs)ΒΆ
- property chain_break_fractionsΒΆ
Chain break fraction for each solve.
- Return type:
- property chainsΒΆ
Embedding chains for each logical variable.
- property src_graphΒΆ
Source (input polynomial) graph for embedding.
- property values_listΒΆ
Physical variable assignments for each solve.
- Return type:
- class ModelConversionΒΆ
Model conversion details used during solving.
- class IntermediateMappingΒΆ
Mapping between original and intermediate variables during model conversion.
- class ItemsViewΒΆ
View of key-value pairs in
IntermediateMapping.- __init__(*args, **kwargs)ΒΆ
- class KeysViewΒΆ
View of keys in
IntermediateMapping.- __contains__(self, arg: Poly, /) boolΒΆ
- __contains__(self, arg: object, /) bool
__contains__
Overload 1.
- Args:
arg (amplify.Poly)
- Returns:
bool:
Overload 2.
- Args:
arg (object)
- Returns:
bool:
- __init__(*args, **kwargs)ΒΆ
- class ValuesViewΒΆ
View of values in
IntermediateMapping.- __init__(*args, **kwargs)ΒΆ
- __iter__(self) ValuesViewΒΆ
- Return type:
- __contains__(self, arg: Poly, /) boolΒΆ
- __contains__(self, arg: object, /) bool
__contains__
Overload 1.
- Args:
arg (amplify.Poly)
- Returns:
bool:
Overload 2.
- Args:
arg (object)
- Returns:
bool:
- __init__(*args, **kwargs)ΒΆ
- values(self) ValuesViewΒΆ
- Return type:
- __init__(*args, **kwargs)ΒΆ
- property mappingΒΆ
Mapping from input variables to intermediate expressions.
- Return type:
- property values_listΒΆ
Intermediate variable assignments for each solve.
- Return type:
- class SolutionListΒΆ
List-like view of solutions.
- __init__(*args, **kwargs)ΒΆ
- class SplitViewΒΆ
List-of-list-like view of solutions that splits solutions by independent solves.
- __init__(*args, **kwargs)ΒΆ
- class ValuesListΒΆ
List-like view of value mappings for solutions.
- __init__(*args, **kwargs)ΒΆ
- __class_getitem__()ΒΆ
- __init__(*args, **kwargs)ΒΆ
- __nb_signature__ = 'class Result[_BaseClient]'ΒΆ
- property client_resultΒΆ
Solver/client result.
- property embeddingΒΆ
Graph embedding information.
- Return type:
GraphConversion | None
- property intermediateΒΆ
Model conversion information.
- Return type:
- property response_timeΒΆ
The time between sending the request and receiving the response from the solver.
- Return type:
- property solutionsΒΆ
View of all solutions.
- Return type: