To access default optimization algorithms easily, we have defined an OptimizerFactory class. It allows to specify an optimization algorithm by an ID number and mainly takes a problem class and an optional output file as input. For example, if you have a doublevalued problem class and just want to retrieve one solution, use the optimizeToDouble(final int optType, AbstractOptimizationProblem problem, String outputFilePrefix) method, which returns the solution as a double vector.
Table 1 gives an overview over the currently accessible optimization strategies. You may use showOptimizers() to get a string with a summary of the implemented algorithms with ID associations. A short example is shown in Listing 5, where PSO is used to optimize the simple hyper parabola (in 10 dimensions by default). The PSO with evaluations should find a solution very close to zero, e.g. absolutely below in every dimension.
