Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GRBModel::getCol()
Retrieve the list of constraints in which a variable participates, and the associated coefficients. The result is returned as a GRBColumn object.
GRBColumn | getCol ( | GRBVar | var ) |
Arguments:
var: The variable of interest.
Return value:
A GRBColumn object that captures the set of constraints in which the variable participates.
![](/wp-content/plugins/hd_documentations/content/images/documentation-ampl-guide.webp?x85428)
![](/wp-content/plugins/hd_documentations/content/images/documentation-cloud.webp?x85428)
![](/wp-content/plugins/hd_documentations/content/images/documentation-example-tour.webp?x85428)
![](/wp-content/plugins/hd_documentations/content/images/documentation-quick-start.webp?x85428)
![](/wp-content/plugins/hd_documentations/content/images/documentation-reference-manuals.webp?x85428)
![](/wp-content/plugins/hd_documentations/content/images/documentation-remote-services.webp?x85428)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-linux.webp?x85428)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-mac-osx.webp?x85428)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-windows.webp?x85428)