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

Soland constrained test problem. More...

#include <Soland.hpp>

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

Public Member Functions

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

SolandObjective f
 objective function More...
 
SolandInequalityConstraint g
 inequality constraint function More...
 
SolandEqualityConstraint 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

Soland constrained test problem.

  • Number of parameters: 2
  • Number of inequality constraints: 0
  • Number of equality constraints: 1
  • Domain: \(\bar{\vec{x}} \in [0, 2] \times [0, 3]\)
  • Optimal point: \(\bar{\vec{x}}_{\text{opt}} = (0.7175362, 1.469842)\)
  • Optimal function value: \(\bar{f}(\bar{\vec{x}}_{\text{opt}}) = -16.73889\)

Constructor & Destructor Documentation

◆ Soland()

sgpp::optimization::test_problems::Soland::Soland ( )

Constructor.

◆ ~Soland()

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

Destructor.

Member Function Documentation

◆ getEqualityConstraintFunction()

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

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

References h.

◆ getInequalityConstraintFunction()

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

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

References g.

◆ getObjectiveFunction()

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

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

References f.

◆ getOptimalPointUndisplaced()

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

SolandObjective sgpp::optimization::test_problems::Soland::f
protected

objective function

Referenced by getObjectiveFunction().

◆ g

SolandInequalityConstraint sgpp::optimization::test_problems::Soland::g
protected

inequality constraint function

Referenced by getInequalityConstraintFunction().

◆ h

SolandEqualityConstraint sgpp::optimization::test_problems::Soland::h
protected

equality constraint function

Referenced by getEqualityConstraintFunction().


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