Class MultivariateOptimizer

    • Constructor Detail

      • MultivariateOptimizer

        protected MultivariateOptimizer​(ConvergenceChecker<PointValuePair> checker)
        Simple constructor.
        Parameters:
        checker - Convergence checker.
    • Method Detail

      • getGoalType

        public GoalType getGoalType()
        Get optimization type.
        Returns:
        the optimization type.
      • computeObjectiveValue

        public double computeObjectiveValue​(double[] params)
        Computes the objective function value. This method must be called by subclasses to enforce the evaluation counter limit.
        Parameters:
        params - Point at which the objective function must be evaluated.
        Returns:
        the objective function value at the specified point.
        Throws:
        MathIllegalStateException - if the maximal number of evaluations is exceeded.