I am trying to figure out how to set a threshold for the function value, so that patternsearch would stop once the function value falls below that threshold. Normally this would be set with the 'ObjectiveLimit' option, but it doesn't work for patternsearch. Could you please advise?
↧