GRBModel.getConstrByName()

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

GRBConstr getConstrByName ( String name )