![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Configuration for N-dimensional optimization with optional bounds. Bounds are passed separately as math_Vector for flexibility. More...
#include <MathUtils_Config.hxx>

Public Member Functions | |
| 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 | |
| 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 N-dimensional optimization with optional bounds. Bounds are passed separately as math_Vector for flexibility.
|
default |
Default constructor.
|
inlineexplicit |
Constructor with tolerance.
| theTolerance | convergence tolerance |
| theMaxIter | maximum iterations |
| theUseBounds | whether to use bounds |