SG++-Doxygen-Documentation
|
Abstract class for solving constrained optimization problems. More...
#include <ConstrainedOptimizer.hpp>
Protected Attributes | |
std::unique_ptr< VectorFunction > | g |
inequality constraint function More... | |
std::unique_ptr< VectorFunction > | h |
equality constraint function More... | |
Protected Attributes inherited from sgpp::optimization::optimizer::UnconstrainedOptimizer | |
std::unique_ptr< ScalarFunction > | f |
objective function More... | |
base::DataVector | fHist |
search history vector (optimal values) More... | |
double | fOpt |
result of optimization (optimal function value) More... | |
size_t | N |
maximal number of iterations or function evaluations More... | |
base::DataVector | x0 |
starting point More... | |
base::DataMatrix | xHist |
search history matrix (optimal points) More... | |
base::DataVector | xOpt |
result of optimization (location of optimum) More... | |
Additional Inherited Members | |
Static Public Attributes inherited from sgpp::optimization::optimizer::UnconstrainedOptimizer | |
static const size_t | DEFAULT_N = 1000 |
default maximal number of iterations or function evaluations More... | |
Abstract class for solving constrained optimization problems.
|
inline |
Constructor.
The starting point is set to \((0.5, \dotsc, 0.5)^{\mathrm{T}}\). Depending on the implementation $g$ and/or $h$ may be ignored (if only equality or inequality constraints can be handled by the underlying algorithm).
f | function to optimize |
g | inequality constraint function ( \(g(\vec{x}) \le 0\)) |
h | equality constraint function ( \(h(\vec{x}) = 0\)) |
N | maximal number of iterations or objective function evaluations (depending on the implementation) |
References sgpp::optimization::VectorFunction::clone().
|
inline |
|
inlineoverride |
Destructor.
|
inline |
References h.
|
inline |
References g.
|
protected |
inequality constraint function
Referenced by ConstrainedOptimizer(), sgpp::optimization::optimizer::AugmentedLagrangian::findFeasiblePoint(), getInequalityConstraintFunction(), sgpp::optimization::optimizer::LogBarrier::optimize(), sgpp::optimization::optimizer::SquaredPenalty::optimize(), and sgpp::optimization::optimizer::AugmentedLagrangian::optimize().
|
protected |