code: def get_lin_constraint(self, name):
          
          for c in self.lin_constraints:
              if c.name == name:
                  return c
          else:
              raise ValueError
docs: Returns the constraint set with the given name.