Documentation


GenConstr

Gurobi general constraint object. General constraints are always associated with a particular model. You add a general constraint to a model either by using one of the Model.addGenConstrXxx method, or by using Model.addConstr or Model.addConstrs plus a general constraint helper function).

General constraint objects have a number of attributes, which can be queried with the GenConstr.getAttr method. The full list can be found in the Attributes section of this document.



Subsections