less_equal¶
- less_equal(left: Poly | VariableListBase, right: float) Constraint ¶
Construct a user-defined inequality constraint that the given l.h.s. polynomial equals to or less than 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 inequality constraint.
- Return type: