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

G04 inequality constraint function. More...

#include <G04.hpp>

Inheritance diagram for sgpp::optimization::test_problems::G04InequalityConstraint:
sgpp::optimization::test_problems::TestVectorFunction sgpp::optimization::VectorFunction

Public Member Functions

void clone (std::unique_ptr< VectorFunction > &clone) const override
 
void evalUndisplaced (const base::DataVector &x, base::DataVector &value) override
 
 G04InequalityConstraint ()
 Constructor. More...
 
 ~G04InequalityConstraint () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::optimization::test_problems::TestVectorFunction
void eval (const base::DataVector &x, base::DataVector &value) override
 Evaluate displaced function. More...
 
const base::DataVectorgetDisplacement () const
 
void setDisplacement (const base::DataVector &displacement)
 
 TestVectorFunction (size_t d, size_t m)
 Constructor. More...
 
 ~TestVectorFunction () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::optimization::VectorFunction
size_t getNumberOfComponents () const
 
size_t getNumberOfParameters () const
 
 VectorFunction (size_t d, size_t m)
 Constructor. More...
 
virtual ~VectorFunction ()
 Destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from sgpp::optimization::test_problems::TestVectorFunction
base::DataVector displacement
 displacement vector More...
 
base::DataVector xTmp
 temporary vector for displacing More...
 
- Protected Attributes inherited from sgpp::optimization::VectorFunction
size_t d
 dimension of the domain More...
 
size_t m
 number of components More...
 

Detailed Description

G04 inequality constraint function.

Definition:

\[\bar{\vec{g}}(\bar{\vec{x}}) := \begin{pmatrix} 85.334407 + 0.0056858 \bar{x}_2 \bar{x}_5 + 0.0006262 \bar{x}_1 \bar{x}_4 - 0.0022053 \bar{x}_3 \bar{x}_5 - 92\\ -85.334407 - 0.0056858 \bar{x}_2 \bar{x}_5 - 0.0006262 \bar{x}_1 \bar{x}_4 + 0.0022053 \bar{x}_3 \bar{x}_5\\ 80.51249 + 0.0071317 \bar{x}_2 \bar{x}_5 + 0.0029955 \bar{x}_1 \bar{x}_2 + 0.0021813 \bar{x}_3^2 - 110\\ -80.51249 - 0.0071317 \bar{x}_2 \bar{x}_5 - 0.0029955 \bar{x}_1 \bar{x}_2 - 0.0021813 \bar{x}_3^2 + 90\\ 9.300961 + 0.0047026 \bar{x}_3 \bar{x}_5 + 0.0012547 \bar{x}_1 \bar{x}_3 + 0.0019085 \bar{x}_3 \bar{x}_4 - 25\\ -9.300961 - 0.0047026 \bar{x}_3 \bar{x}_5 - 0.0012547 \bar{x}_1 \bar{x}_3 - 0.0019085 \bar{x}_3 \bar{x}_4 + 20 \end{pmatrix}\]

Constructor & Destructor Documentation

◆ G04InequalityConstraint()

sgpp::optimization::test_problems::G04InequalityConstraint::G04InequalityConstraint ( )

Constructor.

Referenced by clone().

◆ ~G04InequalityConstraint()

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

Destructor.

Member Function Documentation

◆ clone()

void sgpp::optimization::test_problems::G04InequalityConstraint::clone ( std::unique_ptr< VectorFunction > &  clone) const
overridevirtual
Parameters
[out]clonepointer to cloned object

Implements sgpp::optimization::VectorFunction.

References G04InequalityConstraint().

◆ evalUndisplaced()

void sgpp::optimization::test_problems::G04InequalityConstraint::evalUndisplaced ( const base::DataVector x,
base::DataVector value 
)
overridevirtual
Parameters
xpoint \(\vec{x} \in \mathbb{R}^d\)
[out]value\(\vec{f}(\vec{x})\)

Implements sgpp::optimization::test_problems::TestVectorFunction.


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