MAiNGO
babBase::Bounds Struct Reference

Auxiliary struct for representing bounds on an optimization variable. More...

#include <babBounds.h>

Public Member Functions

 Bounds (const double lowerIn, const double upperIn)
 Constructor. More...
 
bool are_consistent () const
 Function for querying whether the lower bound is less than or equal to the upper bound. More...
 

Public Attributes

double lower
 
double upper
 

Detailed Description

Auxiliary struct for representing bounds on an optimization variable.

Constructor & Destructor Documentation

◆ Bounds()

babBase::Bounds::Bounds ( const double  lowerIn,
const double  upperIn 
)
inline

Constructor.

Parameters
[in]lowerInis the specified lower bound on the optimization variable
[in]upperInis the specified upper bound on the optimization variable

Member Function Documentation

◆ are_consistent()

bool babBase::Bounds::are_consistent ( ) const
inline

Function for querying whether the lower bound is less than or equal to the upper bound.

Member Data Documentation

◆ lower

double babBase::Bounds::lower

Lower bound on the optimization variable

◆ upper

double babBase::Bounds::upper

Upper bound on the optimization variable


The documentation for this struct was generated from the following file: