![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Configuration for global optimization. More...
#include <MathOpt_GlobOpt.hxx>

Public Member Functions | |
| GlobalConfig () | |
| Default constructor. | |
| GlobalConfig (GlobalStrategy theStrategy, int theMaxIter=200) | |
| Constructor with strategy. | |
Public Member Functions inherited from MathUtils::NDimConfig | |
| NDimConfig ()=default | |
| Default constructor. | |
| NDimConfig (double theTolerance, int theMaxIter=100, bool theUseBounds=false) | |
| Constructor with tolerance. | |
Public Member Functions inherited from MathUtils::Config | |
| Config ()=default | |
| Default constructor with standard tolerances. | |
| Config (double theTolerance, int theMaxIter=100) | |
| Constructor with custom tolerance (sets all tolerances to same value). | |
Data Fields | |
| GlobalStrategy | Strategy = GlobalStrategy::PSOHybrid |
| Algorithm to use. | |
| int | NbPopulation = 40 |
| Population/swarm size. | |
| int | NbStarts = 10 |
| Number of random starts (for MultiStart) | |
| double | MutationScale = 0.8 |
| Mutation scale (for DE) | |
| double | CrossoverProb = 0.9 |
| Crossover probability (for DE) | |
| unsigned int | Seed = 6 |
| Random seed. | |
| int | PolishBudgetPerDim = 50 |
| Max polishing evals per dimension (0 = no polishing) | |
Data Fields inherited from MathUtils::NDimConfig | |
| bool | UseBounds = false |
| Whether to enforce bounds during optimization. | |
Data Fields inherited from MathUtils::Config | |
| int | MaxIterations = 100 |
| Maximum number of iterations allowed. | |
| double | Tolerance = 1.0e-10 |
| General convergence tolerance. | |
| double | XTolerance = 1.0e-10 |
| Tolerance for solution change |x_{n+1} - x_n|. | |
| double | FTolerance = 1.0e-10 |
| Tolerance for function value |f(x)|. | |
| double | StepMin = std::numeric_limits<double>::epsilon() |
| Minimum step size before declaring convergence or failure. | |
Configuration for global optimization.
|
inline |
Default constructor.
|
inline |
Constructor with strategy.
| double MathOpt::GlobalConfig::CrossoverProb = 0.9 |
Crossover probability (for DE)
| double MathOpt::GlobalConfig::MutationScale = 0.8 |
Mutation scale (for DE)
| int MathOpt::GlobalConfig::NbPopulation = 40 |
Population/swarm size.
| int MathOpt::GlobalConfig::NbStarts = 10 |
Number of random starts (for MultiStart)
| int MathOpt::GlobalConfig::PolishBudgetPerDim = 50 |
Max polishing evals per dimension (0 = no polishing)
| GlobalStrategy MathOpt::GlobalConfig::Strategy = GlobalStrategy::PSOHybrid |
Algorithm to use.