GRBModel.getConstrs()

Retrieve an array of all linear constraints in the model.

GRBConstr[] getConstrs ( )

Return value:

All linear constraints in the model.