equal_to¶
- equal_to(left: Poly | VariableListBase, right: float) Constraint ¶
Construct a user-defined equality constraint that the given l.h.s. polynomial equals to the r.h.s. value.
- Parameters:
left (Poly | VariableListBase) – A polynomial of variables. If a ‘variable list’ is directly given, its sum is considered as the l.h.s. polynomial.
right (float) – R.h.s. value.
- Returns:
Constructed equality constraint.
- Return type: