Hi, I am trying to figure out the difference between sampler and optimizer. When each one should be used/developed? What is the relationship between them? How each one works with restraints and scoring functions? Dina