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

G10 constrained test problem. More...

#include <G10.hpp>

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

Public Member Functions

 G10 ()
 Constructor. More...
 
TestVectorFunctiongetEqualityConstraintFunction () override
 
TestVectorFunctiongetInequalityConstraintFunction () override
 
TestScalarFunctiongetObjectiveFunction () override
 
double getOptimalPointUndisplaced (base::DataVector &x) override
 
 ~G10 () 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

G10Objective f
 objective function More...
 
G10InequalityConstraint g
 inequality constraint function More...
 
G10EqualityConstraint 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

G10 constrained test problem.

  • Number of parameters: 8
  • Number of inequality constraints: 6
  • Number of equality constraints: 0
  • Domain: \(\bar{\vec{x}} \in [10^2, 10^4] \times [10^3, 10^4]^2 \times [10, 10^3]^5\)
  • Optimal point: \(\bar{\vec{x}}_{\text{opt}} = (579.3167, 1359.943, 5110.071, 182.0174, 295.5985, 217.9799, 286.4162, 395.5979)\)
  • Optimal function value: \(\bar{f}(\bar{\vec{x}}_{\text{opt}}) = 7049.331\)

Constructor & Destructor Documentation

◆ G10()

sgpp::optimization::test_problems::G10::G10 ( )

Constructor.

◆ ~G10()

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

Destructor.

Member Function Documentation

◆ getEqualityConstraintFunction()

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

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

References h.

◆ getInequalityConstraintFunction()

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

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

References g.

◆ getObjectiveFunction()

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

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

References f.

◆ getOptimalPointUndisplaced()

double sgpp::optimization::test_problems::G10::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

◆ f

G10Objective sgpp::optimization::test_problems::G10::f
protected

objective function

Referenced by getObjectiveFunction().

◆ g

G10InequalityConstraint sgpp::optimization::test_problems::G10::g
protected

inequality constraint function

Referenced by getInequalityConstraintFunction().

◆ h

G10EqualityConstraint sgpp::optimization::test_problems::G10::h
protected

equality constraint function

Referenced by getEqualityConstraintFunction().


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