Matrix¶
- class Matrix¶
Methods
Attributes
constant property
linear property
quadratic property
variable_array property
- __add__(self, arg: Constraint | ConstraintList, /) Model ¶
__add__
- Parameters:
arg (Constraint | ConstraintList) –
- Return type:
- __init__(*args, **kwargs)¶
- __radd__(self, arg: Constraint | ConstraintList, /) Model ¶
__radd__
- Parameters:
arg (Constraint | ConstraintList) –
- Return type:
- evaluate(self, values: Values) float ¶
- evaluate(self, values: Values, default: float) float
evaluate
- Overloading:
1. evaluate(self, values: amplify.Values) -> float
- Args:
values (amplify.Values):
- Returns:
float:
2. evaluate(self, values: amplify.Values, default: float) -> float
- Args:
values (amplify.Values):
default (float):
- Returns:
float: