Set the seed for optimize and report best result so far