QuadraticModelΒΆ

class QuadraticModelΒΆ

Bases: ABC

Methods

Attributes

__add__(arg: Constraint | ConstraintList)ΒΆ
__iadd__(arg: Constraint | ConstraintList)ΒΆ
__init__(
arg0: Poly,
arg1: Constraint | ConstraintList | None = None,
*,
method: QuadratizationMethod = QuadratizationMethod.IshikawaKZFD,
)ΒΆ
__init__(
arg0: Matrix,
arg1: Constraint | ConstraintList | None = None,
*,
method: QuadratizationMethod = QuadratizationMethod.IshikawaKZFD,
)
__init__(arg0: Model, arg1=None, *, method: QuadratizationMethod = QuadratizationMethod.IshikawaKZFD)
__init__(
arg0: Constraint | ConstraintList,
arg1=None,
*,
method: QuadratizationMethod = QuadratizationMethod.IshikawaKZFD,
)
__radd__(arg: Constraint | ConstraintList)ΒΆ
check_constraints(values: Values) list[tuple[Constraint, bool]]ΒΆ
__abstractmethods__ = frozenset({'_intermediate_degrees'})ΒΆ
__dict__ = mappingproxy({'__module__': 'amplify._backward', '__init__': <function QuadraticModel.__init__>, '__add__': <function QuadraticModel.__add__>, '__iadd__': <function QuadraticModel.__iadd__>, '__radd__': <function QuadraticModel.__radd__>, 'substitution_multiplier': <property object>, 'input_constraints': <property object>, 'input_matrix': <property object>, 'input_poly': <property object>, '_intermediate_degrees': <classmethod(<function QuadraticModel._intermediate_degrees>)>, '_intermediate_model': <function QuadraticModel._intermediate_model>, 'logical_mapping': <property object>, 'logical_matrix': <property object>, 'logical_model_matrix': <property object>, 'logical_model_poly': <property object>, 'logical_poly': <property object>, 'num_input_vars': <property object>, 'num_logical_vars': <property object>, 'check_constraints': <function QuadraticModel.check_constraints>, '__dict__': <attribute '__dict__' of 'QuadraticModel' objects>, '__weakref__': <attribute '__weakref__' of 'QuadraticModel' objects>, '__doc__': None, '__abstractmethods__': frozenset({'_intermediate_degrees'}), '_abc_impl': <_abc._abc_data object>, '__annotations__': {'__intermediate_model': 'Model | None', '_intermediate_poly': 'Poly | None', '_intermediate_mapping': 'Result.ModelConversion.IntermediateMapping | None'}})ΒΆ
__slots__ = ()ΒΆ
__weakref__ΒΆ

list of weak references to the object (if defined)

property input_constraints: ConstraintListΒΆ
property input_matrix: Matrix | NoneΒΆ
property input_poly: Poly | NoneΒΆ
property logical_mapping: IntermediateMappingΒΆ
property logical_matrix: Matrix | NoneΒΆ
property logical_model_matrixΒΆ
property logical_model_poly: PolyΒΆ
property logical_poly: Poly | NoneΒΆ
property num_input_vars: intΒΆ
property num_logical_vars: intΒΆ
property substitution_multiplier: floatΒΆ