GRBModel.GetConstrByName()

Retrieve a constraint from its name. If multiple constraints have the same name, this routine chooses one arbitrarily.

GRBConstr GetConstrByName ( string name )