过滤内容,
版本
文本搜索
LinExpr.__le__ ()
__le__()过载的< =
运营商,创建一个TempConstr对象捕捉一个不等式约束。结果通常是立即传递给Model.addConstr。
返回值:
一个TempConstr对象。
使用示例:
m。addConstr (x + y < = 1)