41 Bounds(
const double lowerIn,
const double upperIn):
65 os <<
"Lower:" << b.
lower <<
" , Upper:" << b.
upper;
std::ostream & operator<<(std::ostream &os, const Bounds &b)
Overloaded outstream operator for nicer output.
Definition: babBounds.h:63
Auxiliary struct for representing bounds on an optimization variable.
Definition: babBounds.h:32
namespace holding all essentials of the babBase submodule
bool operator==(const Bounds &b1, const Bounds &b2)
Equality operator for checking if two bound objects are equal.
Definition: babBounds.h:76
double lower
Definition: babBounds.h:52
Bounds(const double lowerIn, const double upperIn)
Constructor.
Definition: babBounds.h:41
double upper
Definition: babBounds.h:53
bool are_consistent() const
Function for querying whether the lower bound is less than or equal to the upper bound.
Definition: babBounds.h:47
bool operator!=(const Bounds &b1, const Bounds &b2)
Inequality operator for checking if two bound objects differ from each other.
Definition: babBounds.h:88