Pallas Solver
0.1
C++ Global Optimization Algorithms
|
Minimizes an objective function by continuously evolving a population of candidate solutions. More...
#include <differential_evolution.h>
Classes | |
struct | HistoryOutput |
Stores information about the state of the system for at a given iteration number. More... | |
struct | Options |
struct | Summary |
Contains a summary of the optimization. More... | |
Public Member Functions | |
DifferentialEvolution () | |
Default constructor. | |
void | Solve (const DifferentialEvolution::Options &options, const GradientProblem &problem, double *parameters, DifferentialEvolution::Summary *global_summary) |
Minimizes the specified gradient problem. More... | |
Minimizes an objective function by continuously evolving a population of candidate solutions.
Example
void pallas::DifferentialEvolution::Solve | ( | const DifferentialEvolution::Options & | options, |
const GradientProblem & | problem, | ||
double * | parameters, | ||
DifferentialEvolution::Summary * | global_summary | ||
) |
Minimizes the specified gradient problem.
The specified options are used to setup a differential evolution instance which is then used to minimize the GradientProblem. The optimal solution is stored in parameters
and a summary of the global optimization can be found in summary
.
options | pallas::DifferentialEvolution::Options. Options used to configure the optimization. |
problem | pallas::GradientProblem. The problem to optimize. |
parameters | double*. The starting point for further optimization. |
summary | DifferentialEvolution::Summary*. Summary instance to store the optimization details. |