Run a function iteratively using a grid search approach for parameter values, with options for parallel processing.
Useful links