GenConstr

Gurobi一般约束对象。一般约束总是关联到一个特定的模型。你一般约束添加到模型通过使用其中的一个Model.addGenConstrXxx方法,或使用Model.addConstrModel.addConstrs加上一个一般约束helper函数)。

一般约束对象有很多属性,可以查询的GenConstr.getAttr方法。完整榜单中可以找到属性本文的部分。



部分