Class AbstractOptimizationProblem<P>

  • Type Parameters:
    P - Type of the point/value pair returned by the optimization algorithm.
    All Implemented Interfaces:

    public abstract class AbstractOptimizationProblem<P>
    extends Object
    implements OptimizationProblem<P>
    Base class for implementing optimization problems. It contains the boiler-plate code for counting the number of evaluations of the objective function and the number of iterations of the algorithm, and storing the convergence checker.
    • Constructor Detail

      • AbstractOptimizationProblem

        protected AbstractOptimizationProblem​(int maxEvaluations,
                                              int maxIterations,
                                              ConvergenceChecker<P> checker)
        Create an AbstractOptimizationProblem from the given data.
        maxEvaluations - the number of allowed model function evaluations.
        maxIterations - the number of allowed iterations.
        checker - the convergence checker.