Interface DifferentiableMultivariateRealOptimizer

    • Method Detail

      • setMaxIterations

        void setMaxIterations​(int maxIterations)
        Set the maximal number of iterations of the algorithm.
        Parameters:
        maxIterations - maximal number of function calls
      • getMaxIterations

        int getMaxIterations()
        Get the maximal number of iterations of the algorithm.
        Returns:
        maximal number of iterations
      • getIterations

        int getIterations()
        Get the number of iterations realized by the algorithm.

        The number of evaluations corresponds to the last call to the optimize method. It is 0 if the method has not been called yet.

        Returns:
        number of iterations
      • setMaxEvaluations

        void setMaxEvaluations​(int maxEvaluations)
        Set the maximal number of functions evaluations.
        Parameters:
        maxEvaluations - maximal number of function evaluations
      • getMaxEvaluations

        int getMaxEvaluations()
        Get the maximal number of functions evaluations.
        Returns:
        maximal number of functions evaluations
      • getEvaluations

        int getEvaluations()
        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.

        Returns:
        number of evaluations of the objective function
      • getGradientEvaluations

        int getGradientEvaluations()
        Get the number of evaluations of the objective function gradient.

        The number of evaluations corresponds to the last call to the optimize method. It is 0 if the method has not been called yet.

        Returns:
        number of evaluations of the objective function gradient
      • setConvergenceChecker

        void setConvergenceChecker​(RealConvergenceChecker checker)
        Set the convergence checker.
        Parameters:
        checker - object to use to check for convergence
      • getConvergenceChecker

        RealConvergenceChecker getConvergenceChecker()
        Get the convergence checker.
        Returns:
        object used to check for convergence