Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Model.getConstrByName()
getConstrByName ( name )
Retrieve a linear constraint from its name. If multiple linear constraints have the same name, this method chooses one arbitrarily.
Arguments:
name: Name of desired constraint.
Return value:
Constraint with the specified name.
Example usage:
c0 = model.getConstrByName("c0")