Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GenConstrType
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.
![](/wp-content/plugins/hd_documentations/content/images/documentation-ampl-guide.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-cloud.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-example-tour.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-quick-start.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-reference-manuals.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-remote-services.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-linux.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-mac-osx.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-windows.webp?x70725)