Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GRBversion
void | GRBversion ( | int | *majorP, |
int | *minorP, | ||
int | *technicalP ) |
Return the Gurobi library version number (major, minor, and technical).
Arguments:
majorP: The location in which the major version number should be placed. May be NULL.
minorP: The location in which the minor version number should be placed. May be NULL.
technicalP: The location in which the technical version number should be placed. May be NULL.
Example usage:
int major, minor, technical; GRBversion(&major, &minor, &technical); printf("Gurobi library version %d.%d.%d\n", major, minor, technical);
![](/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)