Type: int
Modifiable: No

General constraint type.

The language APIs contain enums that allows you to map the integer constraint type to a more meaningful name. In C, you'll find GRB_GENCONSTR_MAX, GRB_GENCONSTR_MIN, etc. In the OO interfaces, you'll find GRB.GENCONSTR_MAX, GRB.GENCONSTR_MIN, etc.

For examples of how to query or modify attributes, refer to our Attribute Examples.