Cookie Settings

Try our new documentation site (beta).

Filter Content By
Version
Table of contents
Filter by Language
C API Details
C++ API Details
GRBModel
Java API Details
GRBModel +
.NET API Details
GRBModel +
Python API Details
Model +
Attributes
Parameters
Parameter Descriptions +


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.