Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GRBColumn.Remove()
Remove a single term from a column.
GRBConstr | Remove ( | int | i ) |
Remove the term stored at index i of the column.
Arguments:
i: The index of the term to be removed.
Return value:
The constraint whose term was removed from the column. Returns null if the specified index is out of range.
boolean | Remove ( | GRBConstr | constr ) |
Remove the term associated with constraint constr
from the column.
Arguments:
constr: The constraint whose term should be removed.
Return value:
Returns true if the constraint appeared in the column (and was removed).
![](/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)