Interface BaseMultivariateOptimizer<FUNC extends MultivariateFunction>

    • Method Detail

      • optimize

        @Deprecated
        PointValuePair optimize​(int maxEval,
                                FUNC f,
                                GoalType goalType,
                                double[] startPoint)
        Deprecated.
        As of 3.1. In 4.0, it will be replaced by the declaration corresponding to this method.
        Optimize an objective function.
        Parameters:
        f - Objective function.
        goalType - Type of optimization goal: either GoalType.MAXIMIZE or GoalType.MINIMIZE.
        startPoint - Start point for optimization.
        maxEval - Maximum number of function evaluations.
        Returns:
        the point/value pair giving the optimal value for objective function.
        Throws:
        DimensionMismatchException - if the start point dimension is wrong.
        TooManyEvaluationsException - if the maximal number of evaluations is exceeded.
        NullArgumentException - if any argument is null.