An optimizer may require that the interval brackets a single optimum.
@param f the function to optimize. @param goalType type of optimization goal: either {@link GoalType#MAXIMIZE}or {@link GoalType#MINIMIZE}. @param min the lower bound for the interval. @param max the upper bound for the interval. @return a value where the function is optimum. @throws ConvergenceException if the maximum iteration count is exceededor the optimizer detects convergence problems otherwise. @throws FunctionEvaluationException if an error occurs evaluating the function. @throws IllegalArgumentException if min > max or the endpoints do notsatisfy the requirements specified by the optimizer.
|
|