Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GRBModel.getConstrByName()
Retrieve a linear constraint from its name. If multiple linear constraints have the same name, this method chooses one arbitrarily. Returns null if no constraint has that name.
GRBConstr | getConstrByName ( | String | name ) |
Arguments:
name: The name of the desired linear constraint.
Return value:
The requested linear constraint.