Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
QuadExpr.__le__()
__le__ ( )
Overloads the <=
operator, creating a
TempConstr object that captures
an equality constraint. The result is typically immediately passed to
Model.addConstr.
Return value:
A TempConstr object.
Example usage:
m.addConstr(x*x + y*y <= 1)