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.
- 戻り値の型:
- property chains¶
Embedding chains for each logical variable.
- property values_list¶
Physical variable assignments for each solve.
- 戻り値の型:
- 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¶
__iter__
- 戻り値の型:
- __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¶
values
- 戻り値の型:
- __init__(*args, **kwargs)¶
- property mapping¶
Mapping from input variables to intermediate expressions.
- 戻り値の型:
- property values_list¶
Intermediate variable assignments for each solve.
- 戻り値の型:
- 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.
- 戻り値の型:
GraphConversion | None
- property intermediate¶
Model conversion information.
- 戻り値の型:
- property response_time¶
The time between sending the request and receiving the response from the solver.
- 戻り値の型:
- property solutions¶
View of all solutions.
- 戻り値の型: