Class BaseAbstractMultivariateOptimizer<FUNC extends MultivariateFunction>

    • Field Detail

      • evaluations

        protected final Incrementor evaluations
        Deprecated.
        Evaluations counter.
    • Constructor Detail

      • BaseAbstractMultivariateOptimizer

        @Deprecated
        protected BaseAbstractMultivariateOptimizer()
        Deprecated.
        Simple constructor with default settings. The convergence check is set to a SimpleValueChecker.
      • BaseAbstractMultivariateOptimizer

        protected BaseAbstractMultivariateOptimizer​(ConvergenceChecker<PointValuePair> checker)
        Deprecated.
        Parameters:
        checker - Convergence checker.
    • Method Detail

      • getEvaluations

        public int getEvaluations()
        Deprecated.
        Get the number of evaluations of the objective function. The number of evaluations corresponds to the last call to the optimize method. It is 0 if the method has not been called yet.
        Specified by:
        getEvaluations in interface BaseOptimizer<FUNC extends MultivariateFunction>
        Returns:
        the number of evaluations of the objective function.
      • computeObjectiveValue

        protected double computeObjectiveValue​(double[] point)
        Deprecated.
        Compute the objective function value.
        Parameters:
        point - Point at which the objective function must be evaluated.
        Returns:
        the objective function value at the specified point.
        Throws:
        TooManyEvaluationsException - if the maximal number of evaluations is exceeded.
      • optimize

        public PointValuePair optimize​(int maxEval,
                                       FUNC f,
                                       GoalType goalType,
                                       OptimizationData... optData)
        Deprecated.
        Optimize an objective function.
        Parameters:
        maxEval - Allowed number of evaluations of the objective function.
        f - Objective function.
        goalType - Optimization type.
        optData - Optimization data. The following data will be looked for:
        Returns:
        the point/value pair giving the optimal value of the objective function.
        Since:
        3.1
      • optimizeInternal

        protected PointValuePair optimizeInternal​(int maxEval,
                                                  FUNC f,
                                                  GoalType goalType,
                                                  OptimizationData... optData)
                                           throws TooManyEvaluationsException
        Deprecated.
        Optimize an objective function.
        Parameters:
        maxEval - Allowed number of evaluations of the objective function.
        f - Objective function.
        goalType - Optimization type.
        optData - Optimization data. The following data will be looked for:
        Returns:
        the point/value pair giving the optimal value of the objective function.
        Throws:
        TooManyEvaluationsException - if the maximal number of evaluations is exceeded.
        Since:
        3.1
      • getGoalType

        public GoalType getGoalType()
        Deprecated.
        Returns:
        the optimization type.
      • getStartPoint

        public double[] getStartPoint()
        Deprecated.
        Returns:
        the initial guess.
      • getLowerBound

        public double[] getLowerBound()
        Deprecated.
        Returns:
        the lower bounds.
        Since:
        3.1
      • getUpperBound

        public double[] getUpperBound()
        Deprecated.
        Returns:
        the upper bounds.
        Since:
        3.1
      • doOptimize

        protected abstract PointValuePair doOptimize()
        Deprecated.
        Perform the bulk of the optimization algorithm.
        Returns:
        the point/value pair giving the optimal value of the objective function.