code: def replace_constraint(self,name,**kwargs):
          
  
          for pop in self.poplist:
              pop.replace_constraint(name,**kwargs)
          if name not in self.constraints:
              self.constraints.append(name)
docs: Replaces removed constraint in each population.
  
          See :func:`vespa.stars.StarPopulation.replace_constraint`