GRBModel::getConstrs()

Retrieve an array of all linear constraints in the model.

GRBConstr* getConstrs ( )

Return value:

An array of all linear constraints in the model. Note that this array is heap-allocated, and must be returned to the heap by the user.