SG++-Doxygen-Documentation
sgpp::optimization::test_problems::G13 Class Reference

G13 constrained test problem. More...

#include <G13.hpp>

Inheritance diagram for sgpp::optimization::test_problems::G13:
sgpp::optimization::test_problems::ConstrainedTestProblem

Public Member Functions

 G13 ()
 Constructor. More...
 
TestVectorFunctiongetEqualityConstraintFunction () override
 
TestVectorFunctiongetInequalityConstraintFunction () override
 
TestScalarFunctiongetObjectiveFunction () override
 
double getOptimalPointUndisplaced (base::DataVector &x) override
 
 ~G13 () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::optimization::test_problems::ConstrainedTestProblem
 ConstrainedTestProblem (size_t d)
 Constructor. More...
 
void generateDisplacement ()
 Generate normally distributed pseudorandom displacement with default standard deviation. More...
 
void generateDisplacement (double stdDev)
 Generate normally distributed pseudorandom displacement. More...
 
const base::DataVectorgetDisplacement () const
 
double getOptimalPoint (base::DataVector &x)
 Returns the minimal point of the displaced function. More...
 
void setDisplacement (const base::DataVector &displacement)
 Returns the displacement vector. More...
 
virtual ~ConstrainedTestProblem ()
 Destructor. More...
 

Protected Attributes

G13Objective f
 objective function More...
 
G13InequalityConstraint g
 inequality constraint function More...
 
G13EqualityConstraint h
 equality constraint function More...
 
- Protected Attributes inherited from sgpp::optimization::test_problems::ConstrainedTestProblem
size_t d
 number of parameters More...
 
base::DataVector displacement
 displacement vector More...
 

Additional Inherited Members

- Static Public Attributes inherited from sgpp::optimization::test_problems::ConstrainedTestProblem
static constexpr double DEFAULT_STANDARD_DEVIATION = 0.01
 default standard deviation for the displacement vector More...
 
- Protected Member Functions inherited from sgpp::optimization::test_problems::ConstrainedTestProblem
virtual bool isDisplacementFeasible ()
 Checks if the current displacement is ok for the specific objective function. More...
 

Detailed Description

G13 constrained test problem.

  • Number of parameters: 5
  • Number of inequality constraints: 0
  • Number of equality constraints: 3
  • Domain: \(\bar{\vec{x}} \in [-2.3, 2.3]^2 \times [-3.2, 3.2]^3\)
  • Optimal point: \(\bar{\vec{x}}_{\text{opt}} = (-1.717143, 1.595709, 1.827247, -0.7636413, -0.7636446)\)
  • Optimal function value: \(\bar{f}(\bar{\vec{x}}_{\text{opt}}) = 0.05394991\)

Constructor & Destructor Documentation

sgpp::optimization::test_problems::G13::G13 ( )

Constructor.

sgpp::optimization::test_problems::G13::~G13 ( )
override

Destructor.

Member Function Documentation

TestVectorFunction & sgpp::optimization::test_problems::G13::getEqualityConstraintFunction ( )
overridevirtual
Returns
equality constraint function of the test problem

Implements sgpp::optimization::test_problems::ConstrainedTestProblem.

References h.

TestVectorFunction & sgpp::optimization::test_problems::G13::getInequalityConstraintFunction ( )
overridevirtual
Returns
inequality function of the test problem

Implements sgpp::optimization::test_problems::ConstrainedTestProblem.

References g.

TestScalarFunction & sgpp::optimization::test_problems::G13::getObjectiveFunction ( )
overridevirtual
Returns
objective function of the test problem

Implements sgpp::optimization::test_problems::ConstrainedTestProblem.

References f.

double sgpp::optimization::test_problems::G13::getOptimalPointUndisplaced ( base::DataVector x)
overridevirtual
Parameters
[out]xminimal point \(\vec{x}_\opt \in [0, 1]^d\)
Returns
minimal function value \(f(\vec{x}_\opt)\)

Implements sgpp::optimization::test_problems::ConstrainedTestProblem.

Member Data Documentation

G13Objective sgpp::optimization::test_problems::G13::f
protected

objective function

Referenced by getObjectiveFunction().

G13InequalityConstraint sgpp::optimization::test_problems::G13::g
protected

inequality constraint function

Referenced by getInequalityConstraintFunction().

G13EqualityConstraint sgpp::optimization::test_problems::G13::h
protected

equality constraint function

Referenced by getEqualityConstraintFunction().


The documentation for this class was generated from the following files: