grid search & random search now available for maximize() and minimize()